LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a datas from serial port?

How to save a datas from serial port?
0 Kudos
Message 1 of 3
(2,967 Views)
Hi
I need some help about rs-232 communication. I want to make a vi witch can do this things:
-read a txt file (to simulate a serial port like when the datas are coming)
i will get 3 different data in serial port (like this: 121 213 135)
i want to save in a txt file what datas get my vi
so
-write in a txt file or draw in a diagram (or both)

so my problem is: read in serial port and save in a file and draw a diagram.
if anybody can help pls HELP ME because im a beginner in this problem.
I already do something but Im not sure that good.
Thx for all.
0 Kudos
Message 2 of 3
(2,964 Views)
When you read from serial port, the data is read in string format. So, if you are planing to use in a diagram, you might have to convert it in numbers. You can use "Write to text file" for storing your data. Look into context help of LabVIEW or examples to see how it can be used. For showing on diagram, look into string/number conversion pallette and you shall find all sorts of conversions.
 
 
0 Kudos
Message 3 of 3
(2,947 Views)