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

Enumerations

enum  vr_basicOps_commands {
  VR_BASICMENU_CMD_CHANNEL_SETUP_MENU , VR_BASICMENU_CMD_DISPLAY_READINGS_MENU , VR_BASICMENU_CMD_SYSTEM_TEST_SETUP_MENU , VR_BASICMENU_CMD_DISPLAY_MONITOR_STATUS_MENU ,
  VR_BASICMENU_CMD_COUNT
}
 
enum  vr_channel_setup_commands {
  VR_CHANNELMENU_CMD_SET_NUMBER_OF_TEETH , VR_CHANNELMENU_CMD_SET_MONOPOLE_DIPOLE_SELECT , VR_CHANNELMENU_CMD_SET_CHANNEL_ENABLE , VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_HIGH ,
  VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_LOW , VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_ENABLE , VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_PERCENT , VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_HYSTERESIS ,
  VR_CHANNELMENU_CMD_SET_AUTO_DOWN_RANGE_TIME , VR_CHANNELMENU_CMD_SET_RANGE_SELECT , VR_CHANNELMENU_CMD_SET_POLARITY_SELECT , VR_CHANNELMENU_CMD_SET_AC_COUPLE_ENABLE ,
  VR_CHANNELMENU_CMD_SET_TERMINATION_ENABLE , VR_CHANNELMENU_CMD_SET_AVERAGING_TIME , VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE , VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE_TO_PHASE_READING ,
  VR_CHANNELMENU_CMD_SET_MAX_TORQUE_SIG_PHASE , VR_CHANNELMENU_CMD_SET_DEBOUNCE_TIME , VR_CHANNELMENU_CMD_SET_MINIMUM_AMPLITUDE , VR_CHANNELMENU_CMD_SET_MINIMUM_FREQUENCY ,
  VR_CHANNELMENU_CMD_RESET_CYCLE_COUNT , VR_CHANNELMENU_CMD_MAIN_MENU , VR_CHANNELMENU_CMD_UPDATE , VR_CHANNELMENU_CMD_SAVE_SETUP ,
  VR_CHANNELMENU_CMD_LOAD_SETUP , VR_CHANNELMENU_CMD_COUNT
}
 
enum  vr_readings_commands {
  VR_READINGSMENU_CMD_MAIN_MENU , VR_READINGSMENU_CMD_CHANGE_UPDATE_RATE , VR_READINGSMENU_CMD_CONTINUE_POLL , VR_READINGSMENU_CMD_STOP_POLLING ,
  VR_READINGSMENU_CMD_COUNT
}
 
enum  vr_test_commands {
  VR_TESTMENU_CMD_MAIN_MENU , VR_TESTMENU_CMD_SET_TEST_ENABLE , VR_TESTMENU_CMD_SET_POWER_SUPPLY_ENABLE , VR_TESTMENU_CMD_SET_FLOATING_POINT_ENABLE ,
  VR_TESTMENU_CMD_COUNT
}
 
enum  vr_status_commands {
  VR_STATUSMENU_CMD_MAIN_MENU , VR_STATUSMENU_CMD_SET_CHAN_STATUS_ENABLE , VR_STATUSMENU_CMD_CLEAR_STATUS , VR_STATUSMENU_CMD_CHANGE_UPDATE_RATE ,
  VR_STATUSMENU_CMD_CONTINUE_POLL , VR_STATUSMENU_CMD_STOP_POLLING , VR_STATUSMENU_CMD_COUNT
}
 

Functions

static bool_t VRBasicMenu_Run (int32_t cardIndex, int32_t module, uint32_t modid)
 VRBasicMenu_Run 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 nai_status_t VRBasicMenu_ChannelSetupMenu (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRBasicMenu_DisplayReadingsMenu (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRBasicMenu_SystemTestSetupMenu (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRBasicMenu_DisplayMonitorStatusMenu (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetNumberOfTeeth (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetMonopoleDipoleSelect (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetChannelEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetVoltageThresholdHigh (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetVoltageThresholdLow (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetAutoThresholdEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetAutoThresholdPercent (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetAutoThresholdHysteresis (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetAutoDownRangeTime (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetRange (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetPolaritySelect (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetACCoupleEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetTerminationEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetAveragingTime (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetZeroTorqueSigPhase (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetZeroTorqueSigPhaseToPhaseReading (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetMaxTorqueSigPhase (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetDebounceTime (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetMinimumAmplitude (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SetMinimumFrequency (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_ResetCycleCount (int32_t paramCount, int32_t *p_params)
 
static void VRChannelMenu_DisplayChannelSetup (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_SaveSetup (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRChannelMenu_LoadSetup (int32_t paramCount, int32_t *p_params)
 
static void VRReadingsMenu_StartDisplayReadingsThread (int32_t *p_params)
 
static void VRReadingsMenu_RunDisplayReadingsThread (void *p_params)
 
static void VRReadingsMenu_RunDisplayReadingsThread (int32_t *p_params)
 
static void VRReadingsMenu_DisplayChannelReadings (int32_t *p_params)
 
static nai_status_t VRReadingsMenu_ChangeUpdateRate (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRReadingsMenu_ContinuePoll (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRReadingsMenu_StopPolling (int32_t paramCount, int32_t *p_params)
 
static void VRTestMenu_DisplayTestSettings (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRTestMenu_SetTestEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRTestMenu_SetPowerSupplyEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRTestMenu_SetFloatingPointEnable (int32_t paramCount, int32_t *p_params)
 
static void VRStatusMenu_StartDisplayStatusThread (int32_t *p_params)
 
static void VRStatusMenu_RunDisplayStatusThread (void *p_params)
 
static void VRStatusMenu_RunDisplayStatusThread (int32_t *p_params)
 
static void VRStatusMenu_DisplayStatuses (int32_t *p_params)
 
static nai_status_t VRStatusMenu_SetChanStatusEnable (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRStatusMenu_ClearStatus (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRStatusMenu_ChangeUpdateRate (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRStatusMenu_ContinuePoll (int32_t paramCount, int32_t *p_params)
 
static nai_status_t VRStatusMenu_StopPolling (int32_t paramCount, int32_t *p_params)
 
int32_t VR_BasicOps (void)
 The purpose of the vr_basic_ops is to illustrate the methods to call in the naibrd library to perform basic operations with the VR modules for configuration setup and reading the channels.
 

Variables

static const int8_t * CONFIG_FILE = (const int8_t *)"default_VR_BasicOps.txt"
 
static long g_ReadingsUpdateRate
 
static long g_StatusUpdateRate
 
static bool_t g_stopReadingsUpdateThread
 
static bool_t g_stopStatusUpdateThread
 
static bool_t g_initialReadingsThreadStarted
 
static bool_t g_initialStatusThreadStarted
 
naiapp_cmdtbl_params_t VR_BasicOpCmds []
 
naiapp_cmdtbl_params_t VR_ChannelSetupMenuCmds []
 
naiapp_cmdtbl_params_t VR_ChannelReadingsMenuCmds []
 
naiapp_cmdtbl_params_t VR_TestMenuCmds []
 
naiapp_cmdtbl_params_t VR_StatusMenuCmds []
 

Enumeration Type Documentation

◆ vr_basicOps_commands

Enumerator
VR_BASICMENU_CMD_CHANNEL_SETUP_MENU 
VR_BASICMENU_CMD_DISPLAY_READINGS_MENU 
VR_BASICMENU_CMD_SYSTEM_TEST_SETUP_MENU 
VR_BASICMENU_CMD_DISPLAY_MONITOR_STATUS_MENU 
VR_BASICMENU_CMD_COUNT 

◆ vr_channel_setup_commands

Enumerator
VR_CHANNELMENU_CMD_SET_NUMBER_OF_TEETH 
VR_CHANNELMENU_CMD_SET_MONOPOLE_DIPOLE_SELECT 
VR_CHANNELMENU_CMD_SET_CHANNEL_ENABLE 
VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_HIGH 
VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_LOW 
VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_ENABLE 
VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_PERCENT 
VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_HYSTERESIS 
VR_CHANNELMENU_CMD_SET_AUTO_DOWN_RANGE_TIME 
VR_CHANNELMENU_CMD_SET_RANGE_SELECT 
VR_CHANNELMENU_CMD_SET_POLARITY_SELECT 
VR_CHANNELMENU_CMD_SET_AC_COUPLE_ENABLE 
VR_CHANNELMENU_CMD_SET_TERMINATION_ENABLE 
VR_CHANNELMENU_CMD_SET_AVERAGING_TIME 
VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE 
VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE_TO_PHASE_READING 
VR_CHANNELMENU_CMD_SET_MAX_TORQUE_SIG_PHASE 
VR_CHANNELMENU_CMD_SET_DEBOUNCE_TIME 
VR_CHANNELMENU_CMD_SET_MINIMUM_AMPLITUDE 
VR_CHANNELMENU_CMD_SET_MINIMUM_FREQUENCY 
VR_CHANNELMENU_CMD_RESET_CYCLE_COUNT 
VR_CHANNELMENU_CMD_MAIN_MENU 
VR_CHANNELMENU_CMD_UPDATE 
VR_CHANNELMENU_CMD_SAVE_SETUP 
VR_CHANNELMENU_CMD_LOAD_SETUP 
VR_CHANNELMENU_CMD_COUNT 

◆ vr_readings_commands

Enumerator
VR_READINGSMENU_CMD_MAIN_MENU 
VR_READINGSMENU_CMD_CHANGE_UPDATE_RATE 
VR_READINGSMENU_CMD_CONTINUE_POLL 
VR_READINGSMENU_CMD_STOP_POLLING 
VR_READINGSMENU_CMD_COUNT 

◆ vr_status_commands

Enumerator
VR_STATUSMENU_CMD_MAIN_MENU 
VR_STATUSMENU_CMD_SET_CHAN_STATUS_ENABLE 
VR_STATUSMENU_CMD_CLEAR_STATUS 
VR_STATUSMENU_CMD_CHANGE_UPDATE_RATE 
VR_STATUSMENU_CMD_CONTINUE_POLL 
VR_STATUSMENU_CMD_STOP_POLLING 
VR_STATUSMENU_CMD_COUNT 

◆ vr_test_commands

Enumerator
VR_TESTMENU_CMD_MAIN_MENU 
VR_TESTMENU_CMD_SET_TEST_ENABLE 
VR_TESTMENU_CMD_SET_POWER_SUPPLY_ENABLE 
VR_TESTMENU_CMD_SET_FLOATING_POINT_ENABLE 
VR_TESTMENU_CMD_COUNT 

Function Documentation

◆ VR_BasicOps()

int32_t VR_BasicOps ( void )

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

◆ VRBasicMenu_ChannelSetupMenu()

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

◆ VRBasicMenu_DisplayMonitorStatusMenu()

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

◆ VRBasicMenu_DisplayReadingsMenu()

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

◆ VRBasicMenu_Run()

static bool_t VRBasicMenu_Run ( int32_t cardIndex,
int32_t module,
uint32_t modid )
static

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

◆ VRBasicMenu_SystemTestSetupMenu()

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

◆ VRChannelMenu_DisplayChannelSetup()

static void VRChannelMenu_DisplayChannelSetup ( int32_t paramCount,
int32_t * p_params )
static

◆ VRChannelMenu_LoadSetup()

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

◆ VRChannelMenu_ResetCycleCount()

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

◆ VRChannelMenu_SaveSetup()

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

◆ VRChannelMenu_SetACCoupleEnable()

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

◆ VRChannelMenu_SetAutoDownRangeTime()

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

◆ VRChannelMenu_SetAutoThresholdEnable()

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

◆ VRChannelMenu_SetAutoThresholdHysteresis()

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

◆ VRChannelMenu_SetAutoThresholdPercent()

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

◆ VRChannelMenu_SetAveragingTime()

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

◆ VRChannelMenu_SetChannelEnable()

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

◆ VRChannelMenu_SetDebounceTime()

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

◆ VRChannelMenu_SetMaxTorqueSigPhase()

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

◆ VRChannelMenu_SetMinimumAmplitude()

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

◆ VRChannelMenu_SetMinimumFrequency()

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

◆ VRChannelMenu_SetMonopoleDipoleSelect()

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

◆ VRChannelMenu_SetNumberOfTeeth()

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

◆ VRChannelMenu_SetPolaritySelect()

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

◆ VRChannelMenu_SetRange()

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

◆ VRChannelMenu_SetTerminationEnable()

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

◆ VRChannelMenu_SetVoltageThresholdHigh()

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

◆ VRChannelMenu_SetVoltageThresholdLow()

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

◆ VRChannelMenu_SetZeroTorqueSigPhase()

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

◆ VRChannelMenu_SetZeroTorqueSigPhaseToPhaseReading()

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

◆ VRReadingsMenu_ChangeUpdateRate()

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

◆ VRReadingsMenu_ContinuePoll()

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

◆ VRReadingsMenu_DisplayChannelReadings()

static void VRReadingsMenu_DisplayChannelReadings ( int32_t * p_params)
static

◆ VRReadingsMenu_RunDisplayReadingsThread() [1/2]

static void VRReadingsMenu_RunDisplayReadingsThread ( int32_t * p_params)
static

◆ VRReadingsMenu_RunDisplayReadingsThread() [2/2]

static void VRReadingsMenu_RunDisplayReadingsThread ( void * p_params)
static

◆ VRReadingsMenu_StartDisplayReadingsThread()

static void VRReadingsMenu_StartDisplayReadingsThread ( int32_t * p_params)
static

◆ VRReadingsMenu_StopPolling()

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

◆ VRStatusMenu_ChangeUpdateRate()

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

◆ VRStatusMenu_ClearStatus()

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

◆ VRStatusMenu_ContinuePoll()

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

◆ VRStatusMenu_DisplayStatuses()

static void VRStatusMenu_DisplayStatuses ( int32_t * p_params)
static

◆ VRStatusMenu_RunDisplayStatusThread() [1/2]

static void VRStatusMenu_RunDisplayStatusThread ( int32_t * p_params)
static

◆ VRStatusMenu_RunDisplayStatusThread() [2/2]

static void VRStatusMenu_RunDisplayStatusThread ( void * p_params)
static

◆ VRStatusMenu_SetChanStatusEnable()

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

◆ VRStatusMenu_StartDisplayStatusThread()

static void VRStatusMenu_StartDisplayStatusThread ( int32_t * p_params)
static

◆ VRStatusMenu_StopPolling()

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

◆ VRTestMenu_DisplayTestSettings()

static void VRTestMenu_DisplayTestSettings ( int32_t paramCount,
int32_t * p_params )
static

◆ VRTestMenu_SetFloatingPointEnable()

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

◆ VRTestMenu_SetPowerSupplyEnable()

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

◆ VRTestMenu_SetTestEnable()

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

Variable Documentation

◆ CONFIG_FILE

const int8_t* CONFIG_FILE = (const int8_t *)"default_VR_BasicOps.txt"
static

◆ g_initialReadingsThreadStarted

bool_t g_initialReadingsThreadStarted
static

◆ g_initialStatusThreadStarted

bool_t g_initialStatusThreadStarted
static

◆ g_ReadingsUpdateRate

long g_ReadingsUpdateRate
static

◆ g_StatusUpdateRate

long g_StatusUpdateRate
static

◆ g_stopReadingsUpdateThread

bool_t g_stopReadingsUpdateThread
static

◆ g_stopStatusUpdateThread

bool_t g_stopStatusUpdateThread
static

◆ VR_BasicOpCmds

naiapp_cmdtbl_params_t VR_BasicOpCmds[]
Initial value:
= {
}
static nai_status_t VRBasicMenu_ChannelSetupMenu(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:360
static nai_status_t VRBasicMenu_SystemTestSetupMenu(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:484
@ VR_BASICMENU_CMD_DISPLAY_MONITOR_STATUS_MENU
Definition vr_basic_ops.c:116
@ VR_BASICMENU_CMD_SYSTEM_TEST_SETUP_MENU
Definition vr_basic_ops.c:115
@ VR_BASICMENU_CMD_CHANNEL_SETUP_MENU
Definition vr_basic_ops.c:113
@ VR_BASICMENU_CMD_DISPLAY_READINGS_MENU
Definition vr_basic_ops.c:114
static nai_status_t VRBasicMenu_DisplayMonitorStatusMenu(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:522
static nai_status_t VRBasicMenu_DisplayReadingsMenu(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:438

◆ VR_ChannelReadingsMenuCmds

naiapp_cmdtbl_params_t VR_ChannelReadingsMenuCmds[]
Initial value:
= {
{"MM", "Return to Main Menu", VR_READINGSMENU_CMD_MAIN_MENU, NULL},
#ifndef NAIBSP_CONFIG_SOFTWARE_OS_DEOS
{"R", "Change Update Rate in milliSeconds [default:1000mS]", VR_READINGSMENU_CMD_CHANGE_UPDATE_RATE, VRReadingsMenu_ChangeUpdateRate},
#endif
}
@ VR_READINGSMENU_CMD_CONTINUE_POLL
Definition vr_basic_ops.c:155
@ VR_READINGSMENU_CMD_STOP_POLLING
Definition vr_basic_ops.c:156
@ VR_READINGSMENU_CMD_CHANGE_UPDATE_RATE
Definition vr_basic_ops.c:154
@ VR_READINGSMENU_CMD_MAIN_MENU
Definition vr_basic_ops.c:152
static nai_status_t VRReadingsMenu_StopPolling(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:2993
static nai_status_t VRReadingsMenu_ChangeUpdateRate(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:2952
static nai_status_t VRReadingsMenu_ContinuePoll(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:2979

◆ VR_ChannelSetupMenuCmds

naiapp_cmdtbl_params_t VR_ChannelSetupMenuCmds[]
Initial value:
= {
{"MM", "Return to Main Menu", VR_CHANNELMENU_CMD_MAIN_MENU, NULL},
{"UD", "Update", VR_CHANNELMENU_CMD_UPDATE, NULL},
}
static nai_status_t VRChannelMenu_SetAutoThresholdPercent(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:962
static nai_status_t VRChannelMenu_SetPolaritySelect(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1294
static nai_status_t VRChannelMenu_SetDebounceTime(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1686
static nai_status_t VRChannelMenu_SetAutoThresholdEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:910
static nai_status_t VRChannelMenu_SetVoltageThresholdHigh(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:787
static nai_status_t VRChannelMenu_SetAveragingTime(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1452
static nai_status_t VRChannelMenu_SetZeroTorqueSigPhaseToPhaseReading(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1578
static nai_status_t VRChannelMenu_LoadSetup(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:2483
static nai_status_t VRChannelMenu_SetMaxTorqueSigPhase(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1622
static nai_status_t VRChannelMenu_SaveSetup(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:2296
static nai_status_t VRChannelMenu_SetVoltageThresholdLow(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:849
static nai_status_t VRChannelMenu_SetAutoDownRangeTime(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1092
static nai_status_t VRChannelMenu_SetAutoThresholdHysteresis(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1027
static nai_status_t VRChannelMenu_SetMonopoleDipoleSelect(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:677
static nai_status_t VRChannelMenu_SetChannelEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:729
static nai_status_t VRChannelMenu_SetMinimumFrequency(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1808
static nai_status_t VRChannelMenu_SetACCoupleEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1348
static nai_status_t VRChannelMenu_SetNumberOfTeeth(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:616
static nai_status_t VRChannelMenu_SetZeroTorqueSigPhase(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1513
static nai_status_t VRChannelMenu_SetMinimumAmplitude(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1747
static nai_status_t VRChannelMenu_SetTerminationEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1400
static nai_status_t VRChannelMenu_SetRange(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1173
static nai_status_t VRChannelMenu_ResetCycleCount(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:1869
@ VR_CHANNELMENU_CMD_SET_MONOPOLE_DIPOLE_SELECT
Definition vr_basic_ops.c:123
@ VR_CHANNELMENU_CMD_SET_MINIMUM_AMPLITUDE
Definition vr_basic_ops.c:140
@ VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_HYSTERESIS
Definition vr_basic_ops.c:129
@ VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE
Definition vr_basic_ops.c:136
@ VR_CHANNELMENU_CMD_SET_MAX_TORQUE_SIG_PHASE
Definition vr_basic_ops.c:138
@ VR_CHANNELMENU_CMD_SET_POLARITY_SELECT
Definition vr_basic_ops.c:132
@ VR_CHANNELMENU_CMD_SET_RANGE_SELECT
Definition vr_basic_ops.c:131
@ VR_CHANNELMENU_CMD_SET_MINIMUM_FREQUENCY
Definition vr_basic_ops.c:141
@ VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_ENABLE
Definition vr_basic_ops.c:127
@ VR_CHANNELMENU_CMD_SET_DEBOUNCE_TIME
Definition vr_basic_ops.c:139
@ VR_CHANNELMENU_CMD_SET_AVERAGING_TIME
Definition vr_basic_ops.c:135
@ VR_CHANNELMENU_CMD_LOAD_SETUP
Definition vr_basic_ops.c:146
@ VR_CHANNELMENU_CMD_MAIN_MENU
Definition vr_basic_ops.c:143
@ VR_CHANNELMENU_CMD_SET_AUTO_DOWN_RANGE_TIME
Definition vr_basic_ops.c:130
@ VR_CHANNELMENU_CMD_SAVE_SETUP
Definition vr_basic_ops.c:145
@ VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_LOW
Definition vr_basic_ops.c:126
@ VR_CHANNELMENU_CMD_SET_CHANNEL_ENABLE
Definition vr_basic_ops.c:124
@ VR_CHANNELMENU_CMD_RESET_CYCLE_COUNT
Definition vr_basic_ops.c:142
@ VR_CHANNELMENU_CMD_SET_VOLTAGE_THRESHOLD_HIGH
Definition vr_basic_ops.c:125
@ VR_CHANNELMENU_CMD_SET_AUTO_THRESHOLD_PERCENT
Definition vr_basic_ops.c:128
@ VR_CHANNELMENU_CMD_UPDATE
Definition vr_basic_ops.c:144
@ VR_CHANNELMENU_CMD_SET_AC_COUPLE_ENABLE
Definition vr_basic_ops.c:133
@ VR_CHANNELMENU_CMD_SET_TERMINATION_ENABLE
Definition vr_basic_ops.c:134
@ VR_CHANNELMENU_CMD_SET_ZERO_TORQUE_SIG_PHASE_TO_PHASE_READING
Definition vr_basic_ops.c:137
@ VR_CHANNELMENU_CMD_SET_NUMBER_OF_TEETH
Definition vr_basic_ops.c:122

◆ VR_StatusMenuCmds

naiapp_cmdtbl_params_t VR_StatusMenuCmds[]
Initial value:
= {
{"MM", "Return to Main Menu", VR_STATUSMENU_CMD_MAIN_MENU, NULL},
#ifndef NAIBSP_CONFIG_SOFTWARE_OS_DEOS
{"R", "Change Update Rate in milliSeconds [default:1000mS]", VR_STATUSMENU_CMD_CHANGE_UPDATE_RATE, VRStatusMenu_ChangeUpdateRate},
#endif
}
@ VR_STATUSMENU_CMD_CLEAR_STATUS
Definition vr_basic_ops.c:174
@ VR_STATUSMENU_CMD_MAIN_MENU
Definition vr_basic_ops.c:172
@ VR_STATUSMENU_CMD_CONTINUE_POLL
Definition vr_basic_ops.c:177
@ VR_STATUSMENU_CMD_CHANGE_UPDATE_RATE
Definition vr_basic_ops.c:176
@ VR_STATUSMENU_CMD_STOP_POLLING
Definition vr_basic_ops.c:178
@ VR_STATUSMENU_CMD_SET_CHAN_STATUS_ENABLE
Definition vr_basic_ops.c:173
static nai_status_t VRStatusMenu_StopPolling(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3488
static nai_status_t VRStatusMenu_ClearStatus(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3371
static nai_status_t VRStatusMenu_ChangeUpdateRate(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3445
static nai_status_t VRStatusMenu_SetChanStatusEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3311
static nai_status_t VRStatusMenu_ContinuePoll(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3474

◆ VR_TestMenuCmds

naiapp_cmdtbl_params_t VR_TestMenuCmds[]
Initial value:
= {
{"MM", "Return to Main Menu", VR_TESTMENU_CMD_MAIN_MENU, NULL},
}
@ VR_TESTMENU_CMD_SET_POWER_SUPPLY_ENABLE
Definition vr_basic_ops.c:165
@ VR_TESTMENU_CMD_SET_FLOATING_POINT_ENABLE
Definition vr_basic_ops.c:166
@ VR_TESTMENU_CMD_MAIN_MENU
Definition vr_basic_ops.c:163
@ VR_TESTMENU_CMD_SET_TEST_ENABLE
Definition vr_basic_ops.c:164
static nai_status_t VRTestMenu_SetTestEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3071
static nai_status_t VRTestMenu_SetPowerSupplyEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3109
static nai_status_t VRTestMenu_SetFloatingPointEnable(int32_t paramCount, int32_t *p_params)
Definition vr_basic_ops.c:3147