Welcome | spec | C-PLOT | Support | Users | Contact
 
Contents -> ADMINISTRATOR'S GUIDE -> Installed Files -> The Configuration Editor
spec Manual


5.5.6. - The Configuration Editor



The edconf program is the primary means for maintaining the hardware configuration. When running spec, edconf is usually run by invoking the config macro. Without arguments, edconf will use the config and settings files in the current directory. If given a directory name as an argument, it will use the files in that directory. If invoked with the -s flag, edconf will run in simulate mode, allowing you to view but not modify the files. If you do not have write permission for the config file, edconf will automatically run in simulate mode.

To get a list of the available commands while running edconf, type a question mark ( ?). The following commands are available:
 Arrow keys   Move around. 
 h j k l   Move left, down, up, right. 
 <return>   Enter data or move down one row. 
 <space>   Move right. 
 ^F   .fi Scroll forward through motors on the Motor screen, counters on the Scalers screen, devices on the CAMAC screen, items on the drop-down menus, etc. 
 ^B   Scroll backwards, as above. 
 '   Enter to change string-valued cell (e.g. motor names). 
 + - > <   Step through list of choices (if <> appears in label). 
 r   Reread settings and config files. 
 w   Write settings and config files. 
 R   Read from backup settings and config files. 
 c   Change to next screen. 
 M   Change to Motor screen. 
 m   Step through motor parameter screens. 
 C   Change to CAMAC screen. 
 I   Change to Interfaces screen. 
 D   Change to Devices screen. 
 A   Change to MCA/CCD Acquisition screen 
 S   Change to Scalers (counters) screen. 
 i   Insert a motor at current position. 
 d   Delete the motor at current position. 
 G   Toggle all-motors mode with linked configurations. 
 ^D   Blank out optional motor parameter fields. 
 ^L   Refresh the screen. 
 ^W   Gain wizard access to set protections. 
 H   Print help information for current screen. 
 ?   Print command help window. 
 ^C   Exit. 



There are five types of data cells in the configuration spread sheet. For number-valued cells, simply enter the number value when the cell is highlighted. For string-valued cells, such as motor names, you must first type a single quote (') before entering the string. For YES/NO cells, type a y or an n. The fourth type of cell has the characters <> before the cell label. For these cells, use the +, -, <, or > keys to step through the possible choices. For all types of cells, the <return> key enters the values. The fifth type of cell is used for entering motor unit/channel values. For these cells, type just the channel number for unit zero, or type both numbers separated by a literal /.

Use the w command to write out the configuration, and use ^C to exit the program.


  Top
  Prev | Next