Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to communicate with two different devices using two seperate serial ports in the same labview program?

The two bits of the program will talk to each instrument successfully if the other part of the program is not running. i do not need them to communicte with both serial ports at the exact same time, just within the same program, one after the other. i am using labview 6. any ideas of what i could be doing wrong?
0 Kudos
Message 1 of 2
(3,051 Views)

Hello,
If you are using the Legacy serial VIs, you should really switch to the VISA VIs. Also make sure you are opening a session to each of the com ports at the beginning of the program and closing each at the end of the program. Problems can arise if your try to open a session to a port that already has a session open. Also you should update LabVIEW to 6.0.2 

If you are still having problems post the error code and error message you are getting.

Ray K
NI Applications Engineer

0 Kudos
Message 2 of 2
(3,051 Views)