Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

2 LabView applications using COM1

Hello, I am new to LabView. I was playing around with two identical (different name) applicaitons that get data from HH506R (thermometer) through RS-232. When I run one application, I read room temperature. However when I run both applications, one reads room temperature while the other doesn't. Thanks.

0 Kudos
Message 1 of 5
(3,408 Views)

On the same machine at the same time and without error messages ?

 

greetings from the Netherlands
0 Kudos
Message 2 of 5
(3,397 Views)

On the same machine at the same time and without error messages ?

 

greetings from the Netherlands
0 Kudos
Message 3 of 5
(3,397 Views)

Probably the applications have no error handling.

 

To wakka321: The OS will only allow one application to control the port at a time. And it may not tolerate rapid switching between applications even if both cleanly release the port after using it.

 

One of the applications should do all the communications with the remote devices.  It can then pass the data to and from the other application.  Search for posts on Inter Process Communications.

 

Lynn

0 Kudos
Message 4 of 5
(3,393 Views)

Thanks for the replies

0 Kudos
Message 5 of 5
(3,381 Views)