# cbDeviceLogout()

Releases the device session with a shared device.

## Function Prototype

C/C++

int cbDeviceLogout(int BoardNum);

Visual Basic

Function cbDeviceLogout(ByVal BoardNum) As Long

## Arguments

BoardNum

The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). BoardNum may be 0 to 99.

## Returns

- Error code or 0 if no errors.