LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i save data coming to serial port automatically to a file when the vi is run at once?

i want to save data coming to my serial port
the data contains password operator name etc
which i want to save it to txt file only once
the data is changed
0 Kudos
Message 1 of 2
(2,969 Views)
You can use a while loop that check's the value of your serial port periodically, and write it to a file using "write characters to file" function every time it changes. To know if data changes, you can use a very useful set of vi's written by Brian Renken at http://brianrenken.com
Hope this helps.
0 Kudos
Message 2 of 2
(2,969 Views)