LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing DAQmx float64 data to ASCII file ???

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

smkjadoon
0 Kudos
Message 1 of 2
(2,803 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,793 Views)