|
static nai_status_t | naibrd_LVDT_VerifyChannel (uint32_t modId, int32_t channel) |
|
static int32_t | GetChannelCount (uint32_t modId) |
|
static nai_status_t | isLVDTGen5Module (uint32_t modId) |
|
static nai_status_t | isLVDTGen5TwoChannelModule (uint32_t modid) |
|
static nai_status_t | isLVDTGen5LL2Module (uint32_t modId) |
|
static nai_status_t | naibrd_LVDT_VerifyBoolean (bool_t boolValue) |
|
static nai_status_t | naibrd_LVDT_VerifyChanMappedStatusType (naibrd_lvdt_chan_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_LVDT_VerifyChanMappedStatusLatchType (naibrd_lvdt_chan_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_LVDT_VerifyRawType (naibrd_lvdt_raw_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyModeType (naibrd_lvdt_format_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyBandwidth (uint32_t bandwidth) |
|
static nai_status_t | naibrd_LVDT_VerifyBWSel (naibrd_lvdt_bandwidth_select_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyChanRaw (naibrd_lvdt_channel_raw_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyChanRawWriteable (naibrd_lvdt_channel_raw_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyFloatingPointAttributesType (naibrd_lvdt_floating_point_attributes_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyThresholdType (naibrd_lvdt_threshold_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyThresholdValue (naibrd_lvdt_threshold_t type, float64_t value) |
|
static nai_status_t | naibrd_LVDT_VerifySignalType (naibrd_lvdt_signal_type_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyWiredetectType (naibrd_lvdt_detect_t type) |
|
static nai_status_t | naibrd_LVDT_VerifySignalIversionType (naibrd_lvdt_signal_inversion_type_t type) |
|
static nai_status_t | naibrd_LVDT_VerifySignalInversionRespType (naibrd_lvdt_signal_inversion_resp_value_type_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyEventMappedStatusType (naibrd_lvdt_event_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_LVDT_VerifyEventMappedStatusLatchType (naibrd_lvdt_event_mapped_status_type_t statusType) |
|
static nai_status_t | naibrd_LVDT_VerifyEventMappedStatusCategoryType (naibrd_lvdt_event_mapped_category_type_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyTwoWireType (naibrd_lvdt_2_wire_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyFIFOSampleRateValue (float64_t value) |
|
static nai_status_t | naibrd_LVDT_VerifyFIFOSampleRate (uint32_t sampleRate) |
|
static nai_status_t | naibrd_LVDT_VerifyFIFODataType (uint32_t dataType) |
|
static nai_status_t | naibrd_LVDT_VerifyFIFOTrigMode (uint32_t trigMode) |
|
static nai_status_t | naibrd_LVDT_VerifyInterruptTriggerType (naibrd_int_trigger_type_t triggerType) |
|
static nai_status_t | naibrd_LVDT_VerifyPosition (float64_t testPosition) |
|
static nai_status_t | naibrd_LVDT_VerifyStatusAccessType (nai_status_access_type_t accessType) |
|
static nai_status_t | naibrd_LVDT_VerifyInterruptSteeringType (naibrd_int_steering_t steering) |
|
static nai_status_t | naibrd_LVDT_VerifyTestEnableType (naibrd_lvdt_test_enable_t type) |
|
static nai_status_t | naibrd_LVDT_VerifyLatchType (uint32_t latch) |
|
static nai_status_t | naibrd_LVDT_GetEventMappedInterruptShift (naibrd_lvdt_event_mapped_status_type_t type, int32_t *p_outShiftCount) |
|
NAIBRDFUNC int32_t NAIAPI | naibrd_LVDT_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified LVDT Module ID.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outposition) |
| Retrieves the position from the specified channel. The position value is scaled between -100 to +100.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTwoWirePosition (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *p_outposition) |
| Retrieves the position in 2 wire A or B side of the specified channel. The position value is scaled between -100 to +100.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetVelocity (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outvelocity) |
| Retrieves the velocity from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTwoWireVelocity (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *p_outvelocity) |
| Retrieves the velocity in 2 wire A or B side of the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFrequency (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outfrequency) |
| Retrieves the reference source frequency in Hertz from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetSignalVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outsigVolt) |
| Retrieves the signal voltage (VLL) in volts from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetRefVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outrefVolt) |
| Retrieves the reference voltage in volts from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit) |
| Retrieves the LVDT Status specified by the status type of a specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType) |
| Clear the LVDT Status specified by the status type of a specified channel. note If any realtime status type is provided, the function will return NAI_ERROR_INVALID_VALUE since realtime status bits are not cleared by the user.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetLatch (int32_t cardIndex, int32_t module, int32_t channel, uint32_t latch) |
| Sets the Latch Control register to Latch the Position Data for the specified channel. The Latch Control register allows for simultaneously measurement. After latching the channel, the position data is latched until it is released by reading the channel's Position Data register or setting the Latch Control register to 0.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetLatch (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outlatch) |
| Retrieves the state of the Latch Control bit of the Latch Control Register for the specified channel. The Latch Control register allows simultaneous input measurements. After latching the channel, the position data is latched until it is released by reading the channel's Position Data register or setting the Latch Control register to 0.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetSignalMagnitude (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_type_t type, float64_t *p_outsignal) |
| Retrieves the signal Root-Mean-Square(RMS) value of the selected LVDT signal. The available selected LVDT signals are Va, Vb, and Va + Vb. This function works with LVDT modules that support hardware floating point operation only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetSignalInversion (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_inversion_type_t sigType, naibrd_lvdt_signal_inversion_resp_value_type_t sigInvRespType) |
| Sets the invert signal selection. The signal inversion control is bit mapped to a register and is defined below: Definition: D0: Inverted Va = 1, Non-inverted Va = 0. D1: Inverted Vb = 1, Non-inverted Vb = 0. D2: Inverted Ref = 1, Non-inverted Ref = 0. D3: Vb-Va = 1, Va-Vb = 0. This function works with LVDT modules that support hardware floating point operation only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetSignalInversion (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_inversion_type_t sigType, naibrd_lvdt_signal_inversion_resp_value_type_t *p_outsigInvRespType) |
| Retrieves the invert signal selection. The signal inversion control is bit mapped to a register and is defined below: Definition: D0: Inverted Va = 1, Non-inverted Va = 0. D1: Inverted Vb = 1, Non-inverted Vb = 0. D2: Inverted Ref = 1, Non-inverted Ref = 0. D3: Vb-Va = 1, Va-Vb = 0. This function works with LVDT modules that support hardware floating point operation only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_format_t mode) |
| Sets the LVDT Configuration Mode (2/3-wires, 4-wries) for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_format_t *p_outmode) |
| Retrieves the LVDT Configuration Mode (2/3-wires, 4-wries) from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Sets the channel status enable bit for the specified channel. When the channel status enable is set to "NAIBRD_LVDT_CHAN_STATUS_ENABLE_ACTIVE", it will report any bad status in the following module functions: 1. BIT Status,.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable) |
| Gets the channel status enable bit for the specified channel. When the channel status enable is set to "NAIBRD_LVDT_CHAN_STATUS_ENABLE_ACTIVE", it will report any bad status in the following module functions: 1. BIT Status,.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_threshold_t type, float64_t threshold) |
| Sets the threshold (depending on the naibrd_lvdt_threshold_t type specified) for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_threshold_t type, float64_t *p_outthreshold) |
| Retrieves threshold (depending on the naibrd_lvdt_threshold_t type specified) for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFloatingPointPositionOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t positionOffset) |
| Sets the HW floating point position offset 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_GetFloatingPointPositionOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outpositionOffset) |
| Retrieves the HW floating point position offset 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_SetFloatingPointPositionScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t positionScale) |
| Sets the HW floating point position scale factor 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_GetFloatingPointPositionScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outpositionScale) |
| Retrieves the HW floating point position scale factor 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_SetFloatingPointVelocityOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t velocityOffset) |
| Sets the HW floating point velocity offset 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_GetFloatingPointVelocityOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outVelocityOffset) |
| Retrieves the HW floating point velocity offset 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_SetFloatingPointVelocityScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t velocityScale) |
| Sets the HW floating point velocity scale factor 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_GetFloatingPointVelocityScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outVelocityScale) |
| Retrieves the HW floating point velocity scale factor 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_SetBandwidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t bandwidth) |
| Sets the Bandwidth for the specified channel in 2 Hz resolution from 6Hz to 1280Hz.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetBandwidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outbandwidth) |
| Retrieves the Bandwidth from the specified channel in 2 Hz resolution from 6Hz to 1280Hz.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetBandwidthSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_bandwidth_select_t bwSelect) |
| Sets the Bandwidth Select for the specified channel. The BW Select can be set to "Automatic" or "Manual". When in "Automatic BW" mode, the input reference frequency is read and the bandwidth is automatically adjusted to approximately 1/10 of the carrier frequency. The Auto Bandwidth range has a minimum value of 10 Hz and a maximum value of 100 Hz. When in "Manual BW" mode, the user can enter the bandwidth between the range of 6 Hz and 1280 Hz, in 2 Hz increments.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetBandwidthSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_bandwidth_select_t *p_outbwSelect) |
| Retrieves the Bandwidth Select from the specified channel. The BW Select can be set to "Automatic" or "Manual". When in "Automatic BW" mode, the input reference frequency is read and the bandwidth is automatically adjusted to approximately 1/10 of the carrier frequency. The Auto Bandwidth range has a minimum value of 10 Hz and a maximum value of 100 Hz. When in "Manual BW" mode, the user can enter the bandwidth between the range of 6 Hz and 1280 Hz, in 2 Hz increments.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetLVDTScale (int32_t cardIndex, int32_t module, int32_t channel, uint32_t scale) |
| Sets the LVDT scale from a specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetLVDTScale (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outscale) |
| Retrieves the LVDT scale from a specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetTRValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t trValue) |
| Sets the LVDT transformation ratio value for 2-wire A side of a specified channel (only for 2-Wire mode).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTRValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outTrValue) |
| Retrieves the LVDT transformation ratio value for 2-wire A side of a specified channel (only for 2-Wire mode).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetTwoWireTRValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, uint32_t trValue) |
| Sets the LVDT transformation ratio value for 2-wire A or B side of the specified channel (only for 2-Wire mode). Currently independent TR value for B-side is not supported. Use naibrd_lvdt_2_wire_t type with the value NAIBRD_LVDT_TWO_WIRE_A to set the TR ratio for both A and B side of the specific channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTwoWireTRValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, uint32_t *p_outTrValue) |
| Retrieves the LVDT transformation ratio value for 2-wire A or B side of the specified channel (only for 2-Wire mode). Currently independent TR value for B-side is not supported. Use naibrd_lvdt_2_wire_t type with the value NAIBRD_LVDT_TWO_WIRE_A to set the TR ratio for both A and B side of the specific channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_floating_point_attributes_t attributeType, float64_t attributeValue) |
| Sets the HW floating point position or velocity offset or scale factor (depending on the specified naibrd_lvdt_floating_point_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_GetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_floating_point_attributes_t attributeType, float64_t *p_outAttributeValue) |
| Retrieves the HW floating point position or velocity offset or scale factor (depending on the specified naibrd_lvdt_floating_point_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_GetDetectValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_detect_t detectType, float64_t *p_outdetect) |
| Retrieves the Va/Vb detect value (depending on the naibrd_lvdt_detect_t type specified) for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetBITErrorLimit (int32_t cardIndex, int32_t module, int32_t channel, float64_t bitErrorLimit) |
| Sets the BIT Test Error Limit for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetBITErrorLimit (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outbitErrorLimit) |
| Retrieves the BIT Test Error Limit for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t deltaPosition) |
| Sets the Delta Position Value for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outDeltaPosition) |
| Retrieves the Delta Position Value for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetInitDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Sets the Init Delta Position Register Value for the specified LVDT channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, bool_t enable) |
| Sets the Interrupt Enable for the specified LVDT channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, bool_t *p_outenable) |
| Retrieves the Interrupt Enable for the specified LVDT channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
| Sets the Interrupt Edge/Level property for the specified LVDT channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
| Retrieves the Interrupt Edge/Level property for the specified LVDT channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t vector) |
| Sets the Interrupt Vector for the specified interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outVector) |
| Retrieves the Interrupt Vector for the specified interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_steering_t steering) |
| Sets the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_steering_t *p_outSteering) |
| Retrieves the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t bitEnable) |
| Enables/Disables the BIT test specified by the type parameter. BITs are described as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t *p_outbitEnable) |
| Retrieves the state (Enabled or disabled) of the BIT test specified by the type parameter. BITs are described as follows:
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_CheckPowerOnBITComplete (int32_t cardIndex, int32_t module, bool_t *p_outpbitComplete) |
| Retrieves the Power-On BIT (PBIT) status (complete or incomplete) for the specified module. The PBIT result will be in the BIT status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetTestPosition (int32_t cardIndex, int32_t module, float64_t testPosition) |
| Sets the Test Position used for the D0 Test.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTestPosition (int32_t cardIndex, int32_t module, float64_t *p_outtestPosition) |
| Retrieves the Test Position used for the D0 Test.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetD2TestVerifyValue (int32_t cardIndex, int32_t module, uint32_t value) |
| Sets the D2 Test Verify value. When the D2 test is enabled, the board will set the D2 Test Verify register to 0x55. An external application can write a value to the D2 Test Verify register and then read it after 30 seconds to verify that the background bit testing (D2 test) is activated.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetD2TestVerifyValue (int32_t cardIndex, int32_t module, uint32_t *p_outvalue) |
| Retrieves the D2 Test Verify value. When the D2 test is enabled, the board will set the D2 Test Verify register to 0x55. An external application can write a value to the D2 Test Verify register and then read it after 30 seconds to verify that the background bit testing (D2 test) is activated.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOCount (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcount) |
| Retrieves the number of items in the LVDT Buffer Fifo for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ReadFIFORaw32 (int32_t cardIndex, int32_t module, int32_t channel, uint32_t count, uint32_t outdata[], uint32_t *p_outread) |
| Retrieves multiple values from the LVDT Fifo Buffer for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outvalue) |
| Retrieves one value from the LVDT Fifo Buffer for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOAlmostEmptyThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold) |
| Sets the number of data words the FIFO will have left before setting the AlmostEmpty bit in the FIFO status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOAlmostEmptyThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold) |
| Retrieves the count set in the AlmostEmpty register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOAlmostFullThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold) |
| Sets the number of data words the FIFO will receive before setting the AlmostFull bit in the FIFO status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOAlmostFullThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold) |
| Retrieves the count set in the AlmostFull register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOLoThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold) |
| Sets the number of data words the FIFO will have left before setting the LoThreshold bit in the FIFO status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOLoThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold) |
| Retrieves the count set in the LoThreshold register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOHiThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold) |
| Sets the number of data words the FIFO will receive before setting the HiThreshold bit in the FIFO status register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOHiThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold) |
| Retrieves the count set in the HiThreshold register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFODelay (int32_t cardIndex, int32_t module, int32_t channel, uint32_t delay) |
| Sets the time delay before samples are taken after the trigger occurs. The LSB of this value is 10.24us. The maximum delay is about 335 ms.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFODelay (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdelay) |
| Retrieves the time delay before samples are taken after the trigger occurs. This LSB of this value is 10.24us.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOSize (int32_t cardIndex, int32_t module, int32_t channel, uint32_t size) |
| Sets the number of samples we take after the trigger occurs.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOSize (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outsize) |
| Retrieves the number of samples we take after the trigger occurs.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOSampleRateValue (int32_t cardIndex, int32_t module, int32_t channel, float64_t samplerate) |
| Sets the time in usec between samples taken (4.096 us to 268431.36 us) in intervals of 4.096 usec.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOSampleRateValue (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outsamplerate) |
| Retrieves the time in usec between samples taken (4.096 us to 268431.36 us) in intervals of 4.096 usec.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOSampleRate (int32_t cardIndex, int32_t module, int32_t channel, uint32_t samplerate) |
| Sets the time between samples taken. The LSB is 4.096us.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOSampleRate (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outsamplerate) |
| Retrieves the time between samples taken. The LSB is 4.096us.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFODataType (int32_t cardIndex, int32_t module, int32_t channel, uint32_t datatype) |
| Sets the type of data to acquire in the buffer.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFODataType (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdatatype) |
| Retrieves the type of data to acquire in the buffer.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearFIFO (int32_t cardIndex, int32_t module, int32_t channel) |
| Clears the LVDT FIFO buffers for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetFIFOTrigMode (int32_t cardIndex, int32_t module, int32_t channel, uint32_t trigmode) |
| Sets the trigger mode to start data buffering.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOTrigMode (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outtrigmode) |
| Retrieves the trigger mode to start data buffering.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SoftwareTrigger (int32_t cardIndex, int32_t module) |
| Sends a software trigger to all channels.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t statusType, nai_status_bit_t *p_outstatus) |
| Retrieves the event mapped status of a channel for a specific event mapped status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t statusType) |
| Clears the LVDT Event Mapped Latched Status for the specified channel and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, bool_t enable) |
| Sets the Event Mapped Interrupt Enable for the specified LVDT channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, bool_t *p_outenable) |
| Retrieves the Event Mapped Interrupt Enable for the specified LVDT channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, naibrd_int_trigger_type_t triggerType) |
| Sets the Event Mapped Interrupt Edge/Level property for the specified LVDT channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outtriggerType) |
| Retrieves the Event Mapped Interrupt Edge/Level property for the specified LVDT channel and event mapped interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t vector) |
| Sets the Event Mapped Interrupt Vector for the specified LVDT channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outVector) |
| Retrieves the Event Mapped Interrupt Vector for the specified LVDT channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, naibrd_int_steering_t steering) |
| Sets the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified LVDT channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, naibrd_int_steering_t *p_outSteering) |
| Retrieves the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified LVDT channel and event mapped interrupt status category type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToPosition (uint32_t modId, uint32_t rawData, float64_t *p_outposition) |
| Converts raw position data to a position value in % scaled between -100.0% and 100.0%.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToPositionRaw (uint32_t modId, float64_t position, uint32_t *p_outrawData) |
| Converts scaled position value to raw position data.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToVelocity (uint32_t modId, uint32_t rawData, float64_t *p_outvelocity) |
| Converts raw velocity data to a scaled velocity value in %/second.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToFrequency (uint32_t modId, uint32_t rawData, float64_t *p_outfreq) |
| Converts raw frequency data to a frequency value represented as a 64 bit float.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToVoltage (uint32_t modId, uint32_t rawData, float64_t *p_outvoltage) |
| Converts raw voltage data to a voltage value represented as a 64 bit float.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_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_LVDT_SetRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_raw_t type, uint32_t rawData) |
| Sets the raw data value in the register associated to the register type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_raw_t type, uint32_t *p_outrawData) |
| Sets the raw data value in the register associated with the register type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_channel_raw_t type, uint32_t rawData) |
| Sets the raw data value in the register associated with the channel and channel register type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_channel_raw_t type, uint32_t *p_outrawData) |
| Retrieves the raw data value in the register associated with the channel and channel register type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outstatusRaw) |
| Retrieves the raw data value in the status register associated with the status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, 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_SetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t enableRaw) |
| Sets the raw data value in the interrupt enable register associated with the status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outEnableRaw) |
| Retrieves the raw data value in the interrupt enable register associated with the status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_status_access_type_t accessType, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outstatusRaw) |
| Retrieves the raw data value in the event mapped status register associated with the LVDT channel and status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t statusRaw) |
| Clears the raw data value in the event mapped status register associated with the LVDT channel and status type specified and the bits specified in the parameter statusRaw.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEventMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t enableRaw) |
| Sets the raw data value in the event mapped interrupt enable register associated with the LVDT channel and status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEventMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outEnableRaw) |
| Retrieves the raw data value in the event mapped interrupt enable register associated with the LVDT channel and status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_lvdt_module_power_reset_status_type_t modulePowerResetStatusType, bool_t *p_outmodulePowerResetStatusBit) |
| Retrieves the bit specified by the module power reset status type from the module power reset status register for the specified LVDT module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_lvdt_module_power_reset_status_type_t modulePowerResetStatusType) |
| Clears the bit specified by the module power reset status type in the module power reset status register for the specified LVDT module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_lvdt_module_power_reset_type_t modulePowerResetType, bool_t modulePowerResetBit) |
| Sets the bit specified by the module power reset type in the module power reset register for the specified LVDT module. If the bit was set, the hardware will acknowledge it by setting the corresponding bit back to 0.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_lvdt_module_power_reset_type_t modulePowerResetType, bool_t *p_outmodulePowerResetBit) |
| Retrieves the bit specified by the module power reset type from the module power reset register for the specified LVDT module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t enable) |
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t *p_outenable) |
|