Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
I400.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Detection BPM | ||||||
Description:
| ||||||
Documentation:
This macro set allows to control I400 units in spec and configure their signal inputs as pseudocounters. More than one I400 unit can be operated through this macro set. EXAMPLE SETUP Serial line in spec config has to be set as raw, 19200 baud The mode rotary switch on the I400 unit has to be set to 8. | ||||||
Macros:
Usage: i400setup <i4name> <serline> [<parameter>=<value> ...] Configures a I400 connected to <serline> with the name <i4name>. The following optional parameters can be also set. i400samples Usage: i400samples <i4name> <samples> Sets the number of sub-samples taken during intergration period for the i400 unit <i4name> i400capacitor Usage: i400capacitor <i4name> <capacitor> Sets feedback capacitor to low value (0) or high value (1) i400show Usage: i400show Shows the list of I400 units configured | ||||||
Internal Macros: | ||||||
Usage: _i400_init() _i400_setup Usage: _i400_setup(args) i400gainlist Usage: i400gainlist i400gain Usage: i400gain _i400_setgain Usage: _i400_setgain(name, gain) _i400_getgain Usage: _i400_getgain(name) _i400_setperiod Usage: _i400_setperiod(name, per, samp) _i400_setcapacitor Usage: _i400_setcapacitor(name, cap) _i400_getcapacitor Usage: _i400_getcapacitor(name) _i400_initdata Usage: _i400_initdata i400unsetup Usage: i400unsetup [<i4name>] Unsetup given i400 unit or all units _i400_unsetup Usage: _i400_unsetup(name) _i400_prepcount Usage: _i400_prepcount(name) _i400_getcounts Usage: _i400_getcounts(name) _i400_read Usage: _i400_read(name) _i400_initcom Usage: _i400_initcom(name) _i400_io Usage: _i400_io(name, com, noack) | ||||||
|