Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example hutch-python scan session in RIX.  "rix3" also takes a "--debug" option to increase verbosity.  TMO has a similar "tmo3" command.

Code Block
languagetext
rix-daq:~> rix3
Loading local disk python env pcds-4.1.4
      _      _____       _   _                 
     (_)    |  __ \     | | | |                
 _ __ ___  _| |__) |   _| |_| |__   ___  _ __  
| '__| \ \/ /  ___/ | | | __| '_ \ / _ \| '_ \ 
| |  | |>  <| |   | |_| | |_| | | | (_) | | | |
|_|  |_/_/\_\_|    \__, |\__|_| |_|\___/|_| |_|
                    __/ |                      
                   |___/                       

INFO     Selected default hutch-python daq platform: 0
INFO     Loading debug tools...

(lines removed for brevity)

In [1]: daq.configure(motors=[sim.fast_motor1, sim.fast_motor2],events=10,record=True)
INFO     configure - configure: 2 motors
Out[1]: ({}, {})

In [2]: RE(bp.scan([daq], sim.fast_motor1, 1, 10, sim.fast_motor2, 1, 10, 5))


Transient Scan ID: 1     Time: 2021-10-20 12:06:21
Persistent Unique Scan ID: '81544aea-5fb7-4017-b03d-a1ea8d15c174'
New stream: 'primary'
+-----------+------------+-------------+-------------+
|   seq_num |       time | fast_motor1 | fast_motor2 |
+-----------+------------+-------------+-------------+
|         1 | 12:06:33.3 |           1 |           1 |
|         2 | 12:06:34.4 |        3.25 |        3.25 |
|         3 | 12:06:35.5 |         5.5 |         5.5 |
|         4 | 12:06:36.6 |        7.75 |        7.75 |
|         5 | 12:06:37.7 |          10 |          10 |
+-----------+------------+-------------+-------------+
generator scan ['81544aea'] (scan num: 1)



Out[2]: ('81544aea-5fb7-4017-b03d-a1ea8d15c174',)

In [3]: quit
rix-daq:control>  

...