08-19-2014 12:38 PM
Hello,
My name is Daniel R.
I am a student doing undergraduate research and was put on a project using LabView (having no previous experience using Labview).
I am using LabView 2013 Student Edition version 13.0.
Now the VI I created is to obtain data from a PMT using a Rigol DS1204B connected to Labview.
The problem that arose was saving to a series of files (automatically saving). I plan to take at least 1000 runs and manually naming each is not very efficient. I have my VI attached, if anyone would kindly take a look at it. I suspect the problem is coming from the "Write to Measurement File" in the block diagram. I have set the "Save to series of Files" option, however, when I double click the "Write to measurement" box I see that "Save to one File" is chosen and after a second it converts automatically to the "Save to Series" option.
I do not have enough experience to properly know why it wants me to name each file, so I am reaching out for help.
Any advice or improvements on my VI is also appreciated.
Thank You,
Daniel R.
Solved! Go to Solution.
08-19-2014 01:30 PM
It is the Write Waveform to Spreadsheet File that is causing the dialog boxes. You need to supply a file path for it.
08-19-2014 02:48 PM
Ok, I did that and now it writes a file automatically. However, anyother signal wants to replace the current file (I do not want to append the file, but make new files automatically)... do I have to connect it to the "Write to Measurement File"?
Ive tried connecting it with no luck.
Thank you for a quick response,
Daniel R.
08-19-2014 03:03 PM
Who says you can't dynamically build a file name each loop iteration? I like to use the Format String to add the loop counter to a string that then is turned into a file path.
08-19-2014 04:05 PM
Thanks, that worked perfectly.