LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA communication does not work

Hello you all...

I have an application to control two GPIB devices via a LAN gateway, using agilent VISA functions.

There are 2 subVI, each one corresponding to one instrument. When this subVI are placed in the main VI, one of them performs communication with the instrument but the other one does not perform this communication. Is there any option I should enable and I have forgotten it??

Thanks and regards to you all
0 Kudos
Message 1 of 2
(2,498 Views)
We need a bit more information before being able to guess what's going on.

But I'll try anyway.....

Do you have both VIs accessing the same port at the same time? If so, the first one to "capture" the port might be blocking the other.

If you need both to access the same port, then at very least make sure that the functions have a bit of a wait in the communication loop, otherwise they really will hog the port for themselves.

On a slightly more advanced level, you could try controlling the communication with semaphores.

But, as I said, without moire information it's hard to be sure any of what I've just written has any relevance to your problem.

Hope this helps anyway

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 2
(2,460 Views)