LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i save a data in text format

Solved!
Go to solution
how can i save a data in text format in labwindows cvi
Message Edited by Tikoy on 04-14-2010 11:30 PM
0 Kudos
Message 1 of 2
(3,119 Views)
Solution
Accepted by topic author Tikoy

Hi,

 

If your data is in an array, the easiest way is to use the ArrayToFile function.

It automatically creates a file and puts your data in it according to the format you provide.

 

If you have individual samples that you need to write once in a while, you can either collect them into an array and then use ArrayToFile or open a file with fopen and write them as they are acquired with fwrite.

 

Hope this helps, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(3,112 Views)