LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing to a file?

Hey

Ive got a problem with writing to a file. Im taking analogue inputs of a D.A.Q card and trying to write them to a file but when i go to open the file instead of numbers is just jargon i.e "?ÿT". This will be written for every reading and i was wondering could anyone help. ive posted my program so you can see what im doing wrong if its not to much trouble.

Any help would be very much appreciated
Regards
Martin Garvey
0 Kudos
Message 1 of 3
(2,168 Views)
no need to post i have fixed it
0 Kudos
Message 2 of 3
(2,161 Views)
Hi,

First thing in your program : I think that you need to put the "close file" out of the loop structure. So when the acquisition is finished, you close the file.
And if you want to read the data file created, you can juste convert the DBL value into a string value before you record it in the file.

Hope it helps you!

Best regards,
G Liagre

[EDIT]too late.. lol![/EDIT]

Message Edité par G Liagre le 05-18-2005 11:38 AM

Best regards,
G Liagre
0 Kudos
Message 3 of 3
(2,160 Views)