
Time Controller Series User Manual
Section 7: Multi-Device Operation
ID QUANTIQUE SA
1227 Geneva
T +41 22 301 83 71
61
Rue Eugène-Marziano 25
Switzerland
F +41 22 301 83 79
7.5.1
Script Options
The following options are available for the
timestamp_acquisition_multi_tc.py
command:
--conf <
FILE
>
Specify the configuration file to be used (with
<
FILE
>
being its path), see
Section 7.4
–
Set up the Acquisition Configuration File.
--output-dir <
DATA_PATH
>
Specify the path to the directory
<
DATA_PATH
>
where the acquisition data files are
to be saved (by default in the script directory).
--duration <
DURATION
>
Specify the acquisition time
<
DURATION
>
in seconds.
--log <
LOG_PATH
>
Specify the acquisition log directory
<
LOG_PATH
>
(by default in the script directory).
-n <
N
>
Specify the number
<
N
>
repetitions of the configured acquisition, which are then
stored in subdirectories (under the output directory) numbered from 1 to N.
-v
Tell the script to run in verbose mode.
7.5.2
Execution example
The following execution of
timestamp_acquisition_multi_tc.py
script will:
•
Prepare to perform the measurements in the multi-device configuration specified in the
config.json
file,
•
Run five repetitions of the specified acquisition,
•
Each repetition of the acquisition will last for one
hour (3’600 seconds)
,
•
Store data files in
C:\Temp\acquisitions\<acquisition number 1-5>
, and
•
Print each command sent to the Time Controllers and the DataLinkTargetService instance in
the console
C:\Users\
<
multi-tc script dir>
>py timestamp_acquisition_multi_tc.py --conf
config.json --duration 3600 -n 5 -v --output-dir "C:\Temp\acquisitions_example"