cbGetNetDeviceDescriptor()

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 cbGetDaqDeviceInventory().

Function Prototype

C/C++

int cbGetNetDeviceDescriptor(char* Host, int Port, DaqDeviceDescriptor* DeviceDescriptor, int Timeout)

Visual Basic

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