|
static int32_t | GetChannelCount (uint32_t modId) |
|
static nai_status_t | naibrd_DS_VerifyChannel (uint32_t modId, int32_t channel) |
|
static nai_status_t | naibrd_DS_VerifyAngleInfoType (naibrd_ds_angle_info_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyMeasuredInfoType (naibrd_ds_measured_Info_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyChanMappedStatusType (naibrd_ds_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyChanMappedLatchStatusType (naibrd_ds_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyExpectedVoltageType (naibrd_ds_expected_voltage_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyThresholdVoltageType (naibrd_ds_threshold_voltage_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyExpectedCurrentType (naibrd_ds_expected_current_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyRotationConfigurationType (naibrd_ds_rotation_configuration_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyMultiSpeedChanPairType (naibrd_ds_multi_speed_chan_pair_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyTestModeType (naibrd_ds_test_mode_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyInterruptSteeringType (naibrd_int_steering_t type) |
|
static nai_status_t | naibrd_DS_VerifyInterruptModeType (naibrd_ds_interruptMode_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyRawModuleValueType (naibrd_ds_raw_module_value_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyRawChannelValueType (naibrd_ds_raw_channel_value_type_t type) |
|
static nai_status_t | naibrd_DS_VerifyBoolean (bool_t enable) |
|
static nai_status_t | naibrd_DS_VerifyWrapAngleArraySize (int32_t arraySize, int32_t maxChan) |
|
static nai_status_t | naibrd_DS_VerifyOutputRatioFixedMode (naibrd_ds_output_ratio_fixed_mode_t mode) |
|
static nai_status_t | naibrd_DS_VerifySynchroResolver (naibrd_ds_synchro_resolver_t mode) |
|
NAIBRDFUNC int32_t NAIAPI | naibrd_DS_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified D/S Module based on its module id.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetAngle (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_angle_info_type_t type, float64_t inAngle) |
| Sets various angle properties on a D/S module for a specified channel. Use naibrd_ds_angle_info_type_t to select the specified angle properties to be written to the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetAngle (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_angle_info_type_t type, float64_t *p_outAngle) |
| Gets various angle properties on a D/S module from a specified channel. Use naibrd_ds_angle_info_type_t to select the specified angle properties to be read from the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetPowerEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t inPwrEnable) |
| Sets a specified D/S channel output state on/off.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetPowerEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outPowerEnable) |
| Gets a specified D/S channel output state.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetMeasuredValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_measured_Info_type_t type, float64_t *p_outMeasValue) |
| Gets internally measured values from the D/S module for their specified channels. Internally measured value types include: angle, reference, output line-to-line voltage, reference frequency, signal current, and velocity.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetAllWrapAngles (int32_t cardIndex, int32_t module, int32_t arraySize, float64_t *p_outAngle) |
| Gets all internally measured angles from the D/S module. Use this function for single speed operations only.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type, naibrd_ds_module_status_t *p_outStatus) |
| Gets the module status for a specific channel from the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type) |
| Clears latched status for a specific D/S channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRotationStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_rotation_status_t *p_outStatus) |
| Gets the latched rotation status for a specific channel from the D/S module. For Gen5 D/S modules, to unlatch a latched channel, write a one to the bit mask value for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRealTimeRotationStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_rotation_status_t *p_outStatus) |
| Gets the real time rotation status for a specific channel from the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetRotationEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t inRotEnable) |
| Sets the start or stop rotation command for a specified channel in the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRotationEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outRotEnable) |
| Gets the start or stop rotation command for a specified channel in the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetExpectedVoltage (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_expected_voltage_type_t type, float64_t inExpVolt) |
| Sets the expected reference and output line-line for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetExpectedVoltage (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_expected_voltage_type_t type, float64_t *p_outExpVolt) |
| Gets the expected reference and output line-line for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetThresholdVoltage (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_threshold_voltage_type_t type, float64_t inThresVolt) |
| Sets the expected reference and output line-line threshold voltage for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetThresholdVoltage (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_threshold_voltage_type_t type, float64_t *p_outThresVolt) |
| Gets the expected reference and output line-line threshold voltage for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetThresholdCurrent (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_expected_current_type_t type, float64_t inThresCurrent) |
| Sets the output line-line threshold current(RMS) for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetThresholdCurrent (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_expected_current_type_t type, float64_t *p_outThresCurrent) |
| Gets the output line-line threshold current(RMS) for a specified channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetRatioFixedMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_output_ratio_fixed_mode_t inRatioFixMode) |
| Sets the D/S channel ratio/fixed mode for a specified D/S channel for the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRatioFixedMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_output_ratio_fixed_mode_t *p_outRatioFixMode) |
| Gets the D/S Ratio/Fixed selection of a specified D/S channel for the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetSynRslMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_synchro_resolver_t inSynRslMode) |
| Sets the Synchro or Resolver mode for a specified channel for the D/S module. Only mixed mode programming modules support this function.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetSynRslMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_synchro_resolver_t *p_outSynRslMode) |
| Gets the Synchro or Resolver mode for a specified channel for the D/S module. Only mixed mode programming modules support this function.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetActiveChannel (int32_t cardIndex, int32_t module, int32_t channel, bool_t inActiveChan) |
| Sets the active channel state for a specified D/S channel for the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetActiveChannel (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outActChanEnable) |
| Gets the active channel state for a specified D/S channel for the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, uint32_t inSetting) |
| Sets the channel status enable/disable for the specified D/S channel for the D/S module. When it is set to disable, ref loss, sig loss, bit fault, and phase loss status will not be updated.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outSetting) |
| Gets the channel status enable/disable for the specified D/S channel for the D/S module. When it is set to disable, ref loss, sig loss, bit fault, and phase loss status will not be updated.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetRotationCtrl (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_rotation_configuration_type_t type, float64_t inRotationCtrl) |
| Sets the Rotation control for a specified D/S channel of a D/S module. Refer to the Operation Manual for information on how to set each rotation control setting.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRotationCtrl (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_rotation_configuration_type_t type, float64_t *p_outRotCtrl) |
| Gets the Rotation control for a specified D/S channel of a D/S module. Refer to the Operation Manual for information on the rotation control settings.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetMultiSpeedRatio (int32_t cardIndex, int32_t module, naibrd_ds_multi_speed_chan_pair_type_t chanPairType, uint32_t inMultSpd) |
| Sets the D/S multi-speed ratio for a specified D/S channel pair in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetMultiSpeedRatio (int32_t cardIndex, int32_t module, naibrd_ds_multi_speed_chan_pair_type_t chanPairType, uint32_t *p_outMultSpd) |
| Gets the D/S multi-speed ratio for a specified D/S channel pair in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetPhaseOffset (int32_t cardIndex, int32_t module, int32_t channel, float64_t inPhase) |
| Sets the phase offset of a specified D/S channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetPhaseOffset (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outPhase) |
| Gets the phase offset of a specified D/S channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetTestModeEnable (int32_t cardIndex, int32_t module, naibrd_ds_test_mode_type_t type, bool_t inEnable) |
| Sets the test enable state for on-line(D2), and off-line(D3) test for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetTestModeEnable (int32_t cardIndex, int32_t module, naibrd_ds_test_mode_type_t type, bool_t *p_outEnable) |
| Gets the test enable state for on-line(D2), and off-line(D3) test for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetTestVerify (int32_t cardIndex, int32_t module, uint32_t inTestVerify) |
| Sets the test verify value for on-line(D2) test for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetTestVerify (int32_t cardIndex, int32_t module, uint32_t *p_outTestVerify) |
| Gets the test verify value for on-line(D2) test for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, uint32_t inInterruptVector) |
| Sets the interrupt vector for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, uint32_t *p_outIntVector) |
| Gets the D/S interrupt vector that is assigned to the specified interrupt function in the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type, uint32_t inEnable) |
| Sets the D/S interrupt enable state for a specific channel in a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type, uint32_t *p_outEnable) |
| Gets the D/S interrupt enable state for a specific channel in the D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, naibrd_int_steering_t steering) |
| Sets the Interrupt Steering which indicates the interrupt direction for the DS modules. Interrupt steering used for NAI GEN 5 modules and with latched interrupt types.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, naibrd_int_steering_t *p_outsteering) |
| Gets the Interrupt Steering which indicates the interrupt direction for the DS modules. Interrupt steering used for NAI GEN 5 modules and with latched interrupt types.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type, naibrd_ds_interruptMode_type_t interruptType) |
| Sets the Interrupt Edge/Level mode for the D/S modules. This feature only applies to NAI GEN 5 D/S modules.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_chan_mapped_status_type_t type, naibrd_ds_interruptMode_type_t *p_outinterruptType) |
| Gets the Interrupt Edge/Level mode for the D/S modules. This feature only applies to NAI GEN 5 D/S modules.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetRaw (int32_t cardIndex, int32_t module, naibrd_ds_raw_module_value_type_t type, uint32_t inRawdata) |
| Sets the raw data value in the register associated to the register type specified for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRaw (int32_t cardIndex, int32_t module, naibrd_ds_raw_module_value_type_t type, uint32_t *p_outRawData) |
| Gets the raw data value in the register associated to the register type specified from a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_raw_channel_value_type_t type, uint32_t inChanRaw) |
| Sets the raw data value for a specified channel associated to a specified type for a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ds_raw_channel_value_type_t type, uint32_t *p_outChanRaw) |
| Gets the raw data value for a specified channel with a specified type from a D/S module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, uint32_t *p_outStatusRaw) |
| Gets the raw status value for a specified status type from a D/S module. For Gen 5 modules, to unlatch the latched status, write a one to the latched channel mask position.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_ds_chan_mapped_status_type_t type, uint32_t rawdata) |
| Clears the latched status data value in the register associated to the status type specified.
|
|