# GetBoardNumber()

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.

Member of the DaqDeviceManager class.

## Function Prototype

VB .NET

Public Shared GetBoardNumber(deviceDescriptor As MccDaq.DaqDeviceDescriptor) As Integer

C# .NET

public static int GetBoardNumber(DaqDeviceDescriptor deviceDescriptor)

## Arguments

deviceDescriptor

The device descriptor of the DAQ device. Each descriptor is a structure containing information describing a unique DAQ device. DaqDeviceDescriptor class properties are listed in the GetDaqDeviceInventory() section.

## Returns

- The board number or –1.