11: Utilities and User Commands

Command Purpose
add_wd_ev Add a CyFlex event to be monitored by the ‘cyflex_wd’ task.
add_wd_inperrs Add Input Error events from all active devices in system attributes.
caLoad Load and start a specified CyberApp in the background after verifying no other CyberApp is registered, and the appropriate labels are loaded.
cell_map_db_create_insert Create/Insert/Update /data/cell_map.db with contents of the /data/cell_map.SITE files.
clear_error Send a message to the error manager that will cause the error message queue to be deleted. Running the command “errs” after this will only show errors generated after the clear_error command was issued.
clr_notify_msg Clear all notify messages from console screens.
clr_safety_msg Clear all safety messages from console screens.
cre8_script Generate a script file containing a line for all nodes within the /data/cell_map file for a specified type of system.
cre8_secure_login_pwd Create an encrypted password file for the secure_vrbl_chg program.
critical Make a task critical
ctlgevlist Generate and set an event with comma-delimited values derived from a specified file containing CyFlex variables, including a calculated checksum.
cyflex_wd Monitor events for watchdog conditions.
cyflexlogevent Provide and use a command line interface to add entries to the CyFlex system log.
darts_datapoint Control the sequencing and reporting of various channel measurements.
dec2hex Convert a decimal to a hexadecimal equivalent.
deg2mv Convert a temperature value to an equivalent millivolt value by working backward through a “long” calibration table for a designated channel.

del_wd_ev

Delete an event from monitoring by the watchdog task.
delay Produce delayed streams of data from specified input variables to output variables based on configuration settings.
dspec_qt5_conv Create a .ui file from a dsply_specs.nnn file.
dumpit Display table of all active CyFlex variables.
dump_csar_lookup Display and query CSAR variable tables for CyFlex, including options to view active, shadow, owner tables, and export in CSV format.
dump_labels Display table of all active CyFlex variables.
dy_ff Switch dyno feed forward ON/OFF
elb Insert an electronic logbook entry into the the /specs/log/elogbook.db database file. The user is prompted to enter in their RACFID and a comment to be written to the logbook.
elog_event_watch Monitor for elog_push and elog_pull events and execute corresponding scripts to push or pull data to or from the central elogbook database.
eo Execute a specified command on a file.
err_codes Obtain an error description associated with a given error code or number.
errc Obtain error code information.
errs Retrieve errors from the error manager database.
errs_state Retrieve errors from the error state manager database. The retrieved errors are written to a readable file.
evreal Monitor a specified event for messages containing a filter string, parse the message into real numbers, and assign them to specified CyFlex variables.

fdump

Display filtered CyFlex variables from shared memory, including labels, values, units, and other attributes based on specified criteria.
flash_rpt Use this generic report writer to convert a template into a point-in-time report that contains variable label/value/units for each label tag found in a template file.
flexui_specs Configure display consoles with a specified display specification file.
framp Apply a ramp to a variable.
garb_ck Check a file for non-printable characters.
get_cart_info Obtain emission cart assignment information.
get_hostname Find the hostname of a specified testcell and place the result into a specified CyFlex string variable.
get_mapped_file Retrieve and print the mapped file location for a given keyword from a configuration file.
get_mapped_host Retrieve and print the hostname associated with a specified keyword from a mapping file.
get_site_cfg Read a specified file and output the @SITE_CONFIG entry to STDOUT.
get_tc_name Print the cell name to the standard output (std_out).
get_tc_num Return the numerical equivalent of  a cell_name.
get_vrbl_age Return the value of the time in seconds since a variable(s) was last updated.
gval Retrieve and display the value of a CyFlex variable from shared memory.
gvals Output the values of a list of variables.
gvar Retrieve and display the value of a specified variable from shared memory in CyFlex.
hex2dec Convert a hexadecimal to a decimal equivalent.
is_name_ready Determine if a particular application is running, provided that it has registered its name.
learnit Process learning specifications for recording and playing back data cycles based on events.
limit_status Display the current state of all limits in the system.
list_wd_ev List the events currently being monitored by the CyFlex watchdog task.
LV_test Simple functional test of the LV interface. LV stands for LabView, but it really applies to any external interface that needs to access information about CyFlex variables.
make_tri_arrays Create array variables to hold the contents of tri_specs.dat
merge_keyword_files Merge 2 files which use keywords into one file.
mkdate Save a date/time value to specified variable(s).
mk_data_dirs_cn

Create the directories under the /data directory on a central node for the specified site.

mk_data_dirs_tc

Create the directories under the /data directory on a test cell node

mk_PAMtestids Create files within the /data/PAMtestids directory.
mk_string_tran Create a transition event for a string variable.
newtest_cron

Produce a log file and Electronic Log entry that documents all tests and associated TRVs.

noncritical Make a task not critical.
ramp Apply a ramp to a variable.
re-read Send a re-read event message to an application whose registered name matches the argument.
recal_spd_pm Recalibrate the speed and period measurement tables.
release_task Release task instance resources and exit the system.
rm_event Remove a permanent CyFlex event.
rm_headers_in_btw Remove extraneous headers in a floger output file.
rnd_trip Hard-wire an analog output (ao) on eblox or snapio to a analog input (ai) for eblox or snapio and record how long it takes after the ao change to see the value on the ai channel.
roadspeed_oly Obtain the vehicle speed from an ECM as used in a particular pickup truck.
rstr_pnp_dat Restore the values of any pnp logical variables that have been saved.
rtsched Set the real-time scheduling policy and priority for a specified process or for a new command to be executed.
set_color Set the display color or status of variables such as REAL, INTEGER, LOGICAL, STRING, and their arrays.
secure_vrbl_chg Allow an authorized user to change the value of private shared memory variables.
setAEI_time Get the current time and sets a string variable with the time in a format that is compatible with AEI multiFilter change cart.
setev Set a CyFlex event.
setevint Set an event with integer content.
setevlist Set an event with content derived from variables in a specified file.
setevparam Set an event with additional structure message data based on a specification file and provided index-value pairs.
setevstr Set an event with string content.
settoll Set the compressed history tolerance value for a list of real variables.
show_mem

Print the available memory size for common shared memory areas allocated for CyFlex variables and the portion of that which is used.

sigmon Monitor a list of given events (up to 20).
simple_elb Insert an electronic logbook entry into the the /specs/log/log.nnn file. The user is prompted to enter in their RACFID and a comment to be written to the logbook.
sine Apply a sine function to a variable
snap Search all CyFlex shared memory areas which contain arrays of CyFlex variables and print the label, value, and units, if the variable has the “display_active” member TRUE.
squarew Apply a square_wave function to a variable.
tcs_more Attempt to communicate with each CyFlex system that is defined in the /data/cell_map file.
wait_for_event Wait for a specified event or for a specified number of seconds.
windows_reader Transfer and read a windows file from a samba link, store the data from the file into cyflex variables, and then delete the file.