LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write measurement file save to series bug?

I am running 2009 (Ver 9.0F2) Dev Suite.

 

I am trying to use the express vi write to measurement file with the save to series of file option.  I can set it up the way I want and click OK to close the setup.  But if I click the icon again to check the setup, the save to series of file option is not checked.  So for some reason it does not remember that setting.  So I opened the front panel of the vi and manually set set the save to series to True.

 

Well that works for the 1st time I save a file.  If I stop saving and try to start saving again I get an error about a bad file name.  I found a workaround here http://forums.ni.com/t5/LabVIEW/write-to-measurement-file-vi-bug/m-p/1018870.

 

So now I can stop/start files with no problem.  But now the 1st file I write has the name followed by the date and time, which is good.  But the next time I save a file I get the file name with no date or time, just sequential numbers (bad no date or time).

 

So is there a workaround for this?  It seems every few versions NI screws up the write to measurement file vi.  And of course I am stuck at this version.

 

Any help would be appreciated....

 

Bryan 

0 Kudos
Message 1 of 6
(3,687 Views)

The good news is that the CAR 192290 was fixed in LV 2010.  However, that won't help you if you can't upgrade past 2009.  But there is a 2009f3 patch available you can download.  LabVIEW Development System 2009 - Windows 2000/7/XP/Vista/Vista x64/7 64 bit - 2009 f3 Patch (32-bit...

 

However, your issue about saving to a series of files has a different CAR# associated with it, #179472 that was fixed with LV2009 service pack 1. LabVIEW 2009 Service Pack 1 Bug Fixes

 

But there is a workaround for it. See LabVIEW 2009 Known Issues. Search that webpage for 179472.

Message 2 of 6
(3,682 Views)

Is service pack 1 a free release?  I thought it was a service subscription only update.  I will try the F3 patch, I have to look if it was a free update though.

 

Thanks for the info.

0 Kudos
Message 3 of 6
(3,665 Views)

SP1 is a subscription only update. The f3 patch is free.

Message 4 of 6
(3,663 Views)

Sorry for taking back the solution, but I have a new question.

 

Now the time stamp is acting different.  When the file is 1st started the time stamp starts at 0 and as new files in the series are created the time stamp keeps going up as it should.  But if I stop recording a file and then attempt to save a new file (the start of a new series) the time does not reset to 0.  People generally like to see the timestamp start at zero at the beginning of the file or series of files.

 

Is there a way to reset the time stamp when creating a new series of files without stopping the vi?

 

 

 

I also had to modify the #179472 workaround.  If you set the new file input to true it writes a new file for every sample, so I just hooked a Boolean to it that goes true when I start recording and on the next iteration it goes false and it seems to be working OK.

0 Kudos
Message 5 of 6
(3,646 Views)

It looks like Ni did not wire a control to the reset portion of the code that will reset the time stamp like I wanted.  So I added it and it finally works the way I want. 

 

[Rant]  It sure would be nice to have a working version instead of rushing new versions out and breaking things that used to work every year.  [End Rant]

Message 6 of 6
(3,629 Views)