Access to Tango Devices in Spock

The Pool device proxies (motors, counters, timers, ...) are directly accessible in spock. In this way one can access all attributes and commands of the devices. Writing the name of the device and pressing 'TAB' the list of attributes and commands of this device is displayed.

For example, for reading the attribute position of a motor (motoms1) or changing it (moving the motor):

p09/door/exp.01 [29]: exp_dmy01.position

         Result [29]: 3.0

p09/door/exp.01 [30]: exp_dmy01.position = 4

p09/door/exp.01 [31]: exp_dmy01.position

         Result [31]: 4.0



2019-11-13