Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 data read error

Solved!
Go to solution

Hello,

 

I am using RS232 to get data from a OPTICA dew point sensor. Every time I am running my labview program (file attached) it gives me data but not the complete data. Sometimes I get a part of the data in 1st call and the rest of the data in 2nd cal. Sometimes I get aal the data in one go and sometimes no data at all. But whenever I run the program in HIGHLIGHT EXECUTION mode I get the data in proper sequence and full data.

Is there some issue with the labview program? or my instrument is not able to reply the call on time!

 

Any solution to this problem will be highly appreciated 🙂

 

Thanks


Aidy

0 Kudos
Message 1 of 3
(3,491 Views)
Solution
Accepted by topic author Aidy

My first guess is that you are not waiting long enough for the instrument to respond. You've got termination character detection enabled but then you do a VISA Bytes at Serial Port. Do one or the other.

 

Also, get rid of the sequence structure. It does nothing.

0 Kudos
Message 2 of 3
(3,489 Views)
Thanks Dennis. It works 🙂
0 Kudos
Message 3 of 3
(3,460 Views)