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

Read data from a RS 232 Serial port

$
0
0

Hi, 

 

I am using a Particle measuring system instrument Lasair III 110 laser particle counter in my testing. 

The communication of this instrument is Serial Rs 232. 

I made a simple LabVIEW to control it for sampling and to collect the testing data and I have attached my code here. 

The serial command for starting sampling is "SS" and the serial command for transmitting the last data sample (i.e. latest time). is "TL".  Data is sent in standard CSV (comma separated value). The sampling time is 1 min. 

However, I cannot get any testing results from the "TL" command. It only gave me "SS" in the indicator of read buffer.

 

When I used "YAT"  for the command "SS" and "TL", I am able to get the latest data sample.

 

Really need help to figure out how to get the latest testing results and extract the useful test results to do some calculation by using "LabVIEW".

 

Thank you very much. 

 

 

 


Viewing all articles
Browse latest Browse all 5666

Trending Articles



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