Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
FlexCurrent_mh.mac $Revision: 1.1 $ | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The macros provide users with an interface between SPEC and the FlexCurrent (orion:10000/sr/comploop/... device. INTERNALS You may declare a motor and a counter, even for the same device! The macro motor/counter macros can handle that. Now declare a motor controller: MOTORS DEVICE ADDR NUM <>TYPE Then create the macro motor: Unit is always 0 ! Number: <>Controller 0: MAC_MOT Then hit 'm' twice. Set the following for your motor: Hardware read mode <> PR + AL + NQ If needed, declare a counter controller: SCALERS DEVICE ADDR NUM <>TYPE The counter is then configured as : Number Name Mnemonic <>Device Unit Chan <>Use As Scale Factor INTERNALS | ||||||
Macros:
Usage: flexc_debug toggle debug mode for the present macros. | ||||||
Internal Macros: | ||||||
Usage: __FlexC_tango_catch_error __flexc_error Usage: __flexc_error (mesg) Attempts to write indentical error message only once in a while FLEXCURRENT_config Usage: FLEXCURRENT_config (mne, type, unit, mod, chan) Called by spec FLEXCURRENT_cmd Usage: FLEXCURRENT_cmd(mne, cmd, p1, p2, p3) Called by spec | ||||||
|