09-24-2008 12:22 PM
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
09-24-2008 03:23 PM
Here is the answer to the question:
http://forums.ni.com/ni/board/message?board.id=232&message.id=2000&query.id=20569#M2000