Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: bluesky_lab3.py demo

...

Code Block
languagetext
titlebluesky_rix.py demo
$ python bluesky_rix.py 

Transient Scan ID: 1     Time: 2020-12-10 18:24:53
Persistent Unique Scan ID: '2092a9ca-160c-4b52-8683-256f699e1e01'
New stream: 'primary'
+-----------+------------+------------+
|   seq_num |       time |     motor1 |
+-----------+------------+------------+
|         1 | 18:24:58.5 |    -10.000 |
|         2 | 18:24:59.6 |     -8.571 |
|         3 | 18:25:00.6 |     -7.143 |
|         4 | 18:25:01.6 |     -5.714 |
|         5 | 18:25:02.7 |     -4.286 |
|         6 | 18:25:03.7 |     -2.857 |
|         7 | 18:25:04.8 |     -1.429 |
|         8 | 18:25:05.8 |      0.000 |
|         9 | 18:25:06.8 |      1.429 |
|        10 | 18:25:07.9 |      2.857 |
|        11 | 18:25:08.9 |      4.286 |
|        12 | 18:25:10.0 |      5.714 |
|        13 | 18:25:11.0 |      7.143 |
|        14 | 18:25:12.0 |      8.571 |
|        15 | 18:25:13.1 |     10.000 |
+-----------+------------+------------+
generator scan ['2092a9ca'] (scan num: 1)
Code Block
languagetext
titlebluesky_lab3.py demo
$ python bluesky_lab3.py 

Transient Scan ID: 1     Time: 2021-02-21 16:33:15
Persistent Unique Scan ID: 'fb4d16b7-2844-431e-bb77-cc90cd1f2fe0'
New stream: 'primary'
+-----------+------------+------------+------------+
|   seq_num |       time |     motor1 | step_value |
+-----------+------------+------------+------------+
|         1 | 16:33:19.7 |    -10.000 |          0 |
|         2 | 16:33:19.8 |     -8.571 |          1 |
|         3 | 16:33:19.9 |     -7.143 |          2 |
|         4 | 16:33:20.0 |     -5.714 |          3 |
|         5 | 16:33:20.1 |     -4.286 |          4 |
|         6 | 16:33:20.3 |     -2.857 |          5 |
|         7 | 16:33:20.4 |     -1.429 |          6 |
|         8 | 16:33:20.5 |      0.000 |          7 |
|         9 | 16:33:20.6 |      1.429 |          8 |
|        10 | 16:33:20.7 |      2.857 |          9 |
|        11 | 16:33:20.8 |      4.286 |         10 |
|        12 | 16:33:20.9 |      5.714 |         11 |
|        13 | 16:33:21.0 |      7.143 |         12 |
|        14 | 16:33:21.1 |      8.571 |         13 |
|        15 | 16:33:21.2 |     10.000 |         14 |
+-----------+------------+------------+------------+
generator list_scan ['fb4d16b7'] (scan num: 1)



Preparing for a PV Scan

As a general rule, one should always verify that the DAQ is running well in "normal" mode before attempting to run a scan.

...