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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

number,35, 37output, customizing, 148–49powder mode, 148reciprocal space, 146–46, 157restarting an aborted, 13, 145retrieving with scans.4, 37sample output, 12summary utilities, 40temperature, 148scan_count macro, 161scan_head macro, 154, 158scan_loop macro, 160scan_move macro, 154, 160scan_plot macro–42, 160scan_tail macro, 161scans.4 C-PLOT user function, 36–40background subtraction with, 38data columns used by, 39–39error bars returned by, 40file conventions, 38file indexing by, 40invoking, 36–37memory for strings and scan numbers, 39merging scans with, 38options, 37retrieving scans with, 37scans.mac file, 123scans1.mac file, 123<strong>Sector</strong>s for four-circle diffractometers, 173Security features of <strong>spec</strong>, 3,210–110sed utility to manipulate <strong>spec</strong> data files, 35ser_get() function, 34, 56, 68, 97ser_par() function, 68, 97ser_put() function, 34, 68, 97set macro, 8, 30, 123, 135, 136, 210set_dial macro, 8, 135, 136set_lim() function, 30, 68, 106, 136, 210set_lm macro, 9, 31, 123, 135–36set_sim() function, 68, 99, 129setaz macro, 178setlat macro, 178setmode macro, 178setmono macro, 178setplot macro, 13, 133, 142–42, 145setpowder macro, 148setscans macro, 133, 145setsector macro, 178setslits macro, 133settemp macro, 149, 149–52settings file. See File (settings)shell escapes, See Subshellsshow_cnts macro, 12, 123, 140–41showscans program, 41–41showtemp macro, 149–50Simulation mode, 99sin() function, 68, 118Site-dependent C code, adding, 195–97site.mac file, 124sleep() function, 68, 76, 137slit.mac file, 123sock_io() function, 68, 80Software motor limits, 9–9. See also Motor (limits)<strong>spec</strong>as a calculator, 14–15C-PLOT package used with, 35–41customized with C code, 195–97exiting, 5features, 3installation, 187–94internal structure, 45–46motor security of, 3, 210–110purpose of, 3, 28standard scans in, 145start-up of four-circle version from a UNIX shell, 4terminating, 5UNIX utilities used with, 35–41updating, 197–97user interface, 14–35welcome message, 4SPEC built-in variable, 58<strong>spec</strong>.mac command file, 25, 124<strong>spec</strong>_par() function, 52, 68, 76–79, 81, 83, 84, 102<strong>spec</strong>adm user account, 187, 188SPECD built-in variable, 58, 131Special characters in string constants, listing of, 49split() function, 68, 119splot macro, 13, 142–42splot_res macro, 142sprintf() function, 15, 68, 119sqrt() function, 68, 118srand() function, 68, 118sscanf() function, 68, 119start.mac file, 123startgeo macro, 134starttemp macro, 133startup macro, 5–6, 133stop() function, 68, 99Stringfunctions, 68, 118patterns, 50stty UNIX command, 54su command, 188Subshells, spawning, 27–28, 69, 127substr() function, 15, 68, 119Sun computers, use of <strong>spec</strong> with, 4surf.src file, 123INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION INDEX 275

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

Saved successfully!

Ooh no, something went wrong!