Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_InitiateBIT (int32_t cardIndex, int32_t module, int32_t channel, bool_t waitForResult) |
Executes the AR-429 Initiated Built-in Test and returns the result. If the user chooses to wait for the result (waitForResult = NAI_TRUE) then the result of the test is returned in the status, either as NAI_SUCCESS or NAI_ERROR_BIT_FAILED. If the user chooses not to wait for the result, they can call naibrd_AR_CheckBITComplete() and naibrd_AR_GetStatus() at a later time to verify the test has completed and fetch the BIT status. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CheckBITComplete (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outbitComplete) |
Retrieves the BIT status (complete or incomplete) of the channel specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CheckPowerOnBITComplete (int32_t cardIndex, int32_t module, bool_t *p_outpbitComplete) |
Retrieves the Power-On BIT (PBIT) status (complete or incomplete) for the specified channel. The PBIT result will be in the BIT status register. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CheckBITComplete | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outbitComplete ) |
Retrieves the BIT status (complete or incomplete) of the channel specified.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
p_outbitComplete | : (Output) NAI_FALSE = BIT not done, NAI_TRUE = BIT complete. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CheckPowerOnBITComplete | ( | int32_t | cardIndex, |
int32_t | module, | ||
bool_t * | p_outpbitComplete ) |
Retrieves the Power-On BIT (PBIT) status (complete or incomplete) for the specified channel. The PBIT result will be in the BIT status register.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
p_outpbitComplete | : (Output) NAI_TRUE = PBIT complete, NAI_FALSE = PBIT not complete. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_InitiateBIT | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | waitForResult ) |
Executes the AR-429 Initiated Built-in Test and returns the result. If the user chooses to wait for the result (waitForResult = NAI_TRUE) then the result of the test is returned in the status, either as NAI_SUCCESS or NAI_ERROR_BIT_FAILED. If the user chooses not to wait for the result, they can call naibrd_AR_CheckBITComplete() and naibrd_AR_GetStatus() at a later time to verify the test has completed and fetch the BIT status.
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
waitForResult | : (Input) This allows this API to either wait for the BIT result before returning or return immediately after BIT is initiated. When returning immediately, please allow more than 3mS for the BIT to complete. Calling naibrd_AR_GetChanMappedStatus() after BIT is complete will return the results of the last executed test, regardless if this API returns immediately or after the test is complete. (NAI_TRUE to wait, NAI_FALSE to return immediately) |