05-02-2006 12:00 PM
05-02-2006 03:02 PM
05-02-2006 03:06 PM
05-02-2006 03:11 PM
05-02-2006 03:17 PM
05-02-2006 03:33 PM
A big disadvantage of saving as text is that it takes longer. First you have to do the conversion and then your data is larger. If you need it readable, then you can save as binary and when the program is complete, read the entire binary file back in and save it as text to a new file. The example I mentioned writes a header with timing information and then the data ina binary format. From this, you can post process a text file any way that you want.
It also looks like your write buffer may be getting bigger and bigger. Once data has been written, you can empty the shift register by writing an empty array to it.
Yes, AI Read can include time information if the Waveform data type is selected as the output but it really doesn't matter if you are using an I/O Tech board and their driver.