07-21-2009 11:19 AM
Solved! Go to Solution.
07-21-2009 12:05 PM
You indicated that the information was previously stored by the VI "from the control". How was the information stored to file? What does this file look like? Can you post an example?
I don't quite understand the part "load a previous set of data by using it's data path and control file name".
07-22-2009 02:35 PM
Sorry for being unclear earlier the file is a .dat text based file and it is written to a data archive in a VI by creating a path to the data archive. I want to be able to load data into controls in the same VI from previous files.
I attached a sample file and from this I need the voltages gas puffing TSMs and waveforms (OH, TF, etc)
07-22-2009 02:53 PM - edited 07-22-2009 02:56 PM
I assume that the numbers following the "OH data is listed below:" is supposed to go into a 2D array?
There are several ways to do this. One simple way is to simply read the file and chop off each section of interest, and converting the string to a 2D array, like this:
Another is to read the file in using the Read From Spreadsheet File, and then indexing out the first column, and use that to search for the indices where the regions of interest lie. You can then use Array Subset to get the 2D array of data.