Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read/write time increase after timeout,.

I have 2 crio - 9012 & 9073 communicating via serial port. Before  i go into the problem description, i would like to define some terms,

 

9012 as the Master controller and 9073 as the Slave contoller. Both using 115200, 8 data bits.

 

The flow for the Master in a timed loop

-------------------------------------------

Send -> Read   = 1 cycle of execution       ~ 30ms

 

The flow for the Slave in a timed loop

-------------------------------------------

Read -> Reply (If not timeout: 1000ms) = 1 cycle of execution    ~ 20 ms

 

The above is a straight forward flow. The Master keeps sending and reads reply from the Slave. The Slave on the other hand, reads data from Master, and only reply if there's no timeout.

 

However, i wanted to test the response time there's timeout. I disconnected the serial cable and reconnect it again. The timing for execution increases for master or slave.

 

I'm not sure why is this happening. Do i have to do something when there's timeout? 

 

 

 

0 Kudos
Message 1 of 1
(3,375 Views)