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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetActiveChannel (int32_t cardIndex, int32_t module, int32_t channel, uint32_t setting)
 Note: This routine has been deprecated and has been replaced with naibrd_LVDT_SetChanStatusEnable.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetActiveChannel (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outsetting)
 Note: This routine has been deprecated and has been replaced with naibrd_LVDT_GetChanStatusEnable.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetSigLossThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t threshold)
 Sets the minimum signal voltage level in volts before indicating a signal loss for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetSigLossThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outthreshold)
 Retrieves the minimum signal voltage level in volts before indicating a signal loss from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetRefLossThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t threshold)
 Sets the minimum reference voltage level in volts before indicating a reference loss for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetRefLossThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outthreshold)
 Retrieves the minimum reference voltage level in volts before indicating a reference loss from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointPositionAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_position_attributes_t positionAttributeType, float64_t attributeValue)
 Sets the HW floating point position offset or scale factor (depending on the specified naibrd_lvdt_position_attributes_t type) for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointPositionAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_position_attributes_t positionAttributeType, float64_t *p_outAttributeValue)
 Retrieves the HW floating point position offset or scale factor (depending on the specified naibrd_lvdt_position_attributes_t type) for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_status_type_t type, uint32_t *p_outstatus)
 Retrieves the LVDT Status from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_status_type_t type)
 Clears the latched status for the specified LVDT channel and status type. To clear the selected status type of a specified channel, wtite a 1 to the channel bit mapped status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFORealtimeStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outfifostatus)
 Retrieves the LVDT Buffer Fifo Status for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOLatchedStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outfifostatus)
 Retrieves the LVDT Buffer Fifo Status for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearFIFOLatchedStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t fifostatus)
 Clears the LVDT Buffer Fifo Status for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_status_type_t type, uint32_t statusRaw)
 Sets the raw data value in the status register associated with the status type specified. This function may be used to clear multiple latched status bits in the status word.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_status_type_t type, uint32_t *p_outstatusRaw)
 Retrieves the raw data value in the status register associated with the status type specified.