|
static int32_t | GetChannelCount (uint32_t modId) |
|
static nai_status_t | isDLGen5Module (uint32_t modId) |
|
static nai_status_t | naibrd_DL_VerifyChannel (uint32_t modId, int32_t channel) |
|
static nai_status_t | naibrd_DL_VerifyPosition (float64_t position) |
|
static nai_status_t | naibrd_DL_VerifyConfiguration (uint32_t modId, naibrd_dl_configuration_type_t configurationType, float64_t configurationValue) |
|
static nai_status_t | naibrd_DL_VerifySubChannelType (naibrd_dl_subchannel_t type) |
|
static nai_status_t | naibrd_DL_VerifyOnOffType (naibrd_dl_on_off_t type) |
|
static nai_status_t | naibrd_DL_VerifyMeasuredValueType (naibrd_dl_measured_value_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyConfigurationType (naibrd_dl_configuration_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyFloatingPointAttributesType (naibrd_dl_floating_point_attributes_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyChanMappedStatusType (naibrd_dl_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyChanMappedLatchStatusType (naibrd_dl_chan_mapped_status_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyVllModeType (naibrd_dl_vll_mode_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyWireModeType (naibrd_dl_wire_mode_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyTestType (naibrd_dl_test_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyRawByChannelType (naibrd_dl_rawByChannel_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyRawType (naibrd_dl_raw_type_t type) |
|
static nai_status_t | naibrd_DL_VerifyBoolean (bool_t enable) |
|
static nai_status_t | naibrd_DL_VerifyInterruptTriggerType (naibrd_int_trigger_type_t triggerType) |
|
static nai_status_t | naibrd_DL_VerifyInterruptSteeringType (naibrd_int_steering_t steering) |
|
static nai_status_t | naibrd_DL_ConvertRawToPosition (uint32_t rawdata, float64_t *p_outposition) |
| Converts raw value to position value.
|
|
static nai_status_t | naibrd_DL_ConvertPositionToRaw (float64_t inPosition, int32_t *p_outrawData) |
| Converts position to raw position value.
|
|
static nai_status_t | naibrd_DL_ConvertRawToPhase (uint32_t modId, uint32_t rawdata, float64_t *p_outphase) |
| Converts raw value to phase value.
|
|
static nai_status_t | naibrd_DL_ConvertPhaseToRaw (uint32_t modId, float64_t inPhase, uint32_t *p_outrawData) |
| Converts phase to raw phase value.
|
|
NAIBRDFUNC int32_t NAIAPI | naibrd_DL_GetChannelCount (uint32_t modId) |
| Returns the number of channels for the specified D/L Module based on its module id.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetPosition (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_subchannel_t subchannel, float64_t position) |
| Sets position on a DLV module for a specified subchannel and channel. Use naibrd_dl_subchannel_t to select the specified subchannel to be written to the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetPosition (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_subchannel_t subchannel, float64_t *p_outposition) |
| Retrieves position on a DLV module from a specified subchannel and channel. Use naibrd_dl_subchannel_t to select the specified subchannel to be read from the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetConfigurationValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_configuration_type_t opMode, float64_t opValue) |
| Sets various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be written to the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetConfigurationValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_configuration_type_t opMode, float64_t *p_outopValue) |
| Retrieves various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be read from the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
| Enables/disables status reporting for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_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 channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_wire_mode_type_t mode) |
| Sets the wire mode (4-wire or 2-wire) for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_wire_mode_type_t *p_outmode) |
| Retrieves the wire mode (4-wire or 2-wire) for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetOutputMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_vll_mode_type_t mode) |
| Sets the output mode (ratio mode or fixed mode) for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetOutputMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_vll_mode_type_t *p_outmode) |
| Retrieves the output mode (ratio mode or fixed mode) for the specified channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_floating_point_attributes_type_t attrType, float64_t attrValue) |
| Sets the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_floating_point_attributes_type_t attrType, float64_t *p_outattrValue) |
| Retrieves the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetMeasuredValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_measured_value_type_t opMode, float64_t *p_outopValue) |
| Retrieves a measured value for the specified DLV channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType, naibrd_dl_module_status_t *p_outstatus) |
| Retrieves the module status for a specific channel and status type from the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType) |
| Clears the module latched status for a specific channel and status type for the DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType, bool_t enable) |
| Sets the Interrupt Enable for the specified DLV channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType, bool_t *p_outenable) |
| Retrieves the Interrupt Enable for the specified DLV channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
| Sets the Interrupt Edge/Level trigger type property for the specified DLV channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
| Retrieves the Interrupt Edge/Level trigger type property for the specified DLV channel and interrupt status type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_SetPowerSupplyState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_on_off_t setting) |
| Sets the Power Supply State for the specified DLV channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetPowerSupplyState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_on_off_t *p_outsetting) |
| Retrieves the Power Supply State for the specified DLV channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetTestEnable (int32_t cardIndex, int32_t module, naibrd_dl_test_type_t type, bool_t inTestEnable) |
| Sets the test enable state for D0, on-line(D2), or off-line(D3) test for a DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetTestEnable (int32_t cardIndex, int32_t module, naibrd_dl_test_type_t type, bool_t *p_outtestEnable) |
| Retrieves the test enable state for D0, on-line(D2), or off-line(D3) test for a DLV module.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetD2TestVerifyValue (int32_t cardIndex, int32_t module, uint32_t inValue) |
| 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_DL_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_DL_SetRawValueByChannel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_rawByChannel_type_t opMode, uint32_t opValue) |
| Writes a raw value to a register based on channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetRawValueByChannel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_rawByChannel_type_t opMode, uint32_t *p_outopValue) |
| Retrieves a raw value from a register based on channel.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetRawValue (int32_t cardIndex, int32_t module, naibrd_dl_raw_type_t opMode, uint32_t opValue) |
| Writes the raw value to a register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetRawValue (int32_t cardIndex, int32_t module, naibrd_dl_raw_type_t opMode, uint32_t *p_outopValue) |
| Retrieves the raw value from a register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_SetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_dl_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_DL_GetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_dl_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.
|
|