LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port block computer

I have an application to collect data from PLC's and save them in a data base. The application was developed in LabVIEW 6.1, runs in a computer server whit OS Windows 2000 Server, and collect data using a ENET 485 device form NI, to this device are connected 4 RS-485 networks, then the application use VISA resource to read data through serial ports. My problem is suddenly all server is blocked a I must turn off and turn on the computer. Somebody had had a problem like this? Maybe is a problem related serial port but I never get a error message.
0 Kudos
Message 1 of 2
(2,545 Views)
Maybe you are getting buffer overrun, too much data coming in, not being read fast enough. If it happens again, try slowing down the incoming data stream if you can, or optimize your code to read faster. One way to do this is to create separate parallel loops in Labview. One loop will read the serial port and store the data into a queue. The other loop will read the queue and process the data. This would prevent incoming serial port buffer overrun.
- tbob

Inventor of the WORM Global
Message 2 of 2
(2,540 Views)