Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_da_legacy.c File Reference

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetCurrentMeasurement (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outcurrent)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetRange (int32_t cardIndex, int32_t module, int32_t channel, nai_da_data_type_t type, nai_da_range_mode_t mode, float64_t range)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetRange (int32_t cardIndex, int32_t module, int32_t channel, uint32_t type, nai_da_range_mode_t *p_outmode, float64_t *p_outrange)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type, nai_status_bit_t *p_outstatusBit)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetFloatingPointOffset (int32_t cardIndex, int32_t module, int32_t channel, float64_t offset)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetFloatingPointOffset (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outoffset)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetFloatingPointScaleFactor (int32_t cardIndex, int32_t module, int32_t channel, float64_t scaleFactor)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetFloatingPointScaleFactor (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outscaleFactor)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetPowerSupplyEnable (int32_t cardIndex, int32_t module, nai_da_powersupply_ctrl_t enable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetPowerSupplyEnable (int32_t cardIndex, int32_t module, nai_da_powersupply_ctrl_t *p_outenable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChannelPowerSupplyEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_da_powersupply_ctrl_t enable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChannelPowerSupplyEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_da_powersupply_ctrl_t *p_outenable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type, bool_t enable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type, bool_t *p_outenable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptVector (int32_t cardIndex, int32_t module, nai_da_status_type_t type, uint32_t vector)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptVector (int32_t cardIndex, int32_t module, nai_da_status_type_t type, uint32_t *p_outvector)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type, naibrd_int_trigger_type_t triggerMode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_da_status_type_t type, naibrd_int_trigger_type_t *p_outtriggerMode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptSteering (int32_t cardIndex, int32_t module, nai_da_status_type_t type, naibrd_int_steering_t steering)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptSteering (int32_t cardIndex, int32_t module, nai_da_status_type_t type, naibrd_int_steering_t *p_outsteering)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToData16 (uint32_t modId, nai_da_data_type_t type, nai_da_range_mode_t mode, nai_da_range_t range, uint16_t rawData, float64_t *p_outdata)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToDataRaw16 (uint32_t modId, nai_da_data_type_t type, nai_da_range_mode_t mode, nai_da_range_t range, float64_t data, uint16_t *p_outrawData)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToRange (int32_t cardIndex, int32_t module, nai_da_data_type_t type, uint32_t rawData, nai_da_range_mode_t *p_outmode, float64_t *p_outrange)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToRangeRaw (int32_t cardIndex, int32_t module, nai_da_data_type_t type, nai_da_range_mode_t mode, float64_t range, uint32_t *p_outrawRange)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetStatusRaw (int32_t cardIndex, int32_t module, nai_da_status_type_t type, uint32_t *p_outstatusRaw)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ClearStatusRaw (int32_t cardIndex, int32_t module, nai_da_status_type_t type, uint32_t statusRaw)
 

Function Documentation

◆ naibrd_DA_ClearStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ClearStatus ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type )

◆ naibrd_DA_ClearStatusRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ClearStatusRaw ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
uint32_t statusRaw )

◆ naibrd_DA_ConvertToData16()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToData16 ( uint32_t modId,
nai_da_data_type_t type,
nai_da_range_mode_t mode,
nai_da_range_t range,
uint16_t rawData,
float64_t * p_outdata )

◆ naibrd_DA_ConvertToDataRaw16()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToDataRaw16 ( uint32_t modId,
nai_da_data_type_t type,
nai_da_range_mode_t mode,
nai_da_range_t range,
float64_t data,
uint16_t * p_outrawData )

◆ naibrd_DA_ConvertToRange()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToRange ( int32_t cardIndex,
int32_t module,
nai_da_data_type_t type,
uint32_t rawData,
nai_da_range_mode_t * p_outmode,
float64_t * p_outrange )

◆ naibrd_DA_ConvertToRangeRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ConvertToRangeRaw ( int32_t cardIndex,
int32_t module,
nai_da_data_type_t type,
nai_da_range_mode_t mode,
float64_t range,
uint32_t * p_outrawRange )

◆ naibrd_DA_GetChannelPowerSupplyEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChannelPowerSupplyEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_powersupply_ctrl_t * p_outenable )

◆ naibrd_DA_GetCurrentMeasurement()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetCurrentMeasurement ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outcurrent )

◆ naibrd_DA_GetFloatingPointOffset()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetFloatingPointOffset ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outoffset )

◆ naibrd_DA_GetFloatingPointScaleFactor()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetFloatingPointScaleFactor ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outscaleFactor )

◆ naibrd_DA_GetInterruptEdgeLevel()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptEdgeLevel ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type,
naibrd_int_trigger_type_t * p_outtriggerMode )

◆ naibrd_DA_GetInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type,
bool_t * p_outenable )

◆ naibrd_DA_GetInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptSteering ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
naibrd_int_steering_t * p_outsteering )

◆ naibrd_DA_GetInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetInterruptVector ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
uint32_t * p_outvector )

◆ naibrd_DA_GetPowerSupplyEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetPowerSupplyEnable ( int32_t cardIndex,
int32_t module,
nai_da_powersupply_ctrl_t * p_outenable )

◆ naibrd_DA_GetRange()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetRange ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t type,
nai_da_range_mode_t * p_outmode,
float64_t * p_outrange )

◆ naibrd_DA_GetStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetStatus ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type,
nai_status_bit_t * p_outstatusBit )

◆ naibrd_DA_GetStatusRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetStatusRaw ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
uint32_t * p_outstatusRaw )

◆ naibrd_DA_SetChannelPowerSupplyEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChannelPowerSupplyEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_powersupply_ctrl_t enable )

◆ naibrd_DA_SetFloatingPointOffset()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetFloatingPointOffset ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t offset )

◆ naibrd_DA_SetFloatingPointScaleFactor()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetFloatingPointScaleFactor ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t scaleFactor )

◆ naibrd_DA_SetInterruptEdgeLevel()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptEdgeLevel ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type,
naibrd_int_trigger_type_t triggerMode )

◆ naibrd_DA_SetInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_status_type_t type,
bool_t enable )

◆ naibrd_DA_SetInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptSteering ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
naibrd_int_steering_t steering )

◆ naibrd_DA_SetInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetInterruptVector ( int32_t cardIndex,
int32_t module,
nai_da_status_type_t type,
uint32_t vector )

◆ naibrd_DA_SetPowerSupplyEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetPowerSupplyEnable ( int32_t cardIndex,
int32_t module,
nai_da_powersupply_ctrl_t enable )

◆ naibrd_DA_SetRange()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetRange ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_da_data_type_t type,
nai_da_range_mode_t mode,
float64_t range )