LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Save measurement to file"-VI doesn't obey the "Use next avaible file name" setting

I'm using this express VI to store data. In it's properties, there's the "If a file already exists: Use next avaible file name" radio box which does not work. Instead, it appends everything to the one file it created on the first run. My VI has a while-loop with an embedded flat sequence with the writing-VI being in the last frame of the flat sequence. LV 8.5, Linux
0 Kudos
Message 1 of 16
(3,048 Views)

Hi There.

Could You make a screendump of Your VI?

I tried using the Express VI on both LV7 Express (Base,Win), and LV8.5 (Base, Win) , and it works perfectly....

 

Don't forget to rate a good Answer....
---------------------------------------------------------
Here should be some cool signature

But there's NOT

LabVIEW 2012-2017
---------------------------------------------------------
0 Kudos
Message 2 of 16
(3,044 Views)
I've attached my VI. Currently, the save-VI gets it's file name from some other VIs, but I do that because it doesn't work otherwise. When I clear the "Filename"-input, it starts appending.
0 Kudos
Message 3 of 16
(3,037 Views)

Hi ReBoot

I think i've found the Source of Error......When You generate the filepath You use a Concatenate strings with a Constant stating "Files/file" the problem her is the "/". It might be that it should be a Backslash "\"......

Try it....

Best Regards BCL

 

Don't forget to rate a good Answer....
---------------------------------------------------------
Here should be some cool signature

But there's NOT

LabVIEW 2012-2017
---------------------------------------------------------
0 Kudos
Message 4 of 16
(3,027 Views)
No no, everything's fine as it is. The problem starts when I remove the Filename-input from the Save-VI. Then the Save-VI refuses to take the next avaible file name. However, I'd like to be able to remove all this filename-code and let the Save-VI handle all the file naming.
0 Kudos
Message 5 of 16
(3,015 Views)

Hi ReBoot,

how should you filenames look like?

Mike

0 Kudos
Message 6 of 16
(3,011 Views)
That doesn't matter as long as they're indexed.
0 Kudos
Message 7 of 16
(3,006 Views)

Hi Again.

Unfortunately i cannot run You Vi, because of missing Hardware, But if i Copy the Express VI to a new VI, and run it, it generates a new file everytime.

Try running the attached example.......Do You see the same behavior?

 

/BCL

Don't forget to rate a good Answer....
---------------------------------------------------------
Here should be some cool signature

But there's NOT

LabVIEW 2012-2017
---------------------------------------------------------
0 Kudos
Message 8 of 16
(3,004 Views)

Hi ReBoot,

why do you change everytime the filename? if you connect everytime the same name it should work.

Mike

0 Kudos
Message 9 of 16
(3,001 Views)

It does not work because the problem I mentioned in the OP occurs.

Will try the uploaded VI!

0 Kudos
Message 10 of 16
(2,996 Views)