cbGetBoardName()

Returns the board name of a specified board, or iterates through a list of all supported boards.

Function Prototype

C/C++

int cbGetBoardName(int BoardNum, char *BoardName)

Visual Basic

Function cbGetBoardName(ByVal BoardNum&, ByVal BoardName$) As Long

Arguments

BoardNum

The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). In this case, BoardNum may be 0 to 99. It can also refer to the list of supported boards by using GETFIRST, or GETNEXT.

BoardName

A null-terminated string variable that the board name will be returned to. This string variable must be pre-allocated to be at least as large as BOARDNAMELEN. This size is guaranteed to be large enough to hold the longest board name string. Refer also to the board type codes in the "Measurement Computing Device IDs" section.

Returns

Notes

There are ways of using this function: