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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_REF_SetReset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ref_reset_type_t type)
 Resets the channel depending on the type received.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_REF_SetResetAll (int32_t cardIndex, int32_t module, naibrd_ref_reset_type_t type)
 Resets all of the channel depending on the type received.
 

Detailed Description

Function Documentation

◆ naibrd_REF_SetReset()

NAIBRDFUNC nai_status_t NAIAPI naibrd_REF_SetReset ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_ref_reset_type_t type )

Resets the channel depending on the type received.

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]).
channel: (Input) Channel number.
type: (Input) Refer to naibrd_ref_reset_type.
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_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_REF_SetResetAll()

NAIBRDFUNC nai_status_t NAIAPI naibrd_REF_SetResetAll ( int32_t cardIndex,
int32_t module,
naibrd_ref_reset_type_t type )

Resets all of the channel depending on the type received.

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) Refer to naibrd_ref_reset_type.
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_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.