|
static int32_t | GetChannelCount (uint32_t modId) |
|
static nai_status_t | naibrd_VR_VerifyChannel (uint32_t modId, int32_t channel) |
|
static nai_status_t | naibrd_VR_VerifyBoolean (bool_t enable) |
|
static nai_status_t | naibrd_VR_VerifyMeasuredValueType (naibrd_vr_measured_value_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyConfigValueType (naibrd_vr_config_value_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyChanMappedControlType (naibrd_vr_chan_mapped_control_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyChanMappedStatusType (naibrd_vr_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyChanMappedStatusLatchType (naibrd_vr_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyRangeSelectType (naibrd_vr_range_select_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyAutoDownRangeTimeType (naibrd_vr_auto_down_range_time_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyTestEnableType (naibrd_vr_test_enable_t type) |
|
static nai_status_t | naibrd_VR_VerifyInterruptTriggerType (naibrd_int_trigger_type_t type) |
|
static nai_status_t | naibrd_VR_VerifyInterruptSteeringType (naibrd_int_steering_t type) |
|
static nai_status_t | naibrd_VR_VerifyRawType (naibrd_vr_raw_t type) |
|
static nai_status_t | naibrd_VR_VerifyRawReadableType (naibrd_vr_raw_t type) |
|
static nai_status_t | naibrd_VR_VerifyChannelRawType (naibrd_vr_channel_raw_t type) |
|
static nai_status_t | naibrd_VR_VerifyChannelRawWriteableType (naibrd_vr_channel_raw_t type) |
|
static nai_status_t | naibrd_VR_ConvertRawToValue (naibrd_vr_conversion_type_t type, uint32_t rawData, float64_t *p_outValue) |
|
static nai_status_t | naibrd_VR_ConvertValueToRaw (naibrd_vr_conversion_type_t type, float64_t value, uint32_t *p_outrawData) |
|
NAIBRDFUNC int32_t NAIAPI | naibrd_VR_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified VR Module ID.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetMeasurement (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_measured_value_type_t measValueType, float64_t *p_outMeasurement) |
| Retrieves a measurement from the specified VR channel, based on the measured value type specified. NOTE: For FPGA Revision 2.2 and greater, the maximum input is 100V. For FPGA Revisions less than 2.2, the maximum input is 65V.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outStatusBit) |
| Retrieves the VR Status from the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t statusType) |
| Clears the latched status for the specified VR channel and latched status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Enables/disables status reporting for the specified VR channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outEnable) |
| Retrieves the enabled/disabled state of status reporting for the specified VR channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetConfigValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_config_value_type_t configValueType, float64_t configValue) |
| Sets the configuration value of the specified VR module and channel, based on the naibrd_vr_config_value_type_t configuration value type specified. NOTE: For FPGA Revision 2.2 and greater, the maximum input is 100V. For FPGA Revisions less than 2.2, the maximum input is 65V.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetConfigValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_config_value_type_t configValueType, float64_t *p_outConfigValue) |
| Retrieves the configuration value from the specified VR module and channel, based on the naibrd_vr_config_value_type_t configuration value type specified. NOTE: For FPGA Revision 2.2 and greater, the maximum input is 100V. For FPGA Revisions less than 2.2, the maximum input is 65V.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChanMappedControl (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_control_type_t controlType, bool_t enable) |
| Sets the channel-mapped control bit of the specified VR module and channel, based on the naibrd_vr_chan_mapped_control_type_t channel-mapped control type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedControl (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_control_type_t controlType, bool_t *p_outEnable) |
| Retrieves the channel-mapped control bit from the specified VR module and channel, based on the naibrd_vr_chan_mapped_control_type_t channel-mapped control type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetPowerSupplyEnable (int32_t cardIndex, int32_t module, bool_t enable) |
| Sets the enabled/disabled state of the power supply for the specified VR module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetPowerSupplyEnable (int32_t cardIndex, int32_t module, bool_t *p_outEnable) |
| Retrieves the enabled/disabled state of the power supply for the specified VR module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetRangeSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_range_select_type_t range) |
| Sets the signal gain, which sets the effective measurement range, for the specified VR module and channel. For the list of valid range selections, refer to naibrd_vr_range_select_type_t definition.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetRangeSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_range_select_type_t *p_outRange) |
| Retrieves the signal gain, which sets the effective measurement range, for the specified VR module and channel. For the list of valid range selections, refer to naibrd_vr_range_select_type_t definition.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetZeroTorqueSignalPhaseToPhaseReading (int32_t cardIndex, int32_t module, int32_t channel) |
| Sets the zero torque signal phase to the current phase reading for the specified VR module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetZeroTorqueSignalPhaseToPhaseReading (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outEnable) |
| Retrieves the state of the bit corresponding to the specified VR channel in the register that sets the zero torque signal phase to the current phase reading for the specified VR module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_ResetCycleCount (int32_t cardIndex, int32_t module, int32_t channel) |
| Resets the cycle counter for the specified VR module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetAutoDownRangeTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_auto_down_range_time_type_t autoDownRangeTime) |
| Sets the auto down-range time for the specified VR module and channel. For the list of valid auto down-range time selections, refer to naibrd_vr_auto_down_range_time_type_t definition.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetAutoDownRangeTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_auto_down_range_time_type_t *p_outAutoDownRangeTime) |
| Retrieves the auto down-range time for the specified VR module and channel. For the list of valid auto down-range time selections, refer to naibrd_vr_auto_down_range_time_type_t definition.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_vr_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_VR_GetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_vr_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_VR_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t type, bool_t intEnable) |
| Sets the Interrupt Enable associated with the Status Type for the specified channel. By default, interrupts are disabled.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t type, bool_t *p_outintEnable) |
| Retrieves the Interrupt Enable associated with the Status Type from the specified channel. By default, interrupts are disabled.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t type, naibrd_int_trigger_type_t interruptType) |
| Sets the Interrupt Edge/Level trigger type property for the specified channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_chan_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outinterruptType) |
| Retrieves the Interrupt Edge/Level trigger type property for the specified channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, uint32_t interruptVector) |
| Sets the Interrupt Vector associated with the Status Type for the specified module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, uint32_t *p_outinterruptVector) |
| Retrieves the Interrupt Vector associated with the Status Type for the specified module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, naibrd_int_steering_t steering) |
| Sets the Interrupt Steering, which indicates the interrupt direction, for the specified module and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, naibrd_int_steering_t *p_outsteering) |
| Retrieves the Interrupt Steering, which indicates the interrupt direction, for the specified module and status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetRaw (int32_t cardIndex, int32_t module, naibrd_vr_raw_t type, uint32_t rawData) |
| Sets the raw data value in the register associated with the register type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetRaw (int32_t cardIndex, int32_t module, naibrd_vr_raw_t type, uint32_t *p_outrawData) |
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_channel_raw_t type, uint32_t rawData) |
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_vr_channel_raw_t type, uint32_t *p_outrawData) |
| Retrieves the raw data value in the register associated with the channel and channel register type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, 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_VR_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_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_VR_SetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, uint32_t statusIntEnabRaw) |
| Sets the raw data value in the interrupt enable register associated with the status type specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_VR_GetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_vr_chan_mapped_status_type_t type, uint32_t *p_outstatusIntEnabRaw) |
| Retrieves the raw data value in the interrupt enable register associated with the status type specified.
|
|