LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read sporadic data from RS232

In my case, I have a software to do calculations. When one case happens (when? unpredictable), it will send a sequence of data to the RS232 of the PC.
From another PC, I wish to get this data once it is there.
 
Could you please offer a tip? Many thanks!
0 Kudos
Message 1 of 4
(2,743 Views)
What exactly are you stuck on? The serial communication is pretty easy. There are some shipping examples. Start the example finder and do a search for serial. Your case statement would have a VISA Write to send the data and then you would have to write a different program for the other pc. It would basically consist on nothing more than a while loop with a VISA Bytes at Serial port and when the bytes is greater than 0, a VISA Read would be done.
0 Kudos
Message 2 of 4
(2,740 Views)
But the software in the first PC is beyond control and there is no labview in this PC (due to the application, it cannot be installed). So another PC with labview has to keep listening to the RS232 of this PC, and record down anything if there.
 
Sorry, I am not familar with labview. If this question is too simple, please forgive.
0 Kudos
Message 3 of 4
(2,735 Views)

All right. Then you just have to do the second part I mentioned.

You're going to have learn a little bit about LabVIEW before you start writing this program. A good place to start is http://www.ni.com/devzone/lvzone/fundamentals.htm.

0 Kudos
Message 4 of 4
(2,731 Views)