Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

Serial Data Read with ";"

$
0
0

Hi,

 

I have a device that is sending data over RS-232 and I am trying to capture this data and visually display it on the front panel for the user. 

 

The device is sending the data in the following format:

 

"HI Byte + Low Byte ;"

 

Here is what the first 8 bytes look like on putty:

 

#0B9A;0FB3;001C;01F3;

 

When the 256 bytes are sent a carriage return is used, and the data starts again from the beginning. 

 

Is it possible to serial read this data, and build a byte array to allow me to separate the data into individual data indicators? EX: 0B9A --> Temperature1; 0FB3 --> Voltage1; 001C --> Temperature2; 01F3 --> Voltage2

 

I am also fairly new to Labview so I don't know if this is at all possible, or what is the best approach to use. I appreciate any help or guidance. 


Viewing all articles
Browse latest Browse all 5625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>