01-20-2009 10:53 AM
Hello
DAQmx reads data from analog input channel as float64 with nSamples as number of values stored in dynamically allocated float type array. I want to store this data to ASCII file. Any help............Thanks
01-20-2009 04:20 PM
The simplest way to save an array of data to a file is to use ArrayToFile () function, which can store them either in ASCII or binary format. In the first case you will be able to open the output file with a text editor and review your data easily, at the cost of more disk space used. The second option produces a smaller file but you will need some program to read your data back and interpret them (FileToArray can be used for this task).
There can be several alternative ways of store data to disk, each of them with its proper advantages and disadvantages: you can find them with the Example Finder and study the sample programs shipped.