Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Session Open slow when DNS enabled

Using the NI VISA Drivers with C# code and perform the following:

try { mbSession = (MessageBasedSession)ResourceManager.GetLocalManager().Open(String.Format("GPIB0::{0}::INSTR", m_sGPIBAddress)); }

 

The operation completes but it takes 1 minutes + to find the device.  I have narrowed it down to the fact that the DNS addresses are configured.  If I disable the DNS it works properly however my system requires DNS to be enabled and 1 min + is unacceptable.  It appears it is searching the entire network for the device with the DNS enabled before finally finding it locally.  Is there some parameter I can set to force it to only look at local connections to find the device?

 

Thanks

0 Kudos
Message 1 of 2
(3,094 Views)
0 Kudos
Message 2 of 2
(3,079 Views)