LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

crio serial port errors - overrun

I have a crio 9023.  I use modbus on the serial port to communicate with an external device.  I'm getting serial port error (-1073807252) described below.  It looks to me that the frequency of this error is directly related to cRIO total usage.... Unfortunately even at 40% (where my program normally runs) the error occurs, and then when I up it to 60% it happens more.

 

Does this make sense tying this to crio usage?  or is there something else I can do?

 

Error -1073807252 occurred at VISA Read in MB Serial Receive.vi:3->MB Serial Master Query.vi:2->MB Serial Master Query Read Holding Registers (poly).vi->PLC Main Old Modbus.vi->Stirling Main.vi

Possible reason(s):

VISA:  (Hex 0xBFFF006C) An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived.

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

You need to make sure you give the serial port enough priority so that the buffer never fills up completely.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 3
(2,684 Views)

Priority of the timed loop?  Or is there a different setting for the serial port?

 

Thanks

0 Kudos
Message 3 of 3
(2,681 Views)