Software Library API naibrd 1.62
See all documentation at naii.docs.com
Angle Change Alert Functions

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetAngleDelta (int32_t cardIndex, int32_t module, int32_t channel, float64_t angledelta)
 Sets the angle delta in degrees before indicating an angle delta alter for the specified channel. Setting the angle delta to zero, disables the Angle Delta alert.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetAngleDelta (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outangledelta)
 Retrieves the angle delta in degrees before indicating an angle delta alter from the specified channel. Setting the angle delta to zero, disables the Angle Delta alert.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetAngleDataInit (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Set Angle Delta Monitoring for the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetAngleDataInit (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outenable)
 Get the current state of Angle Delta Monitoring for the channel specified.
 

Detailed Description


Function Documentation

◆ naibrd_SD_GetAngleDataInit()

NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetAngleDataInit ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * outenable )

Get the current state of Angle Delta Monitoring for the channel 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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
outenable: (Output) Returns TRUE if enabled and FALSE if 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_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid setting is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_SD_GetAngleDelta()

NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_GetAngleDelta ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * outangledelta )

Retrieves the angle delta in degrees before indicating an angle delta alter from the specified channel. Setting the angle delta to zero, disables the Angle Delta alert.

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 of the channel to access (1 - [max channels for module]).
outangledelta: (Output) 0.0 or 0.05 <= AngleDelta <= 179.995 Deg.
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_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_SD_SetAngleDataInit()

NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetAngleDataInit ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Set Angle Delta Monitoring for the channel 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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) TRUE to enable. FALSE to disable.
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_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid setting is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_SD_SetAngleDelta()

NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_SetAngleDelta ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t angledelta )

Sets the angle delta in degrees before indicating an angle delta alter for the specified channel. Setting the angle delta to zero, disables the Angle Delta alert.

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 of the channel to access (1 - [max channels for module]).
angledelta: (Input) 0.0 or 0.05 <= AngleDelta <= 179.995 Deg.
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_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid angledelta is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.