Board Identification Parameter

NI-Motion Functions

Board Identification Parameter

The first parameter to every NI-Motion function is the board identification parameter.

For C/C++ users, all functions in flexmotn.h have BOARD as the first parameter. BOARD is defined as boardID (u8)—the board identification number assigned by Measurement & Automation Explorer (MAX).

For Visual Basic users, all functions in flexmotn.bas have boardID (Integer) as the first parameter, which is the board identification number assigned by Measurement & Automation Explorer.

Make sure you pass the correct board identification parameter for the programming language you are using. To use multiple NI-Motion devices in one application, pass the appropriate board identification parameter to each function.