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.

¢¡HardwareFunctions and CommandsMCAand Other Data Acquisitionmca_sel(n) — Selects which MCA-type device to use with subsequent mca_get() ,mca_put() and mca_par() commands. The numbering of MCA-type devices isset in the config file. Returns ¡§ £ £ ¢ §¦¥ §§ ¥¡ ¡ n ,otherwisereturns zero. It is not necessary to use mca_sel() if only one MCA-type deviceis configured. The selected MCA-type device does not change when reading¢£¢the config file with the reconfig command.mca_sel("?") — Lists the configured MCA devices, with the currently selected devicemarked with an asterisk.mca_par(par [, val ]) — Adevice-dependent function to access various features andparameters of the currently selected MCA-type device. The string par selectsan option. The argument val contains an optional numeric value. See thehelp file for the particular device for implemented options and return values.mca_get(grp, elem) or mca_get(array) — Gets data from the currently selectedMCA-type device, and transfers it to element elem of data group grp or to theelements of the data array array . Generally returns the number of points¢£¢§§ §¥¨¡ § mca_put(grp, elem) or mca_put(array) — Sends data from data group grp ,elementelem or from the data array array to the currently selected MCA-type device.§ ¥ ¥ §¢£¢§§ §¥¨¡ § mca_spar(sel par [, val ]) — As mca_par() above, but selects which MCA devicewith the sel argument.£ §¥ ¤©§ § ££¥¤ £¡ ¡ ¢§ ¢§¡¤££¢ §¡¤£ §mca_sget(sel grp, elem) or mca_sget(sel array) — As mca_get() above, but selectswhich MCA device with the sel argument.mca_sput(sel grp, elem) or mca_sput(sel array) — As mca_put() above, but selectswhich MCA device with the sel argument.CAMAC(IEEE-583) Hardware FunctionsCAMAC functions are available if the appropriate hardware devices and softwaredrivers have been installed on the computer. The config file describes which CAMAChardware is installed. Refer to the Administrator ’s Guide for information on the supportedCAMAC controllers and how to install the corresponding drivers.CAMAC modules are programmed with FNA codes where F is a function code, N isthe slot number and A is a subaddress number. Slot numbers are assigned in the94 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!