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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t enable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t *p_outenable)
 

Detailed Description

Function Documentation

◆ naibrd_LVDT_GetTestEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTestEnable ( int32_t cardIndex,
int32_t module,
naibrd_lvdt_test_enable_t type,
bool_t * p_outenable )
Warning
This function has been deprecated and has been replaced by naibrd_LVDT_GetModuleBITEnable().

Retrieves the Test Enable bit for either the D0, D2, or D3 Test, based on the test enable type specified.

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) Test Enable type: refer to naibrd_lvdt_test_enable_t definition.
p_outenable: (Output) 1 for test enabled or 0 for test disabled.
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_LVDT_SetTestEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetTestEnable ( int32_t cardIndex,
int32_t module,
naibrd_lvdt_test_enable_t type,
bool_t enable )
Warning
This function has been deprecated and has been replaced by naibrd_AD_SetModuleBITEnable().

Sets the Test Enable bit for either the D0, D2, or D3 Test, based on the test enable type specified.

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) Test Enable type: refer to naibrd_lvdt_test_enable_t definition.
enable: (Input) 1 to enable test or 0 to disable test.
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.