GetNetDeviceDescriptor()

Returns the DAQ device descriptor at the specified IP address or host name.

This function can detect Ethernet DAQ devices on a different subnet than the host PC. To detect Ethernet DAQ devices on the same subnet as the host PC, it's more convenient to use GetDAQDeviceInventory().

Member of the DaqDeviceManager class.

Function Prototype

VB .NET

Public Shared GetNetDeviceDescriptor(host As String, port As Integer, timeout As int) As MccDaq.DaqDeviceDescriptor

C# .NET

Function cbGetNetDeviceDescriptor(ByVal host$, ByVal Port&, ByRef DeviceDescriptor As DaqDeviceDescriptor, ByVal Timeout&) As Long

Arguments

host

The name of the host, or the IP address of the host.

port

The port number, for example 54211; refer to board-specific information.

deviceDescriptor

The device descriptor of the detected device.

timeout

The timeout value in milliseconds (ms).

Returns