LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically nameing and saving files in LabView??

I am using LabView to generate simple data files using FOR loop. Everytime for loop is excuted once it ask for the filename where I want to save data. Instead I want to program so that LabView name save all the files automatically in a specified format after excuting once. How can I do it programatically in LabView so that it does not prompt for the filename each time the FOR loop is executed
Message 1 of 5
(3,931 Views)
wire a constant to your write file vi with the name of the file in it
file i/o>>file constants>>path constant
Message 2 of 5
(3,931 Views)
I supposed that you did not wire the "file path"

Here's one of many ways of writing to a file.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 5
(3,931 Views)
Hi Paul,
Thanks for your response. But my question is slightly different. The number of image file generated within FOR loop is equal to it's idex (i.e. N). And ecah file needs to be stored separately as a different file name having same extension. I am attaching the LabView program. It runs on LabView6.1 version with vision compatibility.
0 Kudos
Message 4 of 5
(3,931 Views)
Hi Ravi - I cant read your files as I have 6.0, but hopefully this attachment may help you (make sure you browse to a valid directory before you run)
0 Kudos
Message 5 of 5
(3,931 Views)