Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visa exclusive lock hislip

Hi,

 

I try to use VI_EXCLUSIVE _LOCK for accessing HiSlip device over TCPIP (R&S CMW500)

 

What I did is to test the application locally ( 2 instances of same application running on same PC): it works as expected (both for SOCKET and for HiSlip)

 

Then I moved to use HiSlip, because SOCKET is not supposed to work for LOCK on different machines

 

When I tested real application ( 2 application running on different machines) I got following result:

- at the beginning it look as it is working: lock works and second machine is waiting for access granted

- after timeout of about 10s (very similar to default timeout for communication) the viOpen(..VI_EXCLUSIVE_LOCK,60000) returns with an error ( resource locked). Why 10000ms and not the 60000ms expected?

-after some loops of testing, the resource appears locked EXCLUSIVE, and I can not access from neither first or second machine

-closing the application or rebooting machines does not help: only found solution is to reboot device

 

I'm using NI-VISA 14.0 and NI-488.2 14.0.0 from a C++ application.

0 Kudos
Message 1 of 2
(4,453 Views)

Dear Diegoba,

 

as you can read from third party driver download page, the instrument driver you are using is not supported by National Instruments.

 

**************************************************************************************************************************************************

This instrument driver is NOT supported or maintained by National Instruments.   This driver is maintained and supported by the instrument manufacturer or a third party.

**************************************************************************************************************************************************

 

Did you try to contact R&S technical support? Maybe they'll be able to help you in solving your issue.

 

Best Regards.

 

Cla_CUP

NI Italy

Technical Support

0 Kudos
Message 2 of 2
(4,430 Views)