11-14-2007 03:29 AM
11-14-2007 09:39 AM
11-14-2007 10:49 PM
hi, thanks a million for ur reply.
is there any other means to find LXI instruments programatically???
does NI support any API's to do this???
thanks
bharathi
11-15-2007 08:21 AM
11-15-2007 10:38 PM
11-15-2007 10:43 PM
11-19-2007 01:01 AM
01-05-2009 09:42 AM
Note that with the latest version of NI-VISA (4.4) we added this feature:
Added automatic detection of LXI (TCP/IP) devices that support the mDNS and DNS-SD technologies.
This will now auto-discover LXI devices that conform to the latest LXI 1.2 spec.
This means you no longer have to manually go into MAX before using it in NI-VISA.
Dan
05-11-2011 12:02 PM
I have installed ni488281.exe, i.e. Version 2.8.1
and am using it with Visual Studio 2010 and the .Net support.
Both example projects "FindResources" and "VisaicNS" build/run and detect the lone GPIB power supply I have on the GPIB-HS-USB adapter.
As well, "FindResources" and "VisaicNS" can show the ethernet connected Tekronix DPO3054 LXI oscilloscope if I enter the IP address.
Also from C# code I can retrieve the devices with FindResources:
var z = NationalInstruments.VisaNS.ResourceManager.GetLocalManager().FindResources("?*");
This will return a array of strings: "ASRL1::INSTR", "ASRL10::INSTR", "GPIB0::INTFC", "GPIB0::5::INSTR"
But if does not return my TCPIP oscope device.
The MAX utility Add Network Device can Auto Discover the oscope.
What DotNet VisaNS statements/commands do I need to use to Auto Discover like the MAX utility is able to do?
05-12-2011 08:56 AM
LXI autodiscovery uses a "VXI11" Protocol for discovering instruments.
I hope VISA FindResources wont detect the LXI instruments.
I hope NI-MAX uses VXI-11 protocol implementation for LXI discovery.
but i have seen once the LXI instruments is autodetected and configured in NI-MAX,VISA FindResources detects it.
Thanks
Bharathi