This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
daq_control_help [2020/01/13 13:46] acqilc [daqcmd.py script] |
daq_control_help [2021/07/10 23:21] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Old DAQ Control ====== | ||
+ | |||
+ | ===== Alias daqcontrol or slowcontrol ===== | ||
+ | |||
+ | Example of alias one can define to use //daqcmd.py// script | ||
+ | |||
+ | ==== Slow Control ==== | ||
+ | |||
+ | alias slccontrol="export DAQLOGIN=cmsLyon:RXXX_YYY;export DAQURL=https://ilcconfdb.yyy.fr/config-content/slow_control_dome_2;/opt/lydaq/qt/daqcmd.py" | ||
+ | |||
+ | ==== Daq control with Oracle ==== | ||
+ | |||
+ | alias daqcontrol="export DAQLOGIN=cmsLyon:RXXX_YYY;export DAQURL=https://ilcconfdb.yyyy.fr/config-content/diftest_bakelite_2;/opt/lydaq/qt/daqcmd.py" | ||
+ | |||
+ | ==== Daq control with MongoDB ==== | ||
+ | |||
+ | |||
+ | alias dqmg="export MGDBLOGIN=acqilc/RXXX_YYY@lyozzzzz:27017@LYONROC;export DAQMONGO=diftest_bakelite:2;/opt/lydaq/qt/daqcmd.py" | ||
===== daqcontrol.py Object ===== | ===== daqcontrol.py Object ===== | ||
+ | All the access to the daq is described in an object called //fdaqClient// in the //daqcontrol// module. | ||
- | {{ :pdf:pdf:daqcontrol.pdf |}} | + | Detailed documentation can be found in {{ :pdf:pdf:daqcontrol.pdf |}} |
+ | |||
+ | The object is either used in command line (//daqcmd.py// script or with a pyQt interface (//daqqt.py//) | ||
===== daqcmd.py script ===== | ===== daqcmd.py script ===== | ||
+ | |||
+ | The main script to access with command line the DAQ is //daqcmd.py//: | ||