Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
lvdt_basic_ops.c File Reference

Enumerations

enum  lvdt_basicOpsMenu_commands {
  LVDT_BASICMENU_CMD_OPERATION , LVDT_BASICMENU_CMD_CONFIGURATION , LVDT_BASICMENU_CMD_STATUS , LVDT_BASICMENU_CMD_TEST ,
  LVDT_BASICMENU_CMD_FLOATING_POINT , LVDT_BASICMENU_CMD_FLOATING_POINT_MODE , LVDT_BASICMENU_CMD_DISPLAY_HEX , LVDT_BASICOP_CMD_MODULE_POWER_RESET ,
  LVDT_BASICMENU_CMD_COUNT
}
 
enum  lvdt_ll2_basicOpsMenu_commands {
  LVDT_LL2_BASICMENU_CMD_CONFIGURATION , LVDT_LL2_BASICMENU_CMD_STATUS , LVDT_LL2_BASICMENU_CMD_TEST , LVDT_LL2_BASICMENU_CMD_DISPLAY_HEX ,
  LVDT_LL2_BASICMENU_CMD_COUNT
}
 
enum  lvdt_OperationMenu_commands { LVDT_OPERATION_CMD_LATCH , LVDT_OPERATION_CMD_COUNT }
 
enum  lvdt_ConfigurationMenu_commands {
  LVDT_CONFIG_CMD_MODE , LVDT_CONFIG_CMD_CHAN_STATUS_ENABLE , LVDT_CONFIG_CMD_SIG_THRESHOLD , LVDT_CONFIG_CMD_REF_THRESHOLD ,
  LVDT_CONFIG_CMD_SIG_HI_THRESHOLD , LVDT_CONFIG_CMD_REF_HI_THRESHOLD , LVDT_CONFIG_CMD_OPEN_THRESHOLD , LVDT_CONFIG_CMD_SHORT_THRESHOLD ,
  LVDT_CONFIG_CMD_SIGNAL_INVERSION , LVDT_CONFIG_CMD_BW , LVDT_CONFIG_CMD_BW_SELECT , LVDT_CONFIG_CMD_SCALE ,
  LVDT_CONFIG_CMD_COUNT
}
 
enum  lvdt_ll2_ConfigurationMenu_commands {
  LVDT_LL2_CONFIG_CMD_CHAN_STATUS_ENABLE , LVDT_LL2_CONFIG_CMD_REF_THRESHOLD , LVDT_LL2_CONFIG_CMD_SIG_HI_THRESHOLD , LVDT_LL2_CONFIG_CMD_REF_HI_THRESHOLD ,
  LVDT_LL2_CONFIG_CMD_SIGNAL_INVERSION , LVDT_LL2_CONFIG_CMD_BW , LVDT_LL2_CONFIG_CMD_BW_SELECT , LVDT_LL2_CONFIG_CMD_TR_VALUE ,
  LVDT_LL2_CONFIG_CMD_COUNT
}
 
enum  lvdt_statusMenu_commands { LVDT_STATUSMENU_CMD_CLEAR_STATUS , LVDT_STATUSMENU_CMD_CLEAR_STATUS_ALL , LVDT_STATUSMENU_CMD_COUNT }
 
enum  lvdt_testMenu_commands {
  LVDT_TESTMENU_CMD_SET_TEST_POSITION , LVDT_TESTMENU_CMD_ENABLE_D0_TEST , LVDT_TESTMENU_CMD_ENABLE_D3_TEST , LVDT_TESTMENU_CMD_CHECK_PBIT ,
  LVDT_TESTMENU_CMD_COUNT
}
 
enum  lvdt_floatingPointMenu_commands {
  LVDT_FLOATINGPOINTMENU_CMD_SET_FLOATING_POINT_MODE_ENABLE , LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_A , LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_A , LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_B ,
  LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_B , LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_A , LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_A , LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_B ,
  LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_B , LVDT_FLOATINGPOINTMENU_CMD_COUNT
}
 
enum  lvdt_module_power_reset_commands { LVDT_MODULE_POWER_RESET_CMD_BACK , LVDT_MODULE_POWER_RESET_CMD_CLEAR_MODULE_POWER_RESET_STATUS , LVDT_MODULE_POWER_RESET_CMD_SET_MODULE_POWER_RESET , LVDT_MODULE_POWER_RESET_CMD_COUNT }
 

Functions

static nai_status_t Run_LVDTBasicMenu (int32_t cardIndex, int32_t module, uint32_t modId)
 Run_LVDTBasicMenu 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 void LVDTBasicMenu_displayOperation (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTBasicMenu_displayOperation illustrates the methods to call in the naibrd library to retrieve the basic operation status of the lvdt reading for all channels. Items: GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetLatch.
 
static void LVDTBasicMenu_displayMeasurements (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTBasicMenu_displayMeasurements illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current lvdt reading for all channels.
 
static void LVDTBasicMenu_displayMode (naibrd_lvdt_format_t mode)
 LVDTBasicMenu_displayMode prints mode value.
 
static void LVDTBasicMenu_LL2_displayMeasurements (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTBasicMenu_LL2_displayMeasurements illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current lvdt reading for all channels. This function is used for LL2 modules only.
 
static nai_status_t LVDTBasicMenu_Operation (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_Configuration (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_Status (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_Test (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_FloatingPoint (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_Hex (int32_t paramCount, int32_t *p_params)
 
static nai_status_t Configure_LVDT_ModulePowerResetMenu (int32_t paramCount, int32_t *p_params)
 Configure_LVDT_ModulePowerResetMenu displays the menu for module power reset commands.
 
static nai_status_t Configure_LVDT_ClearModulePowerResetStatus (int32_t paramCount, int32_t *p_params)
 Configure_LVDT_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 Configure_LVDT_SetModulePowerReset (int32_t paramCount, int32_t *p_params)
 Configure_LVDT_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 nai_status_t LVDTBasicMenu_LL2_Configuration (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDTBasicMenu_LL2_Status (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Operation_SetLatch (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetMode (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetChanStatEnb (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetSigLossThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetRefLossThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetSigHiThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetRefHiThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetOpenThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetShortThreshold (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetSignalInversion (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetBandWidth (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetBandWidthSelect (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetLVDTScale (int32_t paramCount, int32_t *p_params)
 
static nai_status_t LVDT_Config_SetTRValue (int32_t paramCount, int32_t *p_params)
 
static void LVDTBasicMenu_displayConfigTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTBasicMenu_displayConfigTable illustrates the methods to call in the naibrd library to retrieve the configuration data of the LVDT for all channels. Items: GetChanMode GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetChannelCount GetChanStatusEnable GetSigLossThreshold GetRefLossThreshold GetBandwidth GetBandwidthSelect GetLVDTScale.
 
static nai_status_t LVDT_Config_LL2_SetSignalInversion (int32_t paramCount, int32_t *p_params)
 
static void LVDTBasicMenu_LL2_displayConfigTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTBasicMenu_LL2_displayConfigTable illustrates the methods to call in the naibrd library to retrieve the configuration data of the LVDT for all channels. Items: GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetChannelCount GetChanStatusEnable GetRefLossThreshold GetBandwidth GetBandwidthSelect.
 
static nai_status_t LVDTStatusMenu_ClearStatus (int32_t paramCount, int32_t *p_params)
 LVDTStatusMenu_ClearStatus clears the user-specified LVDT status of the user-specified LVDT channel.
 
static nai_status_t LVDTStatusMenu_ClearStatusAllChannels (int32_t paramCount, int32_t *p_params)
 LVDTStatusMenu_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT channels.
 
static void LVDTStatusMenu_displayStatusTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTStatusMenu_displayStatusTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current LVDT reading for all channels.
 
static nai_status_t LVDTStatusMenu_LL2_ClearStatus (int32_t paramCount, int32_t *p_params)
 LVDTStatusMenu_LL2_ClearStatus clears the user-specified LVDT status of the user-specified LVDT channel.
 
static nai_status_t LVDTStatusMenu_LL2_ClearStatusAllChannels (int32_t paramCount, int32_t *p_params)
 LVDTStatusMenu_LL2_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT channels.
 
static void LVDTStatusMenu_LL2_displayStatusTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTStatusMenu_LL2_displayStatusTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current LVDT reading for all channels.
 
static nai_status_t LVDTTestMenu_SetTestPosition (int32_t paramCount, int32_t *p_params)
 LVDTTestMenu_SetTestPosition sets the test position of the LVDT module to the user-specified value.
 
static nai_status_t LVDTTestMenu_SetD0TestEnable (int32_t paramCount, int32_t *p_params)
 LVDTTestMenu_SetD0TestEnable sets the enabled/disabled state of the D0 Test to the user-specified setting.
 
static nai_status_t LVDTTestMenu_SetD3TestEnable (int32_t paramCount, int32_t *p_params)
 LVDTTestMenu_SetD3TestEnable sets the enabled/disabled state of the D3 Test to the user-specified setting.
 
static nai_status_t LVDTTestMenu_CheckPowerOnBIT (int32_t paramCount, int32_t *p_params)
 LVDTTestMenu_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 void LVDTTestMenu_displayTestTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTTestMenu_displayTestTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and test states as well as the current LVDT reading for all channels.
 
static void LVDTTestMenu_LL2_displayTestTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDTTestMenu_LL2_displayTestTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and test states as well as the current LVDT reading for all channels.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointMode (int32_t paramCount, int32_t *p_params)
 This function enables/disables the floating-point hardware conversion mode of the module. Applies to Gen5 modules only.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetA (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode A-Side position offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleA (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode A-Side position scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetB (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode B-side position offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleB (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode B-side position scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetA (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode A-Side velocity offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleA (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode A-Side velocity scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetB (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode B-side velocity offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleB (int32_t paramCount, int32_t *p_params)
 This function sets the floating-point hardware conversion mode B-side velocity scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.
 
static void LVDT_FloatingPoint_displayFloatingPointTable (int32_t cardIndex, int32_t module, uint32_t modId)
 LVDT_FloatingPoint_displayFloatingPointTable illustrates the methods to call in the naibrd library to retrieve the floating-point attributes data of the LVDT for all channels. Function: naibrd_LVDT_GetFloatingPointPositionAttributes Types: NAIBRD_LVDT_POSITION_OFFSET_A NAIBRD_LVDT_POSITION_SCALE_A NAIBRD_LVDT_POSITION_OFFSET_2WIRE_B NAIBRD_LVDT_POSITION_SCALE_2WIRE_B NAIBRD_LVDT_VELOCITY_OFFSET_A NAIBRD_LVDT_VELOCITY_SCALE_A NAIBRD_LVDT_VELOCITY_OFFSET_2WIRE_B NAIBRD_LVDT_VELOCITY_SCALE_2WIRE_B.
 
int32_t LVDT_BasicOps (void)
 The purpose of the LVDT_BasicOpsMenu is to illustrate the methods to call in the naibrd library to perform basic operations with the LVDT modules for configuration setup and reading the channels.
 

Variables

static const int8_t * DEF_CONFIG_FILE = (const int8_t *)"default_LVDT_BasicOps.txt"
 
static bool_t DisplayAsHex = NAI_FALSE
 
naiapp_cmdtbl_params_t LVDT_ModulePowerResetMenuCmds [LVDT_MODULE_POWER_RESET_CMD_COUNT]
 
static naiapp_cmdtbl_params_t LVDT_BasicOpMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_LL2_BasicOpMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_OperationMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_ConfigurationMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_LL2_ConfigurationMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_StatusMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_LL2_StatusMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_TestMenuCmds []
 
static naiapp_cmdtbl_params_t LVDT_FloatingPointMenuCmds []
 

Enumeration Type Documentation

◆ lvdt_basicOpsMenu_commands

Enumerator
LVDT_BASICMENU_CMD_OPERATION 
LVDT_BASICMENU_CMD_CONFIGURATION 
LVDT_BASICMENU_CMD_STATUS 
LVDT_BASICMENU_CMD_TEST 
LVDT_BASICMENU_CMD_FLOATING_POINT 
LVDT_BASICMENU_CMD_FLOATING_POINT_MODE 
LVDT_BASICMENU_CMD_DISPLAY_HEX 
LVDT_BASICOP_CMD_MODULE_POWER_RESET 
LVDT_BASICMENU_CMD_COUNT 

◆ lvdt_ConfigurationMenu_commands

Enumerator
LVDT_CONFIG_CMD_MODE 
LVDT_CONFIG_CMD_CHAN_STATUS_ENABLE 
LVDT_CONFIG_CMD_SIG_THRESHOLD 
LVDT_CONFIG_CMD_REF_THRESHOLD 
LVDT_CONFIG_CMD_SIG_HI_THRESHOLD 
LVDT_CONFIG_CMD_REF_HI_THRESHOLD 
LVDT_CONFIG_CMD_OPEN_THRESHOLD 
LVDT_CONFIG_CMD_SHORT_THRESHOLD 
LVDT_CONFIG_CMD_SIGNAL_INVERSION 
LVDT_CONFIG_CMD_BW 
LVDT_CONFIG_CMD_BW_SELECT 
LVDT_CONFIG_CMD_SCALE 
LVDT_CONFIG_CMD_COUNT 

◆ lvdt_floatingPointMenu_commands

Enumerator
LVDT_FLOATINGPOINTMENU_CMD_SET_FLOATING_POINT_MODE_ENABLE 
LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_A 
LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_A 
LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_B 
LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_B 
LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_A 
LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_A 
LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_B 
LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_B 
LVDT_FLOATINGPOINTMENU_CMD_COUNT 

◆ lvdt_ll2_basicOpsMenu_commands

Enumerator
LVDT_LL2_BASICMENU_CMD_CONFIGURATION 
LVDT_LL2_BASICMENU_CMD_STATUS 
LVDT_LL2_BASICMENU_CMD_TEST 
LVDT_LL2_BASICMENU_CMD_DISPLAY_HEX 
LVDT_LL2_BASICMENU_CMD_COUNT 

◆ lvdt_ll2_ConfigurationMenu_commands

Enumerator
LVDT_LL2_CONFIG_CMD_CHAN_STATUS_ENABLE 
LVDT_LL2_CONFIG_CMD_REF_THRESHOLD 
LVDT_LL2_CONFIG_CMD_SIG_HI_THRESHOLD 
LVDT_LL2_CONFIG_CMD_REF_HI_THRESHOLD 
LVDT_LL2_CONFIG_CMD_SIGNAL_INVERSION 
LVDT_LL2_CONFIG_CMD_BW 
LVDT_LL2_CONFIG_CMD_BW_SELECT 
LVDT_LL2_CONFIG_CMD_TR_VALUE 
LVDT_LL2_CONFIG_CMD_COUNT 

◆ lvdt_module_power_reset_commands

Enumerator
LVDT_MODULE_POWER_RESET_CMD_BACK 
LVDT_MODULE_POWER_RESET_CMD_CLEAR_MODULE_POWER_RESET_STATUS 
LVDT_MODULE_POWER_RESET_CMD_SET_MODULE_POWER_RESET 
LVDT_MODULE_POWER_RESET_CMD_COUNT 

◆ lvdt_OperationMenu_commands

Enumerator
LVDT_OPERATION_CMD_LATCH 
LVDT_OPERATION_CMD_COUNT 

◆ lvdt_statusMenu_commands

Enumerator
LVDT_STATUSMENU_CMD_CLEAR_STATUS 
LVDT_STATUSMENU_CMD_CLEAR_STATUS_ALL 
LVDT_STATUSMENU_CMD_COUNT 

◆ lvdt_testMenu_commands

Enumerator
LVDT_TESTMENU_CMD_SET_TEST_POSITION 
LVDT_TESTMENU_CMD_ENABLE_D0_TEST 
LVDT_TESTMENU_CMD_ENABLE_D3_TEST 
LVDT_TESTMENU_CMD_CHECK_PBIT 
LVDT_TESTMENU_CMD_COUNT 

Function Documentation

◆ Configure_LVDT_ClearModulePowerResetStatus()

static nai_status_t Configure_LVDT_ClearModulePowerResetStatus ( int32_t paramCount,
int32_t * p_params )
static

Configure_LVDT_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.

◆ Configure_LVDT_ModulePowerResetMenu()

static nai_status_t Configure_LVDT_ModulePowerResetMenu ( int32_t paramCount,
int32_t * p_params )
static

Configure_LVDT_ModulePowerResetMenu displays the menu for module power reset commands.

◆ Configure_LVDT_SetModulePowerReset()

static nai_status_t Configure_LVDT_SetModulePowerReset ( int32_t paramCount,
int32_t * p_params )
static

Configure_LVDT_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.

◆ LVDT_BasicOps()

int32_t LVDT_BasicOps ( void )

The purpose of the LVDT_BasicOpsMenu is to illustrate the methods to call in the naibrd library to perform basic operations with the LVDT modules for configuration setup and reading the channels.

The following system configuration routines from the nai_sys_cfg.c file are called to assist with the configuration setup for this program prior to calling the naibrd LVDT routines.

  • ConfigDevice
  • DisplayDeviceCfg
  • GetBoardSNModCfg
  • CheckModule

◆ LVDT_Config_LL2_SetSignalInversion()

static nai_status_t LVDT_Config_LL2_SetSignalInversion ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetBandWidth()

static nai_status_t LVDT_Config_SetBandWidth ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetBandWidthSelect()

static nai_status_t LVDT_Config_SetBandWidthSelect ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetChanStatEnb()

static nai_status_t LVDT_Config_SetChanStatEnb ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetLVDTScale()

static nai_status_t LVDT_Config_SetLVDTScale ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetMode()

static nai_status_t LVDT_Config_SetMode ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetOpenThreshold()

static nai_status_t LVDT_Config_SetOpenThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetRefHiThreshold()

static nai_status_t LVDT_Config_SetRefHiThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetRefLossThreshold()

static nai_status_t LVDT_Config_SetRefLossThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetShortThreshold()

static nai_status_t LVDT_Config_SetShortThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetSigHiThreshold()

static nai_status_t LVDT_Config_SetSigHiThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetSigLossThreshold()

static nai_status_t LVDT_Config_SetSigLossThreshold ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetSignalInversion()

static nai_status_t LVDT_Config_SetSignalInversion ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_Config_SetTRValue()

static nai_status_t LVDT_Config_SetTRValue ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDT_FloatingPoint_displayFloatingPointTable()

static void LVDT_FloatingPoint_displayFloatingPointTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDT_FloatingPoint_displayFloatingPointTable illustrates the methods to call in the naibrd library to retrieve the floating-point attributes data of the LVDT for all channels. Function: naibrd_LVDT_GetFloatingPointPositionAttributes Types: NAIBRD_LVDT_POSITION_OFFSET_A NAIBRD_LVDT_POSITION_SCALE_A NAIBRD_LVDT_POSITION_OFFSET_2WIRE_B NAIBRD_LVDT_POSITION_SCALE_2WIRE_B NAIBRD_LVDT_VELOCITY_OFFSET_A NAIBRD_LVDT_VELOCITY_SCALE_A NAIBRD_LVDT_VELOCITY_OFFSET_2WIRE_B NAIBRD_LVDT_VELOCITY_SCALE_2WIRE_B.

◆ LVDT_FloatingPoint_SetFloatingPointMode()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointMode ( int32_t paramCount,
int32_t * p_params )
static

This function enables/disables the floating-point hardware conversion mode of the module. Applies to Gen5 modules only.

◆ LVDT_FloatingPoint_SetFloatingPointPositionOffsetA()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetA ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode A-Side position offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointPositionOffsetB()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetB ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode B-side position offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointPositionScaleA()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleA ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode A-Side position scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointPositionScaleB()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleB ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode B-side position scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointVelocityOffsetA()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetA ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode A-Side velocity offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointVelocityOffsetB()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetB ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode B-side velocity offset of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointVelocityScaleA()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleA ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode A-Side velocity scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_FloatingPoint_SetFloatingPointVelocityScaleB()

static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleB ( int32_t paramCount,
int32_t * p_params )
static

This function sets the floating-point hardware conversion mode B-side velocity scale factor of the channel specified by the user. Applies to Gen5 modules only. Can only be set when module is in floating-point mode.

◆ LVDT_Operation_SetLatch()

static nai_status_t LVDT_Operation_SetLatch ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_Configuration()

static nai_status_t LVDTBasicMenu_Configuration ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_displayConfigTable()

static void LVDTBasicMenu_displayConfigTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTBasicMenu_displayConfigTable illustrates the methods to call in the naibrd library to retrieve the configuration data of the LVDT for all channels. Items: GetChanMode GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetChannelCount GetChanStatusEnable GetSigLossThreshold GetRefLossThreshold GetBandwidth GetBandwidthSelect GetLVDTScale.

◆ LVDTBasicMenu_displayMeasurements()

static void LVDTBasicMenu_displayMeasurements ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTBasicMenu_displayMeasurements illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current lvdt reading for all channels.

◆ LVDTBasicMenu_displayMode()

static void LVDTBasicMenu_displayMode ( naibrd_lvdt_format_t mode)
static

LVDTBasicMenu_displayMode prints mode value.

◆ LVDTBasicMenu_displayOperation()

static void LVDTBasicMenu_displayOperation ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTBasicMenu_displayOperation illustrates the methods to call in the naibrd library to retrieve the basic operation status of the lvdt reading for all channels. Items: GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetLatch.

◆ LVDTBasicMenu_FloatingPoint()

static nai_status_t LVDTBasicMenu_FloatingPoint ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_Hex()

static nai_status_t LVDTBasicMenu_Hex ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_LL2_Configuration()

static nai_status_t LVDTBasicMenu_LL2_Configuration ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_LL2_displayConfigTable()

static void LVDTBasicMenu_LL2_displayConfigTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTBasicMenu_LL2_displayConfigTable illustrates the methods to call in the naibrd library to retrieve the configuration data of the LVDT for all channels. Items: GetPosition GetRefFreq GetRefVoltage GetSigVoltage GetChannelCount GetChanStatusEnable GetRefLossThreshold GetBandwidth GetBandwidthSelect.

◆ LVDTBasicMenu_LL2_displayMeasurements()

static void LVDTBasicMenu_LL2_displayMeasurements ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTBasicMenu_LL2_displayMeasurements illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current lvdt reading for all channels. This function is used for LL2 modules only.

◆ LVDTBasicMenu_LL2_Status()

static nai_status_t LVDTBasicMenu_LL2_Status ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_Operation()

static nai_status_t LVDTBasicMenu_Operation ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_Status()

static nai_status_t LVDTBasicMenu_Status ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTBasicMenu_Test()

static nai_status_t LVDTBasicMenu_Test ( int32_t paramCount,
int32_t * p_params )
static

◆ LVDTStatusMenu_ClearStatus()

static nai_status_t LVDTStatusMenu_ClearStatus ( int32_t paramCount,
int32_t * p_params )
static

LVDTStatusMenu_ClearStatus clears the user-specified LVDT status of the user-specified LVDT channel.

◆ LVDTStatusMenu_ClearStatusAllChannels()

static nai_status_t LVDTStatusMenu_ClearStatusAllChannels ( int32_t paramCount,
int32_t * p_params )
static

LVDTStatusMenu_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT channels.

◆ LVDTStatusMenu_displayStatusTable()

static void LVDTStatusMenu_displayStatusTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTStatusMenu_displayStatusTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current LVDT reading for all channels.

◆ LVDTStatusMenu_LL2_ClearStatus()

static nai_status_t LVDTStatusMenu_LL2_ClearStatus ( int32_t paramCount,
int32_t * p_params )
static

LVDTStatusMenu_LL2_ClearStatus clears the user-specified LVDT status of the user-specified LVDT channel.

◆ LVDTStatusMenu_LL2_ClearStatusAllChannels()

static nai_status_t LVDTStatusMenu_LL2_ClearStatusAllChannels ( int32_t paramCount,
int32_t * p_params )
static

LVDTStatusMenu_LL2_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT channels.

◆ LVDTStatusMenu_LL2_displayStatusTable()

static void LVDTStatusMenu_LL2_displayStatusTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTStatusMenu_LL2_displayStatusTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and status states as well as the current LVDT reading for all channels.

◆ LVDTTestMenu_CheckPowerOnBIT()

static nai_status_t LVDTTestMenu_CheckPowerOnBIT ( int32_t paramCount,
int32_t * p_params )
static

LVDTTestMenu_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.

◆ LVDTTestMenu_displayTestTable()

static void LVDTTestMenu_displayTestTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTTestMenu_displayTestTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and test states as well as the current LVDT reading for all channels.

◆ LVDTTestMenu_LL2_displayTestTable()

static void LVDTTestMenu_LL2_displayTestTable ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

LVDTTestMenu_LL2_displayTestTable illustrates the methods to call in the naibrd library to retrieve the basic operation configuration states and test states as well as the current LVDT reading for all channels.

◆ LVDTTestMenu_SetD0TestEnable()

static nai_status_t LVDTTestMenu_SetD0TestEnable ( int32_t paramCount,
int32_t * p_params )
static

LVDTTestMenu_SetD0TestEnable sets the enabled/disabled state of the D0 Test to the user-specified setting.

◆ LVDTTestMenu_SetD3TestEnable()

static nai_status_t LVDTTestMenu_SetD3TestEnable ( int32_t paramCount,
int32_t * p_params )
static

LVDTTestMenu_SetD3TestEnable sets the enabled/disabled state of the D3 Test to the user-specified setting.

◆ LVDTTestMenu_SetTestPosition()

static nai_status_t LVDTTestMenu_SetTestPosition ( int32_t paramCount,
int32_t * p_params )
static

LVDTTestMenu_SetTestPosition sets the test position of the LVDT module to the user-specified value.

◆ Run_LVDTBasicMenu()

static nai_status_t Run_LVDTBasicMenu ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

Run_LVDTBasicMenu 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.

Variable Documentation

◆ DEF_CONFIG_FILE

const int8_t* DEF_CONFIG_FILE = (const int8_t *)"default_LVDT_BasicOps.txt"
static

◆ DisplayAsHex

bool_t DisplayAsHex = NAI_FALSE
static

◆ LVDT_BasicOpMenuCmds

naiapp_cmdtbl_params_t LVDT_BasicOpMenuCmds[]
static
Initial value:
= {
{"E", "Enable/Disable Hardware Floating-Point Conversion Mode", LVDT_BASICMENU_CMD_FLOATING_POINT_MODE, LVDT_FloatingPoint_SetFloatingPointMode},
{"RESET", "Show Module Power Reset Menu Options", LVDT_BASICOP_CMD_MODULE_POWER_RESET, Configure_LVDT_ModulePowerResetMenu}
}
static nai_status_t LVDTBasicMenu_FloatingPoint(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3449
static nai_status_t LVDTBasicMenu_Configuration(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2077
static nai_status_t LVDTBasicMenu_Hex(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:1863
static nai_status_t Configure_LVDT_ModulePowerResetMenu(int32_t paramCount, int32_t *p_params)
Configure_LVDT_ModulePowerResetMenu displays the menu for module power reset commands.
Definition lvdt_basic_ops.c:3980
static nai_status_t LVDT_FloatingPoint_SetFloatingPointMode(int32_t paramCount, int32_t *p_params)
This function enables/disables the floating-point hardware conversion mode of the module....
Definition lvdt_basic_ops.c:3507
static nai_status_t LVDTBasicMenu_Test(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:1406
static nai_status_t LVDTBasicMenu_Operation(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:1893
@ LVDT_BASICMENU_CMD_STATUS
Definition lvdt_basic_ops.c:117
@ LVDT_BASICMENU_CMD_OPERATION
Definition lvdt_basic_ops.c:115
@ LVDT_BASICMENU_CMD_CONFIGURATION
Definition lvdt_basic_ops.c:116
@ LVDT_BASICOP_CMD_MODULE_POWER_RESET
Definition lvdt_basic_ops.c:122
@ LVDT_BASICMENU_CMD_DISPLAY_HEX
Definition lvdt_basic_ops.c:121
@ LVDT_BASICMENU_CMD_FLOATING_POINT
Definition lvdt_basic_ops.c:119
@ LVDT_BASICMENU_CMD_FLOATING_POINT_MODE
Definition lvdt_basic_ops.c:120
@ LVDT_BASICMENU_CMD_TEST
Definition lvdt_basic_ops.c:118
static nai_status_t LVDTBasicMenu_Status(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:604

◆ LVDT_ConfigurationMenuCmds

naiapp_cmdtbl_params_t LVDT_ConfigurationMenuCmds[]
static
Initial value:
= {
{"SH", "Set Sig Fault High Threshold", LVDT_CONFIG_CMD_SIG_HI_THRESHOLD, LVDT_Config_SetSigHiThreshold },
{"RH", "Set Ref Fault High Threshold", LVDT_CONFIG_CMD_REF_HI_THRESHOLD, LVDT_Config_SetRefHiThreshold },
{"INV", "Set Signal Inversion Control", LVDT_CONFIG_CMD_SIGNAL_INVERSION, LVDT_Config_SetSignalInversion },
{"BW", "Set Band Width", LVDT_CONFIG_CMD_BW, LVDT_Config_SetBandWidth },
{"BWS", "Set Band Width Select", LVDT_CONFIG_CMD_BW_SELECT, LVDT_Config_SetBandWidthSelect },
}
static nai_status_t LVDT_Config_SetLVDTScale(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3377
static nai_status_t LVDT_Config_SetSigHiThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2900
static nai_status_t LVDT_Config_SetSigLossThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2782
static nai_status_t LVDT_Config_SetChanStatEnb(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2733
static nai_status_t LVDT_Config_SetRefHiThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2959
static nai_status_t LVDT_Config_SetBandWidthSelect(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3338
@ LVDT_CONFIG_CMD_SHORT_THRESHOLD
Definition lvdt_basic_ops.c:150
@ LVDT_CONFIG_CMD_MODE
Definition lvdt_basic_ops.c:143
@ LVDT_CONFIG_CMD_SIG_THRESHOLD
Definition lvdt_basic_ops.c:145
@ LVDT_CONFIG_CMD_BW_SELECT
Definition lvdt_basic_ops.c:153
@ LVDT_CONFIG_CMD_REF_HI_THRESHOLD
Definition lvdt_basic_ops.c:148
@ LVDT_CONFIG_CMD_SCALE
Definition lvdt_basic_ops.c:154
@ LVDT_CONFIG_CMD_REF_THRESHOLD
Definition lvdt_basic_ops.c:146
@ LVDT_CONFIG_CMD_CHAN_STATUS_ENABLE
Definition lvdt_basic_ops.c:144
@ LVDT_CONFIG_CMD_SIG_HI_THRESHOLD
Definition lvdt_basic_ops.c:147
@ LVDT_CONFIG_CMD_BW
Definition lvdt_basic_ops.c:152
@ LVDT_CONFIG_CMD_SIGNAL_INVERSION
Definition lvdt_basic_ops.c:151
@ LVDT_CONFIG_CMD_OPEN_THRESHOLD
Definition lvdt_basic_ops.c:149
static nai_status_t LVDT_Config_SetShortThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3063
static nai_status_t LVDT_Config_SetSignalInversion(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3108
static nai_status_t LVDT_Config_SetOpenThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3018
static nai_status_t LVDT_Config_SetBandWidth(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3291
static nai_status_t LVDT_Config_SetMode(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2684
static nai_status_t LVDT_Config_SetRefLossThreshold(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2841

◆ LVDT_FloatingPointMenuCmds

naiapp_cmdtbl_params_t LVDT_FloatingPointMenuCmds[]
static
Initial value:
= {
{"E", "Enable/Disable Hardware Floating-Point Conversion Mode", LVDT_FLOATINGPOINTMENU_CMD_SET_FLOATING_POINT_MODE_ENABLE, LVDT_FloatingPoint_SetFloatingPointMode},
{"1", "Set Hardware Floating-Point Conversion Mode Position A-Side Offset", LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_A, LVDT_FloatingPoint_SetFloatingPointPositionOffsetA},
{"2", "Set Hardware Floating-Point Conversion Mode Position A-Side Scale Factor", LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_A, LVDT_FloatingPoint_SetFloatingPointPositionScaleA},
{"3", "Set Hardware Floating-Point Conversion Mode Position B-Side Offset", LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_B, LVDT_FloatingPoint_SetFloatingPointPositionOffsetB},
{"4", "Set Hardware Floating-Point Conversion Mode Position B-Side Scale Factor", LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_B, LVDT_FloatingPoint_SetFloatingPointPositionScaleB},
{"5", "Set Hardware Floating-Point Conversion Mode Velocity A-Side Offset", LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_A, LVDT_FloatingPoint_SetFloatingPointVelocityOffsetA},
{"6", "Set Hardware Floating-Point Conversion Mode Velocity A-Side Scale Factor", LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_A, LVDT_FloatingPoint_SetFloatingPointVelocityScaleA},
{"7", "Set Hardware Floating-Point Conversion Mode Velocity B-Side Offset", LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_B, LVDT_FloatingPoint_SetFloatingPointVelocityOffsetB},
{"8", "Set Hardware Floating-Point Conversion Mode Velocity B-Side Scale Factor", LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_B, LVDT_FloatingPoint_SetFloatingPointVelocityScaleB}
}
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetA(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode A-Side velocity offset of the channel ...
Definition lvdt_basic_ops.c:3716
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityOffsetB(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode B-side velocity offset of the channel ...
Definition lvdt_basic_ops.c:3800
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleB(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode B-side velocity scale factor of the ch...
Definition lvdt_basic_ops.c:3842
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetB(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode B-side position offset of the channel ...
Definition lvdt_basic_ops.c:3632
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleB(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode B-side position scale factor of the ch...
Definition lvdt_basic_ops.c:3674
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionScaleA(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode A-Side position scale factor of the ch...
Definition lvdt_basic_ops.c:3590
@ LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_B
Definition lvdt_basic_ops.c:197
@ LVDT_FLOATINGPOINTMENU_CMD_SET_FLOATING_POINT_MODE_ENABLE
Definition lvdt_basic_ops.c:189
@ LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_B
Definition lvdt_basic_ops.c:192
@ LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_B
Definition lvdt_basic_ops.c:193
@ LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_B
Definition lvdt_basic_ops.c:196
@ LVDT_FLOATINGPOINTMENU_CMD_SET_POS_SCALE_A
Definition lvdt_basic_ops.c:191
@ LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_OFFSET_A
Definition lvdt_basic_ops.c:194
@ LVDT_FLOATINGPOINTMENU_CMD_SET_VEL_SCALE_A
Definition lvdt_basic_ops.c:195
@ LVDT_FLOATINGPOINTMENU_CMD_SET_POS_OFFSET_A
Definition lvdt_basic_ops.c:190
static nai_status_t LVDT_FloatingPoint_SetFloatingPointVelocityScaleA(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode A-Side velocity scale factor of the ch...
Definition lvdt_basic_ops.c:3758
static nai_status_t LVDT_FloatingPoint_SetFloatingPointPositionOffsetA(int32_t paramCount, int32_t *p_params)
This function sets the floating-point hardware conversion mode A-Side position offset of the channel ...
Definition lvdt_basic_ops.c:3548

◆ LVDT_LL2_BasicOpMenuCmds

naiapp_cmdtbl_params_t LVDT_LL2_BasicOpMenuCmds[]
static
Initial value:
= {
}
@ LVDT_LL2_BASICMENU_CMD_TEST
Definition lvdt_basic_ops.c:130
@ LVDT_LL2_BASICMENU_CMD_STATUS
Definition lvdt_basic_ops.c:129
@ LVDT_LL2_BASICMENU_CMD_DISPLAY_HEX
Definition lvdt_basic_ops.c:131
@ LVDT_LL2_BASICMENU_CMD_CONFIGURATION
Definition lvdt_basic_ops.c:128
static nai_status_t LVDTBasicMenu_LL2_Configuration(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2121
static nai_status_t LVDTBasicMenu_LL2_Status(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:651

◆ LVDT_LL2_ConfigurationMenuCmds

naiapp_cmdtbl_params_t LVDT_LL2_ConfigurationMenuCmds[]
static
Initial value:
= {
{"SH", "Set Sig Fault High Threshold", LVDT_LL2_CONFIG_CMD_SIG_HI_THRESHOLD, LVDT_Config_SetSigHiThreshold },
{"RH", "Set Ref Fault High Threshold", LVDT_LL2_CONFIG_CMD_REF_HI_THRESHOLD, LVDT_Config_SetRefHiThreshold },
{"BW", "Set Band Width", LVDT_LL2_CONFIG_CMD_BW, LVDT_Config_SetBandWidth },
}
static nai_status_t LVDT_Config_LL2_SetSignalInversion(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3212
@ LVDT_LL2_CONFIG_CMD_SIG_HI_THRESHOLD
Definition lvdt_basic_ops.c:162
@ LVDT_LL2_CONFIG_CMD_BW_SELECT
Definition lvdt_basic_ops.c:166
@ LVDT_LL2_CONFIG_CMD_TR_VALUE
Definition lvdt_basic_ops.c:167
@ LVDT_LL2_CONFIG_CMD_REF_THRESHOLD
Definition lvdt_basic_ops.c:161
@ LVDT_LL2_CONFIG_CMD_BW
Definition lvdt_basic_ops.c:165
@ LVDT_LL2_CONFIG_CMD_CHAN_STATUS_ENABLE
Definition lvdt_basic_ops.c:160
@ LVDT_LL2_CONFIG_CMD_SIGNAL_INVERSION
Definition lvdt_basic_ops.c:164
@ LVDT_LL2_CONFIG_CMD_REF_HI_THRESHOLD
Definition lvdt_basic_ops.c:163
static nai_status_t LVDT_Config_SetTRValue(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:3412

◆ LVDT_LL2_StatusMenuCmds

naiapp_cmdtbl_params_t LVDT_LL2_StatusMenuCmds[]
static
Initial value:
= {
}
@ LVDT_STATUSMENU_CMD_CLEAR_STATUS_ALL
Definition lvdt_basic_ops.c:174
@ LVDT_STATUSMENU_CMD_CLEAR_STATUS
Definition lvdt_basic_ops.c:173
static nai_status_t LVDTStatusMenu_LL2_ClearStatusAllChannels(int32_t paramCount, int32_t *p_params)
LVDTStatusMenu_LL2_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT ch...
Definition lvdt_basic_ops.c:1327
static nai_status_t LVDTStatusMenu_LL2_ClearStatus(int32_t paramCount, int32_t *p_params)
LVDTStatusMenu_LL2_ClearStatus clears the user-specified LVDT status of the user-specified LVDT chann...
Definition lvdt_basic_ops.c:1247

◆ LVDT_ModulePowerResetMenuCmds

naiapp_cmdtbl_params_t LVDT_ModulePowerResetMenuCmds[LVDT_MODULE_POWER_RESET_CMD_COUNT]
Initial value:
=
{
{"BACK", "Back to Main Menu", LVDT_MODULE_POWER_RESET_CMD_BACK, NULL},
}
static nai_status_t Configure_LVDT_ClearModulePowerResetStatus(int32_t paramCount, int32_t *p_params)
Configure_LVDT_ClearModulePowerResetStatus handles the user request to clear the module power reset s...
Definition lvdt_basic_ops.c:4062
static nai_status_t Configure_LVDT_SetModulePowerReset(int32_t paramCount, int32_t *p_params)
Configure_LVDT_SetModulePowerReset handles the user request to set the module power reset request and...
Definition lvdt_basic_ops.c:4145
@ LVDT_MODULE_POWER_RESET_CMD_CLEAR_MODULE_POWER_RESET_STATUS
Definition lvdt_basic_ops.c:204
@ LVDT_MODULE_POWER_RESET_CMD_BACK
Definition lvdt_basic_ops.c:203
@ LVDT_MODULE_POWER_RESET_CMD_SET_MODULE_POWER_RESET
Definition lvdt_basic_ops.c:205

◆ LVDT_OperationMenuCmds

naiapp_cmdtbl_params_t LVDT_OperationMenuCmds[]
static
Initial value:
= {
}
static nai_status_t LVDT_Operation_SetLatch(int32_t paramCount, int32_t *p_params)
Definition lvdt_basic_ops.c:2025
@ LVDT_OPERATION_CMD_LATCH
Definition lvdt_basic_ops.c:137

◆ LVDT_StatusMenuCmds

naiapp_cmdtbl_params_t LVDT_StatusMenuCmds[]
static
Initial value:
= {
}
static nai_status_t LVDTStatusMenu_ClearStatus(int32_t paramCount, int32_t *p_params)
LVDTStatusMenu_ClearStatus clears the user-specified LVDT status of the user-specified LVDT channel.
Definition lvdt_basic_ops.c:1026
static nai_status_t LVDTStatusMenu_ClearStatusAllChannels(int32_t paramCount, int32_t *p_params)
LVDTStatusMenu_ClearStatusAllChannels clears the user-specified LVDT status of all of the LVDT channe...
Definition lvdt_basic_ops.c:1134

◆ LVDT_TestMenuCmds

naiapp_cmdtbl_params_t LVDT_TestMenuCmds[]
static
Initial value:
= {
{"E", "Enable Or Disable D0 Test", LVDT_TESTMENU_CMD_ENABLE_D0_TEST, LVDTTestMenu_SetD0TestEnable },
{"D3", "Enable Or Disable D3 Test", LVDT_TESTMENU_CMD_ENABLE_D3_TEST, LVDTTestMenu_SetD3TestEnable },
}
static nai_status_t LVDTTestMenu_SetD0TestEnable(int32_t paramCount, int32_t *p_params)
LVDTTestMenu_SetD0TestEnable sets the enabled/disabled state of the D0 Test to the user-specified set...
Definition lvdt_basic_ops.c:1714
static nai_status_t LVDTTestMenu_SetD3TestEnable(int32_t paramCount, int32_t *p_params)
LVDTTestMenu_SetD3TestEnable sets the enabled/disabled state of the D3 Test to the user-specified set...
Definition lvdt_basic_ops.c:1765
static nai_status_t LVDTTestMenu_CheckPowerOnBIT(int32_t paramCount, int32_t *p_params)
LVDTTestMenu_CheckPowerOnBIT() Checks to see if the power-on BIT test has been run on the module....
Definition lvdt_basic_ops.c:1817
static nai_status_t LVDTTestMenu_SetTestPosition(int32_t paramCount, int32_t *p_params)
LVDTTestMenu_SetTestPosition sets the test position of the LVDT module to the user-specified value.
Definition lvdt_basic_ops.c:1666
@ LVDT_TESTMENU_CMD_ENABLE_D0_TEST
Definition lvdt_basic_ops.c:181
@ LVDT_TESTMENU_CMD_CHECK_PBIT
Definition lvdt_basic_ops.c:183
@ LVDT_TESTMENU_CMD_SET_TEST_POSITION
Definition lvdt_basic_ops.c:180
@ LVDT_TESTMENU_CMD_ENABLE_D3_TEST
Definition lvdt_basic_ops.c:182