# get_board_number()

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.

## Prototype

get_board_number(descriptor)

## Parameters

descriptor (DaqDeviceDescriptor)

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

## Returns

- The board number (int) or –1 if the DAQ device hasn’t been created in the library yet.