Hook-up the module to the devices and run the DCS controller
Hook-up module to devices

(a) Run a script to get temperature(for monkeyisland)
To get environmental temperature and store the data into influxDB, do the following command.
Don't stop this process during the readout process. Switch the shell from the next step.
For monkeyisland,
$ cd ~/work/E4control/e4control
$ python3 temp_controller.py
This measurement runs until ctrl+C is pressed!
Temp1:??.??C Temp2:??.??C
...
"temp_controller" is only for this tutorial. It is not on git repo.

(b) Run LV IV(for yarrpixdaq)
To run LV IV and get data, do the following command.
$ cd ~/reference/lowvoltageiv/
$ python makeIVcurve.py
You can see the raw data in "IVout_test_0.json".
Create and check the IV plot with the following commands.
$ python analyzeIV.py -i IVout_test_0 -o test
$ qpdfview 0x0796_test.png
(c) Run LV PS controller
To turn on the LV PS and get the current and voltage, do the following command.
Don't stop this process during the readout process. Switch the shell from the next step.
For monkeyisland,
$ cd ~/work/E4control/e4control
$ python3 LV_controller.py
This measurement runs until ctrl+C is pressed!
TTI2:
...
For yarrpixdaq,
$ cd ~/reference/lowvoltageiv/
$ python3 LV_controller.py
"LV_controller" is only for this tutorial. It is not on git repo.


E4control repo:(https://github.com/sdungs/E4control.git)
labremote repo:(https://gitlab.cern.ch/berkeleylab/labRemote.git)
LV IV script repo:(https://gitlab.cern.ch/YARR/utilities/lowvoltageiv.git)
These SW does not support the uploading system of the DCS data for influxDB so far.
Create a new DCS or shere these SW to take and store the DCS data.
The DCS data monitoring in Grafana
Check the DCS data in "Grafana" by following the link bellow.
Check DCS data in Grafana
Go to next step.
Retrieve module info and create config files for the scan