# cbGetBoardNumber()

Returns the board number of the DAQ device specified by the descriptor, or –1 if the DAQ device hasn't been created in the library yet.

## Function Prototype

C/C++

int cbGetBoardNumber(DaqDeviceDescriptor DeviceDescriptor)

Visual Basic

Function cbGetBoardNumber(ByRef DeviceDescriptor As DaqDeviceDescriptor) As Long

## Arguments

DeviceDescriptor

The device descriptor of the DAQ device. Each decriptor is a structure containing information describing a unique DAQ device. Refer to the DaqDeviceDescriptor section for more information.

## Returns

- The board number or –1.