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

Random Serial Communication Error

$
0
0

I am currently trying to program a PCB.

 

This works by sending serial commands to the board at 115200 baud rate.

 

Currently, the VI works most of the time but after a couple hundred loops, the board will reset itself resulting in the "read" result not matching the "desired" result and therefore not exiting the loop (until an error occurs). 

 

I figure that I'm missing a small thing in the code that is causing this to happen. I know that the buffer is not overflowing as I have previously had an indicator showing the buffer amount.  

 

Does anyone have any idea what is going wrong? I've captured trace data and there is nothing within that which is out of the ordinary before the board is reset. 

 

Thanks,

 

Scot07


Viewing all articles
Browse latest Browse all 5565

Trending Articles