Magic commands

This chapter gives a list of magic commands that have been implemented so far.

lsmag gives a list of magic commands.

ascan? prints the doc string.

Scan commands:

ascan eh_mot65 0 1 10 0.1
  absolute scan of motor eh_mot65 from 0 10 1, 10 points, sample time 0.1  
  Devices are specified by the ActiveMntGrp

a2scan eh_mot65 0 1 eh_mot66 2 4 10 0.1
  absolute scan of 2 motors 

dscan eh_mot65 -0.1 0.1 10 0.1
  relative scan of eh_mot65 from (<currentPos> - 0.1>) to 
  (<currentPos> + 0.1), 10 points, sample time 0.1

dscan eh_mot65 -0.1 0.1 eh_mot66 -0.2 0.2 10 0.1
  relative scan of 2 motors

If pyspMonitor is started before a scan is executed, graphics is displayed:

pyspMonitor3.py -n

The option '-n' says that there is no door.

Motor related commands:

mv 
  move a motor, e.g. mv en_mot65 0.1

wa
  show all motors

wm 
  show the position of one motor, e.g. wm eh_mot65

Environment:

The environment is a persistent dictionary, maintained in the environment attribute of a BlueskyServer device, a Tango server.

 
lsenv
  shows the environment

senv 
  sets an environment key to a value, e.g. senv ActiveMngtGrp MG1

usenv
  deletes a key from the environment

Devices:

 
lsm
  list all motors

lsct
  list all counters and timers