12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

camac program, 199cat macro, 127cd (change directory) macro, 28, 127cdef() function, 54, 68, 91, 100, 103chdir() function, 28, 56, 68, 69chg_dial() function, 30, 68, 105, 210chg_offset() function, 30, 68, 106, 210–110ci (calculate inverse) macro, 10, 143cleanup macro, 25, 54, 159–59Clock. See countingclose() function, 17, 68, 76, 82, 86cnt_mne() function, 68, 100cnt_name() function, 68, 100cnt_num() function, 68, 100COLS built-in variable, 56com (comment) macro, 128Command files. See File (command)Command recall feature (history), 15–16, 79syntax for,50Commands, <strong>spec</strong>listing, 26, 48, 80types ofbuilt-in, 68–119diagnostic, 26–27hardware, 68, 94–97macro, 68, 90–93program state, 68utility,69–81comment macro, 7, 123, 125, 132Commentsin a command file, 26pound sign to begin, 26, 29, 46, 204syntax for,46config file. See File (configuration)config macro, 128Configuration editor. See edconfconstant command, 55, 68, 89Constantsnumeric, 45decimal, 49floating point, 49hexadecimal, 49integer,49octal, 49syntax of, 49string, 45escape sequences for, 49single or double quotation marks as delimitersfor,49syntax of, 49contents program, 40continue statement, 22, 63Control key actionsˆ\ to quit, 5ˆCcleanup macro run automatically after, 25,159–60control to command level after, 63files turned off after, 17to exit edconf program, 203to halt timer/clock, 12, 101to interrupt or abort, 10, 12, 13, 54, 133, 145to reset <strong>spec</strong>, 46to stop motors, 10ˆD to terminate <strong>spec</strong> session, 55ˆV to quit, 5Conversionbetween degrees C and kilohms, 152functions, 68, 119cos() function, 68, 118count macro, 140–41count.mac file, 123counter_par() function, 68, 100COUNTERS built-in variable, 56Counting, 11, 32–33, 100, 140–42C-PLOT package<strong>spec</strong> used with, 35–41csh UNIX history mechanism, 15ct (count) macro, 11, 33, 123, 140Cut points for a four-circle diffractometer, 174cuts macro, 174, 178CWD built-in variable, 56cz (calculate zone) macro, 178–79Dd (date) macro, 125, 128d2scan macro, 12, 146d3scan macro, 12, 146Data analysis features, 106–17Data file. See File (data)data_anal() function, 68, 108data_bop() function, 68, 108data_dump() function, 68, 112data_fit() function, 68, 110data_get() function, 68, 107data_grp() function, 68, 106, 107, 114data_info() function, 68, 107data_nput() function, 68, 107, 108, 110, 112data_pipe() function, 68, 113, 113–17data_plot() function, 68, 110, 112data_put() function, 68, 107, 108, 110, 112data_read() function, 68, 110data_uop() function, 68, 107date() function, 14–15, 68, 69, 128Date, returning the current, 69dcb() function, 68, 119DEBUG built-in variable, 19, 57INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION INDEX 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!