Software Library API naibrd 1.62
See all documentation at naii.docs.com
Miscellaneous Functions

Functions

NAIBRDFUNC const char *NAIAPI naibrd_GetDeviceName (uint16_t devcode)
 Returns the Device Name associated with the Device Code passed in.
 
NAIBRDFUNC const char *NAIAPI naibrd_GetDeviceNameIndex (uint16_t devcode, uint32_t cardIndex)
 Returns the Device Name associated with the Device Code passed in. Only needed when devID is 0x6881, for mb 68DT1, 68CB6, or 68G5.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_Wait (unsigned long microseconds)
 Waits the specified number of microseconds. This is a blocking sleep function.
 

Detailed Description


Function Documentation

◆ naibrd_GetDeviceName()

NAIBRDFUNC const char *NAIAPI naibrd_GetDeviceName ( uint16_t devcode)

Returns the Device Name associated with the Device Code passed in.

Parameters
devcode: (Input) The Device Code.
Returns
  • Device Name or "UNKNOWN" if the Device Code passed in is not recognized.

◆ naibrd_GetDeviceNameIndex()

NAIBRDFUNC const char *NAIAPI naibrd_GetDeviceNameIndex ( uint16_t devcode,
uint32_t cardIndex )

Returns the Device Name associated with the Device Code passed in. Only needed when devID is 0x6881, for mb 68DT1, 68CB6, or 68G5.

Parameters
devcode: (Input) The Device Code.
cardIndex: (Input) The card index of the board.
Returns
  • Device Name or "UNKNOWN" if the Device Code passed in is not recognized.

◆ naibrd_Wait()

NAIBRDFUNC nai_status_t NAIAPI naibrd_Wait ( unsigned long microseconds)

Waits the specified number of microseconds. This is a blocking sleep function.

Parameters
microseconds: (Input) The number of microseconds to wait.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.