Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA close takes few seconds when using HiSLIP

Hi,

 

Using VISA close on HiSLIP session takes 2-3 seconds to complete. VISA close returns VI_SUCCESS so everything seems normal except for the execution time. Also communication using reads and writes is executed fast and nothing weird is going on. When using VXI-11, VISA close executes in less than a millisecond.

Is this normal or do I have something weird going on in my configuration?

 

Instruments are in a dedicated network with static IPs. There is only a L2 switch between the controlling computer and the instruments.

 

munaleipä

0 Kudos
Message 1 of 3
(2,293 Views)

Hi munaleipä,

 

This is a bug in NI-VISA that happens on some HiSLIP sessions. This will be fixed in the next version.

 

Thanks,

Pankaj

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

Was this issue ever resolved? Was the bug ever fixed?  I am having the exact same issue, except that I am seeing the delay on the VISA Open.  When using HiSLIP, it adds 2 to 3 seconds of delay.   I also found that if I wire "Exclusive Lock" to the VISA open, the delay goes away.   While we can get around this issue, I would really like to understand what is happening so I can choose the best solution.   Thanks.

0 Kudos
Message 3 of 3
(77 Views)