Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA response time?

Hello,

 

I am using a Dew point Sensor which has a RS232 port to communicate with. I can configure the COM port settings within the instrument. Since I am using a laptop I have to use a RS232 to USB converter!!


Now the probelm is when I am running the attached VI it is not giving me any data!!!! But when I am running it in execution highlight mode I am getting data!!!!!! (Strange).

Is there anything to do with the instrument response time? or RS232 to USB converter?

 

Any clue or help what to do? 

 

Thanks.

 

Aidy

0 Kudos
Message 1 of 2
(3,130 Views)

Not strange at all and if you had tried one of the shipping examples (i.e. Basic Serial Write and Read), you would probably see where the problem is.

 

You do an immediate check of the bytes at the port when in fact you need to account for the fact that the instrument is going to take some time before responding. As you should know, execution highlighting adds quite a bit of delay between functions.

Message 2 of 2
(3,128 Views)