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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_ConvertToVoltageD0 (uint32_t modid, nai_ad_range_t range, uint32_t rawdata, float64_t *outvoltage)
 Obsoleted. Please use naibrd_AD_ConvertToLevelD0() instead. Calculates the voltage associated with the A/D Module ID and given range and raw data for D0.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_ConvertToVoltageRawD0 (uint32_t modid, nai_ad_range_t range, float64_t voltage, uint32_t *outrawdata)
 Obsoleted. Please use naibrd_AD_ConvertToLevelRawD0() instead. Calculates the raw voltage associated with the A/D Module ID and given range and voltage for D0.
 

Detailed Description


Function Documentation

◆ naibrd_AD_ConvertToVoltageD0()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_ConvertToVoltageD0 ( uint32_t modid,
nai_ad_range_t range,
uint32_t rawdata,
float64_t * outvoltage )

Obsoleted. Please use naibrd_AD_ConvertToLevelD0() instead. Calculates the voltage associated with the A/D Module ID and given range and raw data for D0.

Parameters
modid: (Input) A/D Module ID.
range: (Input) Range Code.
rawdata: (Input) Raw Data Code.
outvoltage: (Output) Voltage in volts.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_RANGE when invalid range is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AD_ConvertToVoltageRawD0()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AD_ConvertToVoltageRawD0 ( uint32_t modid,
nai_ad_range_t range,
float64_t voltage,
uint32_t * outrawdata )

Obsoleted. Please use naibrd_AD_ConvertToLevelRawD0() instead. Calculates the raw voltage associated with the A/D Module ID and given range and voltage for D0.

Parameters
modid: (Input) A/D Module ID.
range: (Input) Range Code.
voltage: (Input) Voltage in volts.
outrawdata: (Output) raw data code.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_RANGE when invalid range is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.