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

Functions

static nai_status_t naibrd_DL_ConvertRawToPosition (uint32_t rawdata, float64_t *p_outposition)
 Converts raw value to position value.
 
static nai_status_t naibrd_DL_ConvertPositionToRaw (float64_t inPosition, int32_t *p_outrawData)
 Converts position to raw position value.
 
static nai_status_t naibrd_DL_ConvertRawToPhase (uint32_t modId, uint32_t rawdata, float64_t *p_outphase)
 Converts raw value to phase value.
 
static nai_status_t naibrd_DL_ConvertPhaseToRaw (uint32_t modId, float64_t inPhase, uint32_t *p_outrawData)
 Converts phase to raw phase value.
 

Detailed Description


Function Documentation

◆ naibrd_DL_ConvertPhaseToRaw()

static nai_status_t naibrd_DL_ConvertPhaseToRaw ( uint32_t modId,
float64_t inPhase,
uint32_t * p_outrawData )
static

Converts phase to raw phase value.

Parameters
modId: (Input) D/L Module ID.
inPhase: (Input) Phase value.
p_outrawData: (Output) Raw phase value.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DL_ConvertPositionToRaw()

static nai_status_t naibrd_DL_ConvertPositionToRaw ( float64_t inPosition,
int32_t * p_outrawData )
static

Converts position to raw position value.

Parameters
inPosition: (Input) Position value.
p_outrawData: (Output) Raw position value.
Returns
  • NAI_SUCCESS

◆ naibrd_DL_ConvertRawToPhase()

static nai_status_t naibrd_DL_ConvertRawToPhase ( uint32_t modId,
uint32_t rawdata,
float64_t * p_outphase )
static

Converts raw value to phase value.

Parameters
modId: (Input) D/L Module ID.
rawdata: (Input) Raw phase value.
p_outphase: (Output) Phase value.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DL_ConvertRawToPosition()

static nai_status_t naibrd_DL_ConvertRawToPosition ( uint32_t rawdata,
float64_t * p_outposition )
static

Converts raw value to position value.

Parameters
rawdata: (Input) Raw position value.
p_outposition: (Output) Position value.
Returns
  • NAI_SUCCESS