|
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 *outposition) |
| Retrieves the position from the specified channel. The position value is scaled between -50 to +50.
|
|
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 -50 to +50.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetVelocity (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outvelocity) |
| Retrieves the velocity from the specified channel. The velocity value is resprented as 1/10th precentage change per second.
|
|
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. The velocity value is scaled between -50 to +50.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFrequency (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outfrequency) |
| Retrieves the 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 *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 *outrefvolt) |
| Retrieves the reference voltage in volts from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type, uint32_t *outstatus) |
| Retrieves the LVDT Status from the specified channel. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetVaSignal (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_signal_type_t type, float64_t *outsignal) |
| Retrieves Va signal from the module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetVbSignal (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_signal_type_t type, float64_t *outsignal) |
| Retrieves Va signal from the module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetVaVbSignal (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outsignal) |
| Retrieves Va + Vb signal from the module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type) |
| Clears the latched status for the specified LVDT channel and status type. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
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 measure inputs. 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 *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_SetChanMode (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_format_t mode) |
| Sets the LVDT Configuration Mode for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChanMode (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_format_t *outmode) |
| Retrieves the LVDT Configuration Mode from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, uint32_t setting) |
| Sets the channel status enable bit for the specified channel. When the channel status enable is set to "NAI_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, uint32_t *outsetting) |
| Gets the channel status enable bit for the specified channel. When the channel status enable is set to "NAI_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_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 *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 *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_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_SetInverse (int32_t cardIndex, int32_t module, int32_t channel, uint32_t value) |
| Sets the inverse for the Va, Vb or reference controls.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetInverse (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *outvalue) |
| Retrieves the inverse for the Va, Vb or reference controls.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetOpenThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t threshold) |
| Sets the minimum open level in volts before indicating a reference loss from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetOpenThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outthreshold) |
| Retrieves the minimum open level in volts before indicating a reference loss from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetShortThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t threshold) |
| Sets the minimum threshold for the short status.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetShortThreshold (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outthreshold) |
| Gets the minimum threshold for the short status.
|
|
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 *outScale) |
| Gets the LVDT scale from a specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetTRValue (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. 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_GetTRValue (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. 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_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 *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, nai_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, nai_lvdt_bandwidth_select_t *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_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 *outsetting) |
| Note: This routine has been deprecated and has been replaced with naibrd_LVDT_GetChanStatusEnable.
|
|
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_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_sd_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_sd_threshold_t type specified) 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. Note: When floating-point mode is disabled, the valid position range is from -50.0 to 50.0. When floating-point mode is enabled, the valid position range is based on the values in the floating-point position scale and offset registers. In floating-point mode, the valid position range goes from (-1.0 * position scale) + position offset to (1.0 * position scale) + position offset. Values in the position scale and offset registers are interpreted as IEEE-754 floating-point values for these calculations.
|
|
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. Note: When floating-point mode is disabled, the valid position range is from -50.0 to 50.0. When floating-point mode is enabled, the valid position range is based on the values in the floating-point position scale and offset registers. In floating-point mode, the valid position range goes from (-1.0 * position scale) + position offset to (1.0 * position scale) + position offset. Values in the position scale and offset registers are interpreted as IEEE-754 floating-point values for these calculations.
|
|
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_SetModuleBITEnable (int32_t cardIndex, int32_t module, nai_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, nai_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. Feature supported in FPGA Version >= 9.28.
|
|
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 *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 *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_SetBITErrorLimit (int32_t cardIndex, int32_t module, int32_t channel, float64_t bitErrorLimit) |
| Sets the BIT Test Error Limit for the specified LVDT channel. Feature supported in FPGA Version >= 9.28.
|
|
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. Feature supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type, nai_lvdt_enable_t intenable) |
| Sets the Interrupt Enable associated with the Status Type for the specified channel. By default, interrupts are disabled. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type, nai_lvdt_enable_t *outintenable) |
| Retrieves the Interrupt Enable associated with the Status Type from the specified channel. By default, interrupts are disabled. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type, nai_lvdt_interrupt_t interruptType) |
| Sets the Interrupt Edge/Level property for the specified channel and interrupt status type. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_status_type_t type, nai_lvdt_interrupt_t *outinterruptType) |
| Retrieves the Interrupt Edge/Level property for the specified channel and interrupt status type. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetInterruptVector (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, uint32_t interruptvector) |
| Sets the Interrupt Vector associated with the Status Type for the specified channel. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetInterruptVector (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, uint32_t *outinterruptvector) |
| Retrieves the Interrupt Vector associated with the Status Type from the specified channel. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetInterruptSteering (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, naibrd_int_steering_t steering) |
| Sets the Interrupt Steering which indicates the interrupt direction for the specified channel. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetInterruptSteering (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, naibrd_int_steering_t *outsteering) |
| Retrieves the Interrupt Steering which indicates the interrupt direction for the specified channel. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOCount (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *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 *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 *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 *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 *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 *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 *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 (0 to 671078 us) in intervals of 10.24 usec.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOSampleRateValue (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outsamplerate) |
| Retrieves the time in usec between samples taken (0 to 671078 us) in intervals of 10.24 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 10.24us.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetFIFOSampleRate (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *outsamplerate) |
| Retrieves the time between samples taken. The LSB is 10.24us.
|
|
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 *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 S/D 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 *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_GetFIFORealtimeStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *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 *outfifostatus) |
| Retrieves the LVDT Buffer Fifo Status for the specified channel.
|
|
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, nai_lvdt_interrupt_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, nai_lvdt_interrupt_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_SetOnboardRefFreq (int32_t cardIndex, int32_t module, float64_t frequency) |
| Sets the Frequency in Hz for the Optional Onboard Reference Supply. Frequency range is 47 to 10000 Hz.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetOnboardRefFreq (int32_t cardIndex, int32_t module, float64_t *outfrequency) |
| Retrieves the Frequency in Hz for the Optional Onboard Reference Supply. Frequency range is 47 to 10000 Hz.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetOnboardRefVoltage (int32_t cardIndex, int32_t module, float64_t voltage) |
| Sets the Voltage in volts for the Optional Onboard Reference Supply. Voltage range is 2 to 115 volts.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetOnboardRefVoltage (int32_t cardIndex, int32_t module, float64_t *outvoltage) |
| Retrieves the Voltage in volts for the Optional Onboard Reference Supply. Voltage range is 2 to 115 volts.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToPosition (uint32_t modid, uint32_t rawdata, float64_t *outposition) |
| Converts raw position data to an position value in scaled between -50.0 and 50.0.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToPositionRaw (uint32_t modid, float64_t position, uint32_t *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 *outvelocity) |
| Converts raw velocity data to an position value in scaled between -50.0 and 50.0.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_ConvertToVelocityRaw (uint32_t modid, float64_t velocity, uint32_t *outrawdata) |
| Converts scaled velocity value to raw velocity data.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_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_LVDT_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_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, nai_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, nai_lvdt_raw_t type, uint32_t *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, nai_lvdt_channel_raw_t type, uint32_t rawdata) |
| Sets the raw data value in the register associated with the channel and channel register type specified. BIT Error Limit feature supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_lvdt_channel_raw_t type, uint32_t *outrawdata) |
| Retrieves the raw data value in the register associated with the channel and channel register type specified. BIT Error Limit feature supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetStatusRaw (int32_t cardIndex, int32_t module, nai_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. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetStatusRaw (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, uint32_t *outstatusraw) |
| Retrieves the raw data value in the status register associated with the status type specified. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_SetInterruptEnableRaw (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, uint32_t statusintenabraw) |
| Sets the raw data value in the interrupt enable register associated with the status type specified. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_LVDT_GetInterruptEnableRaw (int32_t cardIndex, int32_t module, nai_lvdt_status_type_t type, uint32_t *outstatusintenabraw) |
| Retrieves the raw data value in the interrupt enable register associated with the status type specified. Feature NAI_LVDT_STATUS_SUMMARY supported in FPGA Version >= 9.28.
|
|