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.

¢stop(flag) — If flag has bit one set (1), stops all motors that are moving. If flaghas bit two set (2), stops the timer, counters and any other data acquisition(multi-channel scaling, for example).Countingmcount(counts) — Starts the timer/clock counting for counts monitor counts.Returns zero.tcount(t) — Starts the timer/clock counting for t seconds, where t may be nonintegral.Returns zero.getcounts — Loads the built-in array S[] with the contents of the scalers.cnt_mne(counter) — Returns the string mnemonic of counter number counter asgiven in the configuration file. (Mnemonics are, at most, 7 characters long.)Resets to command level if not configured for counter .cnt_name(counter) — Returns the string name of counter number counter as givenin the configuration file. (Names are, at most, 15 characters long.) Returns"?" if not configured for counter .cnt_num(mne) — Returns the counter number corresponding to the counter mnemonic,o§ mne 1ifthere is no such counter configured.counter_par(counter, par [, val ]) — Returns or sets parameters associated withcounter number counter as given in the configuration file. The following pararguments are supported for all counters:"unit" — returns the unit number of the indicated counter."channel" — returns the channel number of the indicated counter."scale" — returns the value of the scale factor set in the config file for theindicated counter."responsive" — returns nonzero if the hardware appears to be working for theindicated counter."controller" — returns a string that indicates the controller type of the indicatedcounter."disable" — returns a nonzero value if the counter has been disabled by software.If val is given and is nonzero, then the counter is disabled. If valis given and is zero, the counter becomes no longer disabled. Adisabledcounter channel will not be accessed by any of <strong>spec</strong>’s counting commands.Any cdef() -defined macros will automatically exclude the portionsof the macro keyed to the particular counter when the counter issoftware disabled.100 REFERENCE MANUAL INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

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

Saved successfully!

Ooh no, something went wrong!