11-03-2011 01:07 AM
What is the most straight forward way to create a series of spreadsheet files each with a new file name and fixed number of rows. We have a data acquisition process that creates a new 1D array every 2 seconds. We'd like to build a series of spreadsheet files each having two hours or 3600 rows of data. Is there a best way to do this in LV9?
john
11-03-2011 03:25 AM
Use the low-level FileI/O Vis with Write to Text File.vi where you open a new file with every N iteration like this:
You just have to convert your 1D Array to string before.
If you would like to have a new file every N hours you should create a FGV which checks the elapsed time using Get Date/Time in Seconds.vi, which is more appropriate for longtime applications.
Christian
11-04-2011 12:13 AM
Christian
Thanks for your reply. One question: the icon on the s input to the Select.vi did not render clearly enough on the screen of my laptop to tell what it is. Could you please give me the name of that .vi?
thanks
john
11-04-2011 03:25 AM
First Call.vi, which is located unter the Synchronization Palette.
Christian