Opens access to the board based on the device name and communication mode.
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
comm | : (Input) Communications mode to use. Refer to naibrd_comm_t for communication modes. |
p_device | : (Input) Device name (NAI_DEV_NAME_75G5, NAI_DEV_NAME_68G5, NAI_DEV_NAME_75C5, etc). Refer to Device Name Declarations in nai_libs\nailib\include\nailib.h. |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
- NAI_ERROR_NOT_SUPPORTED when function is not supported.