LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding reading mutiple serial devices

I am running 3 EXEs on the same machine that are communicating with COM and GPIB. One app uses COM1 and GPIB, another uses COM2 and the third uses COM3. When each of these runs alone I have no problems, but when I start all three together I have weird things that happen. For example the app that is using COM1 and GPIB, will randomly return blank data from the GPIB device. The application that is using COM3 will ocassionly send wrong characters to the device. I should note that these are running on a Windows 2000 machine.

As a general question in it proper programming to communicate with two devices each in a seperate loop?

Terry Sopkow
0 Kudos
Message 1 of 2
(2,585 Views)
re: your general question, yes it is proper. I write these kind of apps all the time.

Re: Your comm issues. I suggest you start cutting things to the minimum required to demonstate the problem. Also check the error clusters for clues as to what is going on.

If you can get a mini-demo together and post the example, we may be able to help.

Ben
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,585 Views)