|
static bool_t | ADBasicOps_run (int32_t cardIndex, int32_t module, uint32_t modId) |
| ADBasicOps_run illustrates the channel configuration and prepares the menu which will handle user command requests. Returns NAI_TRUE if the user enters the Quit Command at any point within its scope.
|
|
static bool_t | CF1ADBasicOps_run (int32_t cardIndex, int32_t module, uint32_t modid) |
|
static void | ADBasicOps_displayConfigurations (int32_t cardIndex, int32_t module, uint32_t modId, int32_t maxChannels, bool_t displayHex) |
| ADBasicOps_displayConfigurations illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current voltage reading for all channels.
|
|
static void | ADBasicOps_displaySaturationConfig (int32_t cardIndex, int32_t module, uint32_t modId, int32_t maxChannels, bool_t displayHex) |
|
static nai_status_t | ADBasicOps_setRangePolarity (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setRangePolarity handles the user request to set the configuration states of Range and Polarity for the selected channel.
|
|
static nai_status_t | ADBasicOps_setLatch (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setLatch handles the user request to set the latch on all channel readings.
|
|
static nai_status_t | ADBasicOps_setMode (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setMode handles the user request to set the configuration states of Mode for the selected channel.
|
|
static nai_status_t | ADBasicOps_setBreakFreq (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setBreakFreq handles the user request to set the filter break frequency for the selected channel.
|
|
static nai_status_t | ADBasicOps_setActiveChannel (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setActiveChannel handles the user request to set the active/inactive state for the selected channel.
|
|
static nai_status_t | ADBasicOps_saturationMenu (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_setD0TestEnable (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_setD0TestEnable handles the user request to set the D0 Test Enabled/Disabled State and configure the D0 Test Settings. The only range available is the 10V range. Valid range modes are unipolar and bipolar. The D0 Test Level can also be set.
|
|
static nai_status_t | ADBasicOps_FloatingPointMode (int32_t paramCount, int32_t *p_params) |
| This function enables/disables the hardware floating-point conversion mode of the DA module, as specified by the user.
|
|
static nai_status_t | ADBasicOps_FloatingPointOffset (int32_t paramCount, int32_t *p_params) |
| This function sets the hardware floating-point conversion mode offset for the DA channel specified by the user. This function is only applicable when the hardware floating-point conversion mode for the module is enabled.
|
|
static nai_status_t | ADBasicOps_FloatingPointScaleFactor (int32_t paramCount, int32_t *p_params) |
| This function sets the hardware floating-point conversion mode scale factor for the DA channel specified by the user. This function is only applicable when the hardware floating-point conversion mode for the module is enabled.
|
|
static nai_status_t | ADBasicOps_ChannelStatusEnable (int32_t paramCount, int32_t *p_params) |
| This function Enables\Disables the reporting of the Channel Status. When enabled, the user will get status updates. When disabled, the statuses will not report and status-based interrupts will not assert.
|
|
static nai_status_t | ADBasicOps_CheckPowerOnBIT (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_CheckPowerOnBIT() Checks to see if the power-on BIT test has been run on the module. If the PBIT test has run, it checks the result of the test and reports it back.
|
|
static nai_status_t | ADBasicOps_BITThresholds (int32_t paramCount, int32_t *p_params) |
| ADBasicOps_BITThresholds() allows the user to set and get the BIT error thresholds. This is an advanced feature.
|
|
static nai_status_t | ADBasicOps_toggleNumDisplay (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_setSaturationLow (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_setSaturationHigh (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_enableSaturationLow (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_enableSaturationHigh (int32_t paramCount, int32_t *p_params) |
|
static bool_t | ADBasicOps_SaturationAvailable (int32_t paramCount, int32_t *p_params) |
|
static nai_status_t | ADBasicOps_ModulePowerResetMenu (int32_t paramCount, int32_t *p_params) |
| Configure_AD_ModulePowerResetMenu displays the menu for module power reset commands.
|
|
static nai_status_t | ADBasicOps_ClearModulePowerResetStatus (int32_t paramCount, int32_t *p_params) |
| Configure_AD_ClearModulePowerResetStatus handles the user request to clear the module power reset status and calls the method in the naibrd library to clear the module power reset status. The user is prompted for the module power reset status type to clear.
|
|
static nai_status_t | ADBasicOps_SetModulePowerReset (int32_t paramCount, int32_t *p_params) |
| Configure_AD_SetModulePowerReset handles the user request to set the module power reset request and calls the method in the naibrd library to set the module power reset request. The user is prompted for the module power reset request type to set, and then the user is prompted to set or reset the request bit.
|
|
static void | ADBasicOps_displayStatus (nai_status_bit_t BitStatus, nai_status_bit_t OpenStatus) |
| ADBasicOps_displayStatus prints to stdin the range mode, BIT status, and Open Status in a format thats fits the table produced in displayChannelCfg.
|
|
int32_t | AD_BasicOps (void) |
| The purpose of the AD_BasicOps is to illustrate the methods to call in the naibrd library to perform basic operations with the AD modules for configuration setup and reading the channels.
|
|