Software Library API naibrd 2.24.0
See all documentation at naii.docs.com

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_VR_SetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_vr_test_enable_t type, bool_t bitEnable)
 Enables/Disables the BIT test specified by the type parameter. BITs are described as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_VR_GetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_vr_test_enable_t type, bool_t *p_outbitEnable)
 Retrieves the state (enabled or disabled) of the BIT test specified by the type parameter. BITs are described as follows:
 

Detailed Description

Function Documentation

◆ naibrd_VR_GetModuleBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_VR_GetModuleBITEnable ( int32_t cardIndex,
int32_t module,
naibrd_vr_test_enable_t type,
bool_t * p_outbitEnable )

Retrieves the state (enabled or disabled) of the BIT test specified by the type parameter. BITs are described as follows:

IBIT (D3) - An off-line test that starts an initiated BIT test that disconnects all channels from the I/O and then connects them across an internal stimulus. Each channel will be checked to a pre-determined test accuracy. Test cycle is completed when D3 changes from 1 to 0. Results can be read from the Status registers. The test can be enabled or disabled at any time.

Parameters
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]).
type: (Input) The BIT type to enable/disable. Refer to naibrd_vr_test_enable_t definition.
p_outbitEnable: (Output) BIT Enabled State read from module (0 = disabled, 1 = enabled).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_VR_SetModuleBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_VR_SetModuleBITEnable ( int32_t cardIndex,
int32_t module,
naibrd_vr_test_enable_t type,
bool_t bitEnable )

Enables/Disables the BIT test specified by the type parameter. BITs are described as follows:

IBIT (D3) - An off-line test that starts an initiated BIT test that disconnects all channels from the I/O and then connects them across an internal stimulus. Each channel will be checked to a pre-determined test accuracy. Test cycle is completed when D3 changes from 1 to 0. Results can be read from the Status registers. The test can be enabled or disabled at any time.

Parameters
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]).
type: (Input) The BIT type to enable/disable. Refer to naibrd_vr_test_enable_t definition.
bitEnable: (Input) BIT Enable (0 = disable, 1 = enable).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid bitEnable parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.