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

Serial overrun interrmittent error -1073807252

$
0
0

Hi,

I am having problem with serial communication (RS-232) inside of bigger application. I am using cRIO-9024 with chassis 9118 and LabVIEW 2011 SP1.

Serial reading behave totally erratic, sometimes works few for hours without any problem and sometimes has problems from the beginning and I cannot resolve them by open-close connection, flush-clear buffers, VISA Unmap address. When error occurs most of the time I get error -1073807252, but sometimes I get -1073807253 and -1073807232 as well. All these errors are indicating to me that I have problem with data being read from UART.

When error occurs, most of the time Visa read gives me out 16 bytes instead of 200 bytes.

Serial communication is just one part of my application and total CPU usage goes up to 80%. 

I am using usb-serial adapter to send data from my laptop to cRIO.

I tried running cRIO with different VISA drivers, I tried running it with LV2014,  I also tried setting RXFIFO = 1 (as per https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019M1hSAE).... I have reprogrammed serial communication multiple time but no success yet.

Any suggestions what to try next?

Thanks

Regards

Franjo

 


Viewing all articles
Browse latest Browse all 5634

Trending Articles



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