Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
XRP_XGENE.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
| ||||||
Macros:
Usage: xrp_status Print out the current status of the controller xrp_remote_on Usage: xrp_remote_on Switch the controller to remote mode. NOTE: the controller must be set in "mode 400" using front panel keys NOTE: the controller front panel will be disabled xrp_remote_off Usage: xrp_remote_off Switch the controller to local mode. NOTE: the controller front panel will be re-activated xrp_set_hvoff_time Usage: xrp_set_hvoff_time seconds Set the automatic HV switching off time. The minium is 2 seconds. xrp_no_hvoff_time Usage: xrp_no_hvoff_time Disable the automatic HV switching off. xrp_focal_normal Usage: xrp_focal_normal Select the standard focal spot xrp_focal_small Usage: xrp_focal_small Select the small focal spot xrp_hv Usage: xrp_hv [on | onwait | off] Control the output of the controller. | ||||||
Internal Macros: | ||||||
Usage: xrp_config () Macro motor/counter implementation xrp_cmd Usage: xrp_cmd () Macro motor/counter implementation xrp_check Usage: xrp_check (sl) Returns null if ok _xrp_status Usage: _xrp_status() Returns the current status of the controller _xrp_motors_disable Usage: _xrp_motors_disable (disable) Enable or disable all macro motors xrp_parse Usage: xrp_parse (string) Parse the given string answer from controller and returns a float value or -1 if an error occured xrp_query Usage: xrp_query (sl, cmd) Execute the given query on controller and returns the answer (remove terminators) xrp_flush Usage: xrp_flush (sl) Paranoic xrp_wr Usage: xrp_wr (sl, cmd) Send command to controller (add terminator) xrp_rd Usage: xrp_rd (sl) Read answer from controller (remove terminators) TODO: handle multi lines answers (protocol??) TODO: handle multi SPEC sessions talking to same controller xrp_debug Usage: xrp_debug [on|off] Cosmetics xrp_log Usage: xrp_log (msg) Cosmetics _xrp_debug Usage: _xrp_debug (msg) Cosmetics xrp_err Usage: xrp_err (msg) Cosmetics | ||||||
|