Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Find/Browse Network Devices using .NET

I'm developing an application to do measurements using NIDAQ ENET-9163 modules placed on the network. I was wondering if I could use an NI API to programatically using C#/.NET search for any NIDaq devices on the network, and then add that device to the Daq system so I can dispatch tasks to it to conduct measurements. I've only had luck using NI's MAX tool to add/search for devices, then conducting measurements and I would prefer if I could build a search/add device functionality into my application. Thanks in advance!

0 Kudos
Message 1 of 2
(5,361 Views)

Hello Pablo,

 

I looked in the DAQmx .NET Help and I found some commands to reserve, unreserve and delete network device, there doesn’t appear to be one for finding them. In the ReserveNetworkDevice description, it mentions that it has to be previously reserved in MAX. There’s an Add Network Device.vi in LabVIEW in which you specify the hostname or the IP address. There are some properties for TcpipEthernetIP, TcpipHostname and TcpipWirelessIP; you could try using them to find the network device.

 

Best Regards,

 

Alina M

Applications Engineering

National Instruments

0 Kudos
Message 2 of 2
(5,339 Views)