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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetAdvancedFunction (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_adv_function_type_t type, uint32_t inAdvData)
 Sets advanced function value to a specified channel associated with a specified type for a D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetAdvancedFunction (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_adv_function_type_t type, float64_t *outAdvData)
 Sets advanced function value to a specified channel associated with a specified type for a D/S module.
 

Detailed Description


Function Documentation

◆ naibrd_DS_GetAdvancedFunction()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetAdvancedFunction ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ds_adv_function_type_t type,
float64_t * outAdvData )

Sets advanced function value to a specified channel associated with a specified type for a D/S module.

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]).
type: (Input) Angle Type: refer to nai_ds_adv_function_type_t definitions.
outAdvData: (Output) Returns advanced function data from a specified channel of a D/S module.

the raw data value to a specified channel for a D/S module.

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_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DS_SetAdvancedFunction()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetAdvancedFunction ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ds_adv_function_type_t type,
uint32_t inAdvData )

Sets advanced function value to a specified channel associated with a specified type for a D/S module.

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]).
type: (Input) Angle Type: refer to nai_ds_adv_function_type_t definitions.
inAdvData: (Input) Writes advanced function data to a specified channel to a D/S module.

the raw data value to a specified channel for a D/S module.

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_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.