Software Library API naibrd 1.62
See all documentation at naii.docs.com
Chassis Status LED Functions

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_SetUserBITFailCode (int32_t cardIndex, uint32_t UserBitFailCode)
 Sets the User BIT Fail Code.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_GetUserBITFailCode (int32_t cardIndex, uint32_t *outUserBitFailCode)
 Retrieves the User BIT Fail Code.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_GetBITStatus (int32_t cardIndex, uint32_t *outBitStatus)
 Retrieves the Bit Status.
 

Detailed Description


Function Documentation

◆ naibrd_ChassisLEDS_GetBITStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_GetBITStatus ( int32_t cardIndex,
uint32_t * outBitStatus )

Retrieves the Bit Status.

The Bit Status is the result of "Or-ing" the User BIT Fail Code value with the BIT detection of boards in the SIU Chassis. A non-zero Bit Status will result in the Status LED being set to red, otherwise the Status LED is set to green.

Note, Prior to invoking this routine, naibrd_OpenDevice() must be called with the device that is the Master or Controller board (ex. 75ARM1, 75INT2, 75PPC1, 75G5, etc.) in the SIU chassis.

Parameters
cardIndex: (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
outBitStatus: (Output) Bit Status.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.

◆ naibrd_ChassisLEDS_GetUserBITFailCode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_GetUserBITFailCode ( int32_t cardIndex,
uint32_t * outUserBitFailCode )

Retrieves the User BIT Fail Code.

The Bit Status is the result of "Or-ing" the User BIT Fail Code value with the BIT detection of boards in the SIU Chassis. A non-zero Bit Status will result in the Status LED being set to red, otherwise the Status LED is set to green.

Note, Prior to invoking this routine, naibrd_OpenDevice() must be called with the device that is the Master or Controller board (ex. 75ARM1, 75INT2, 75PPC1, 75G5, etc.) in the SIU chassis.

Parameters
cardIndex: (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
outUserBitFailCode: (Output) User BIT Fail Code.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.

◆ naibrd_ChassisLEDS_SetUserBITFailCode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_ChassisLEDS_SetUserBITFailCode ( int32_t cardIndex,
uint32_t UserBitFailCode )

Sets the User BIT Fail Code.

The Bit Status is the result of "Or-ing" the User BIT Fail Code value with the BIT detection of boards in the SIU Chassis. A non-zero Bit Status will result in the Status LED being set to red, otherwise the Status LED is set to green.

Note, Prior to invoking this routine, naibrd_OpenDevice() must be called with the device that is the Master or Controller board (ex. 75ARM1, 75INT2, 75PPC1, 75G5, etc.) in the SIU chassis.

Parameters
cardIndex: (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
UserBitFailCode: (Input) User BIT Fail Code.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.