My vi always overwrite on the same file

Hi,
My vi filled an array inside a loop, and when it is ended then he have to record the array in a lvm file. My problem is that it always overwrite on the same file instead of increment its name as confirured in the 'Record Main.vi' 
simplified "Rempli_Global_Vol_Tot.vi' :
Peter.
Labview 2010
Solved!
Go to Solution.
Attachments:
Record_Main.vi ‏59 KB
Rempli_Global_Vol_Tot.vi ‏44 KB

Peter,
your Record Main.vi contains the ExpressVI Write To Measurement File. This is configured to a static file (C:\Users\Escape\Dropbox\Débit_Mesuré.lvm). Since you are not writing anything to the file using this VI, but only ask for the file path, it is no surprise that you will always get the same file over and over again.
Suggestion:
- Use the Write To Measurement File to write the data.
- Replace Write To Measurement File with code which returns unique file names.
- Possibly (not tested) it is sufficient to add a boolean constant to "Reset" of the Write To Measurement File and set it to "TRUE" (default is FALSE).
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Overwrite on the same sector of the file

    How i can overwrite on the same sector of file?

    yes you are right. i think i asked my question in wrong way.
    i want to overwrite the file for that i want to write on the same sector of harddisk where file is exist.
    i think it is more clear to you

  • Opening duplicate copies of the same File in CS4

    Hi
    I have recently upgraded some of my customers from CS3 to CS4 and I have noticed that when I open a document that was last opened in CS3 i can open the file more than once and they get listed as tabs. If i make changes to the the first open document and save it, the changes do not effect the other open copies of the file.
    however once i have saved the file in CS4, if i try and open the document again it simple brings up the already open file in Indesign.
    Is their any way I can make this the default behaviour for all documents, as a number of my clients have complained that they have accidentally opened the file more than once and they save the document and close it down and when they close the duplicate copies down and click save it overwrites all the work previously done.
    Thanks
    Nick.

    I'm not sure what you want to change the default behavior to, but I'm pretty sure there's no way to change it. This is no different than the way previous versions opened old-version files, except that CS4 shows you the multiple, same-named files as tabs instead of as separate windows. If you want ID to behave exactly as it did in previous versions, you can turn off the tabs in preferences (Edit > Preferences > Interface > Open documents as tabs).
    Why do you want to open multiple copies of the same file? If you're converting from CS3 to CS4, why not just open the CS3 file and Save As to a new name?
    Keep in mind that CS4 H&Js slightly differently than CS3. You can expect to see some minor text re-wrap going from CS3 to CS4 (but not until you start editing a story). It's always a good idea to finish CS3 jobs in CS3, start new jobs in CS4.
    Ken

  • When saving a File OS Is Creating Multiple Folders With The Same File Name

    Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what appears to be files locating the saved files. What can I do to fix this problem?
    I'm using the 10.7.2 version
    MacBook Pro

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • Mac on Windows SMB Share- IDLK files disappearing allowing several users to access the same file

    Hi,
    We have a volume licensing agreement with Adobe and have around 16 Adobe CS6 licenses all used on Macs. The network is based around Windows servers and shares which the Macs connect to via an SMB connection to the server. The issue we're having is that when an InDesign file is opened, sometimes it will not create an IDLK file (or sometimes it will create one but it will disappear seconds later) and it allows several people to view the same file at the same time. Obviously two or more people working on the same file can, will and has caused issues with overwriting documents without knowledge of doing so.
    Has anyone else encountered this or have any ideas as to what might help us resolve this issue?
    Thanks

    When you open a file from a previous version (you'll see converted in
    the file name) there is no CS6 file in existence, yet. Once the file is
    saved as a CS6 file, the lock file is created. The whole procedure is
    designed so that you must make a fully conscious decision to overwrite
    the old version file with a new one.
    This is no different than creating a new document that hasn't been saved
    yet.

  • Is it a known but that the outgoing SMTP user ID is always set to the same as the incoming even when set differently?

    I'm trying to figure out where to report this: I keep noticing that when I setup a new account and I set the incoming and outgoing user names differently, the outgoing one never is honoured; it always sets it the same as the incoming one and I have to manually go into the outgoing settings to change it. Just wondered if this was known, thought it might be worth reporting.

    please file a bug in [https://bugzilla.mozilla.org/ Bugzilla].
    I can not see this one listed, but it looks to me like the behavior may well have been introduced with [https://bugzilla.mozilla.org/show_bug.cgi?id=883670 Bug 8396652]
    Please post a link here to the bug, so I can follow along.

  • Linking Questions cs5: Linking within the Same file, Sharing links, file size bloat

    I have to make print cards for my job. Print cards being a 1 page version of the Larger package layout that the place I work manufactures. On this print card is a section for customer info on top, and the print representation on the bottom. What I've been doing is using two files. The first file is the full-scale art on one artboard, and the customer info on the second artboard, but both within one file.
      On the second file, I combine the two. I still use two artboard because it's a front and back print-off. The front page (1st art board, 2nd file), is the customer info at the top (linked from the 2 art board, 1st file) and the full art shrunk to fit below (also linked).  the back page (2nd art board, 2nd file) is the individual elements of the artwork, zoomed in for easier viewing. For the second page, I use masked links from the fullsize art, sized appropriately. The reason it's important that they all use links, is so if I update the art, it will update the print cards as well.
      I've been trying to stream-line this process. This works ok, but the numerous links bloat the file size, and I have to email these to customers. I've started using "Flatten Transparency" on all my Print cards (2nd file) and saving it as a separate .pdf. This cuts out the links, but then all of my masked images are hiding the whole original file behind their mask. So then I started manually cropping each individual masked area, which helps, but once I've gone through this whole process, I don't think I've saved any of the time my template was supposed to save.
    file://localhost/Users/troubleinthemaking/Desktop/PRINT%20MINI%20EXAMPLE.pdf
      My questions are these:
    Is there any way to link to elements within the same file? Like from a different artboard?
      I've successfully 'Placed' an artboard from the same file, back into that file (but a different artboard), but this creates a never-ending Save/Update loop. I'd like a better way to do this.
    Is there a way to have all instances of a linked file, draw from the same place? i.e. When you update a single link, all instances of that Link would update. plus this would, in theory, cut down on the file size.
    Is there any way to automatically have every masked link crop itself after using the flatten transparency command?
      Even if I had to select them first. I haven't had any luck selecting them all and then using the pathfinder crop tool. I've had to do each one individually.
    I know this last one can't really be answered without seeing everything on my machine. I don't even know what info I'd need to give...
    WHY MY FILE SIZE SO BIG!
    Thanks ahead of time.
    -Jefferson

    Jefferson:
    There's a few things you can do to make your files smaller, such as using the Action "Delete All Unused Panel Items" which will removed all unused Symbols, Graphic Styles, Brushes and Swatches from your Illustrator files. Those little items add up to bloating a file.
    You also need to examine the images that you place into your Illustrator file. Any unnecessary layers or channels? Can the files be flattened before being placed in Illustrator? You can always keep a "working" Photoshop file of all that extra goobledeegook and then flatten the file and do a "Save As" and place that in the Illustrator file. And that could be a Photoshop EPS saved with a TIFF Preview and JPEG Encoding (Maximum Quality), which will save some MBs.
    But, you should never sacrifice file size for quality. If these files are going to print, you should be using an FTP program to transfer the files and not email them. Email should not be used for files over 5 MB. If all you want to do is send the customer a Low Resolution PDF Proof for approval via Email, that's fine and dandy, but send the final large size files to the Printer via FTP.

  • Master is always switching between the same two members.

    Hi all,
    We have observed that our replicated environment, is always switching between the same two members even though there are other members with more cpu power.
    As said on message {message:id=4169549}: "+In the event of a tie, an arbitrary, but predictable attribute is used to break the tie. In the current release, that tie breaker is an implementation artifact, and is not available through the public API.+"
    I know the availability of "je.rep.node.priority" property but, is it possible to set a custom tie breaker or add some king of randomness to the default tie breaker?
    BR,
    /César.
    Edited by: Cesar Alvarez on 04-jul-2011 18:05

    Cesar,
    No, currently there is no way for the application to influence the election, except through the use of je.rep.node.priority. However, is it possible to use node priority to achieve your goals? If use a positive priority value for all nodes (and avoid using zero), elections would make this choice:
    - first consider nodes with most recent log files as master candidates
    - node priority used as a tie for those most-recent nodes.
    Since node priority is mutable, you could even change the node priority randomly on each node, which is rather awkward, but would work.
    Out of curiosity, could you tell us your motivation for injecting some randomness into the master selection? We understand that some nodes have more resources and should be higher priority, but have not thought about why randomness would be useful.
    Linda

  • 2 SD cards with the same file numbers

    How do I burn 2 SD cards with the same file numbers. Always says do I want to replace photo with the same number.

    Welcome to the Apple Discussions. Rename one set of photos by renaming them in iPhoto with the Photos ➙ Batch Change ➙ Title to Text menu option and then export to the Desktop with the option to use the Title as the new file name.
    Or, put one each set of photos in their own folder and put the two folders on the memory card.
    Happy Holidays

  • Why are ACR PSD files 10-20 percent larger than the same file resaved in PSD?

    Why are ACR > PSD files 10-20 percent larger than the same file resaved in PSD? I posted this many years ago and never found an answer. Now that my drives fill up quicker, I thought I might chase this question a little bit further.
    Same .CR2 saved within ACR either with cmd-R or open ACR within PSD, the saved file is 34.5mb. Resave that same file (no edits) within PSD either with or without Max-compatible and the file is now 30.7mb. Another file that is 24.5 becomes 19.5MB.
    Why the difference? Is ACR and PSD actually using different compression strategies?
    thanks.
    Mac 10.8.5 / CC / ACR 8.4.1 - but this has been a consistent behavior over many years and versions, CS6 / CC.
    Same .CR2 saved within ACR either with cmd-R or open ACR within PSD, the saved file is 34.5mb. Resave that same file (no edits) within PSD either with or without Max-compatible and the file is now 30.7mb. Another file that is 24.5 becomes 19.5MB.

    Hi Jeff
    If it is RLE it's not as efficient as LZW:
    Saved ACR>PSD = 40.1MB  (sample image this AM)
    opened in PS and resaved as PSD = 30.8MB
    resaved as TIF without LZW = 40.1MB    (this adds to your thought that the ACR>PSD doesn't us any compression)
    resaved as TIF/LZW = 9.6MB
    Jeff Schewe wrote:
    I really think your priorities are a bit off. 10-20% is meaningless...you just need to get bigger....  and quit fussing over a few GB's here or there...
    ???   I hope that the Adobe engineers are fussing over 10-20% efficiencies.
    I'm within arms reach to a rack of 40TB of drives (doesn't include off-site drives), and all 2TB drives are being recycled to 4TB drives, as a result the rack is always growing. Actually the ACR>PSD files don't really make a difference in our long term storage, only for the nightly backups. But anyway, how you save, what you save etc. should all be part of the discussion.
    .... so in my case, throw in an excess MB here and there and all of a sudden you are talking TB's. Plus advantages in backup times, drive life, and energy use.
    Somebody added compression into the PS>PSD format, but it wasn't included in the ACR>PSD format, was it a decision or an oversight? If it's just a matter of making ACR compatible with PS when saving the same PSD format..... then why not?
    regards,
    j

  • Two dreamweavers accessing the same files

    I have two desktops, one with client files on its hard drive
    and shared. The other is mapped to that hard drive and uses the
    same drive letter. Both machines have Dreamweaver on them. When one
    desktop opens a job and builds pages, the other can also (at a
    different time of course) open the same file and make edits. At
    times, one of these machines will come back to a file, and its all
    screwed up. I thought it might have something to do with the latest
    version of Plugin Labs menu extension, but now I'm thinking it has
    something to do with Dreamweaver's handling of the files. Has
    anybody else experienced problems in a similar situation. I find
    myself constantly backing up entire site files to a zip folder just
    in case everything blows up when I open it. Problem is, sometimes
    one files is screwed up, and it overwrites the backed up
    one....can't win for trying sometimes.

    I do this ALL the time, and have never experienced your issue
    (Vista and
    XPPro - files on XPPro).
    I would also not touch anything from Plugin Labs.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Gadget1969" <[email protected]> wrote in
    message
    news:f85li7$jsj$[email protected]..
    >I have two desktops, one with client files on its hard
    drive and shared.
    >The
    > other is mapped to that hard drive and uses the same
    drive letter. Both
    > machines have Dreamweaver on them. When one desktop
    opens a job and builds
    > pages, the other can also (at a different time of
    course) open the same
    > file
    > and make edits. At times, one of these machines will
    come back to a file,
    > and
    > its all screwed up. I thought it might have something to
    do with the
    > latest
    > version of Plugin Labs menu extension, but now I'm
    thinking it has
    > something to
    > do with Dreamweaver's handling of the files. Has anybody
    else experienced
    > problems in a similar situation. I find myself
    constantly backing up
    > entire
    > site files to a zip folder just in case everything blows
    up when I open
    > it.
    > Problem is, sometimes one files is screwed up, and it
    overwrites the
    > backed up
    > one....can't win for trying sometimes.
    >

  • Repair Permissions keeps repairing the same files

    Whenever I repair permissions, I notice the same files are being repaired all the time. Is their a problem and how can I fix this?
    Thanks,
    Hattori Hanzo

    Hi, Hattori.
    This is not a probelm.
    The list of permission repairs is quite extensive under Tiger. This is due to the Repair Disk Permissions function forcing the specific permissions it reports, which is required due to the receipts of the affected files, most of which are Dashboard widgets. Most Dashboard widgets have specific permissions — ostensibly to avoid potential security problems with widgets — and Repair Disk Permissions will always set these to ensure they are enforced, whether or not they actually need repair.
    Whenever the message in Repair Disk Permissions states "We are using special permissions..." this means the permissions are being enforced, not that the permissions on that file were necessarily incorrect.
    Bottom line: you can ignore these "We are using special permissions...." messages. They will repeat whenever you run Repair Disk Permissions.
    For additional information, see "Disk Utility reports some messages that you can ignore when checking permissions ('33261')."
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • HT5192 I cant update my mibile always i got the same message. An error occurrd during updating and sime times cannot establish connection ?!!!!

    I cant update my mibile always i got the same message. An error occurrd during updating and sime times cannot establish connection ?!!!!

    Hi Martha Leal Tapia,
    Yes this issue was resolved. I had to add the below two parameters in the instance profile and continue the installation.
    icm/server_port_1 = PROT = P4, PORT = 5$(SAPSYSTEM)04, HOST = <full hostname as in the /etc/hosts file>
    icm/host_name_full=<full hostname as in the /etc/hosts file>
    Note 1158626 P4 connection to ICM on machine with multiple IPs fails.
    You can refer following SAPnote # 609603 for the above concepts although this refers to old release."
    Thanks and regards
    Ananth

  • Bridge CS4 always opens in the same folder

    Since I upgraded to Photoshop CS4, Bridge always opens in the same
    folder. It used to open up whatever folder I was working on last.
    There must be a setting somewhere to tell Bridge to open the last
    visited folder but I can't seem to find it. Any ideas?

    Thanks Curt. That helped. I do have Bridge set to automatically start with Windows. I thought that shutting down Windows would cause Bridge to remember the last visited folder since Bridge was closed but I need to right-click on the Bridge icon in the system tray and exit before shutting down Windows. At least now I know why this was happening!

  • Hello,  I have a strange file in my Users folder, named PortDetect.log I have no idea which app created it and it reappears when I delete it.  Has anyone got the same file? Or know where it may originate from?  Thanks in advance!

    Hello,
    I have a strange file in my Users folder, named PortDetect.log
    I have no idea which app created it and it reappears when I delete it.
    Has anyone got the same file? Or know where it may originate from?
    Thanks in advance!

    know where it may originate from?
    The Huawei wireless modem driver.

Maybe you are looking for

  • How do I get the activity bar back in Lion Mail 5.3

    I  tried installing mountain lion unsuccessfully over Lion on my 27" imac (16 gb RAM) i7 quad core, 2012 model.  I couldn't do anything to make it load.  It would say installation finished but upon startup the grey screen with rotating circle never q

  • Error in the UWL while approving the leave.

    Hi all,                     We configured the ESS business package.UWL is configured and the leave requests are coming into the UWLo of approver.But when he is trying to approve it is giving the error . URL http://hostname  of backend system: 8000/we

  • Bad URL Created by XML Report Wizard

    Hello all, I don't know if anyone else has run into or published this, but I thought I would as an FYI, and since I burned 90 minutes troubleshooting it. I used the Report Builder Wizard in shared components, built a query, exported to XML, built my

  • Ipod keeps resetting itself with folder and exclamation point.

    Well, I was listening to some music one day when my ipod just shut off on me. I reset it because it wont turn back on and it shows me the apple emblem and then a folder with an exclamation point and then shuts off. It will do this as long as I am wil

  • Best little App for Video Conversion

    Hey all just wanted to share something really nifty I found. Check out Versiontracker-dot-com and do a search for iSquint. Super sweet little App that lets you convert your videos clips into iTunes. A LOT faster than the tedious Quicktime route. Plus