LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial-Buffer overflow without too much incoming data or bursts on the line

My application runs under LabView 5.11 on a W2000 platform.
After a couple of hours trouble-free working, the sub-vi "bytes at serial port" gives out 57351 Bytes. That is 56k + 7Bytes, which is the normal Datablock coming in at the port.
Effect is that the "serial port read-vi" and as result the complete application hangs up.
I have allready found out that this data set does not arrive at the port.
Could this be a problem of LabView 5.11 running under W2000?
0 Kudos
Message 1 of 2
(2,629 Views)
I would first urge you to disconnect the cable from the serial port and let it run more than long enough to convince yourself the error goes away or re-occurs.

If you disconnect, and the error still occurs, your port hardware may be bad. Try another port or PC.

If the problem goes away, you could have noise on the line (interference, bad ground, bad conections, excesive long cable, etc, etc) or,
your code is not coming back to read the port often enough. If you think this is the case, read from the port more often or use hardware handshaking.

I would like to know a lot more before saying it is a software in-compatability issue.

Keep us updated,

Ben

(An LOTR fan)
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,629 Views)