Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToAngle (uint32_t modid, uint32_t rawdata, float64_t *outangle) |
Converts raw angle data to an angle value in degrees. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToAngleRaw (uint32_t modid, float64_t angle, uint32_t *outrawdata) |
Converts Angle value to raw angle value. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToVelocity (uint32_t modid, uint32_t rawdata, float64_t rawvelscale, float64_t *outvelocity) |
Converts raw velocity data to a velocity value in RPS. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToFrequency (uint32_t modid, uint32_t rawdata, float64_t *outfreq) |
Converts raw frequency data to a frequency value represented as a 64 bit float. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToVoltage (uint32_t modid, uint32_t rawdata, float64_t *outvoltage) |
Converts raw voltage data to a voltage value represented as a 64 bit float. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SD_ConvertToVoltageRaw (uint32_t modid, float64_t voltage, uint32_t *p_outrawData) |
Converts scaled voltage value to raw voltage data. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToAngle | ( | uint32_t | modid, |
uint32_t | rawdata, | ||
float64_t * | outangle ) |
Converts raw angle data to an angle value in degrees.
modid | : (Input) SD Module ID |
rawdata | : (Input) Raw angle data |
outangle | : (Output) Angle value in degrees |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToAngleRaw | ( | uint32_t | modid, |
float64_t | angle, | ||
uint32_t * | outrawdata ) |
Converts Angle value to raw angle value.
modid | : (Input) SD Module ID |
angle | : (Input) Angle value. |
outrawdata | : (Output) Raw angle value. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToFrequency | ( | uint32_t | modid, |
uint32_t | rawdata, | ||
float64_t * | outfreq ) |
Converts raw frequency data to a frequency value represented as a 64 bit float.
modid | : (Input) SD Module ID |
rawdata | : (Input) Raw frequency value. |
outfreq | : (Output) Frequency value. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToVelocity | ( | uint32_t | modid, |
uint32_t | rawdata, | ||
float64_t | rawvelscale, | ||
float64_t * | outvelocity ) |
Converts raw velocity data to a velocity value in RPS.
modid | : (Input) SD Module ID |
rawdata | : (Input) Raw velocity data |
rawvelscale | : (Input) Raw velocity scale data |
outvelocity | : (Output) Velocity value in RPS |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToVoltage | ( | uint32_t | modid, |
uint32_t | rawdata, | ||
float64_t * | outvoltage ) |
Converts raw voltage data to a voltage value represented as a 64 bit float.
modid | : (Input) SD Module ID |
rawdata | : (Input) Raw Voltage Data |
outvoltage | : (Output) Voltage value as a float |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SD_ConvertToVoltageRaw | ( | uint32_t | modid, |
float64_t | voltage, | ||
uint32_t * | p_outrawData ) |
Converts scaled voltage value to raw voltage data.
modid | : (Input) SD Module ID. |
voltage | : (Input)Scaled Voltage value. |
p_outrawData | : (Output) Raw voltage value. |