siriushla.li_va_control
Code Documentation
siriushla.li_va_control.chart module
CCG Chart Window
- class siriushla.li_va_control.chart.ChartWindow(parent=None, prefix='')[source]
Bases:
_SiriusWindow
,BaseFunctionsInterface
Show the Chart Window.
siriushla.li_va_control.details module
All the detail Chart Windows
- class siriushla.li_va_control.details.DetailWindow(parent=None)[source]
Bases:
QWidget
,BaseFunctionsInterface
Display General Detail Window
- class siriushla.li_va_control.details.IpsDetailWindow(parent=None, prefix='', id_num='')[source]
Bases:
_SiriusWindow
,BaseFunctionsInterface
Display IPS Detail Window
- class siriushla.li_va_control.details.VgcDetailWindow(parent=None, prefix='', id_num='')[source]
Bases:
_SiriusWindow
,BaseFunctionsInterface
Display VGC Detail Window
siriushla.li_va_control.functions module
Basic functions
- class siriushla.li_va_control.functions.BaseFunctionsInterface[source]
Bases:
object
Export basic functions to the Vacuum windows
- SPRBWidget(title, control, readback, wid_type, kp_unit=False, precision=True, sec_wid='label')[source]
Build a setpoint and readback widget: title + setpoint + readback
- buildAllLegends(listleg={'CCG': [{'color': <PyQt5.QtGui.QColor object>, 'text': 'Ok'}, {'color': <PyQt5.QtGui.QColor object>, 'text': 'Warning'}, {'color': <PyQt5.QtGui.QColor object>, 'text': 'Alarm'}], 'Gauge Status': [{'color': <PyQt5.QtGui.QColor object>, 'text': 'ON'}, {'color': <PyQt5.QtGui.QColor object>, 'text': 'Inconsistent'}, {'color': <PyQt5.QtGui.QColor object>, 'text': 'OFF'}], 'PRG': [{'color': <PyQt5.QtGui.QColor object>, 'text': 'Ok'}, {'color': <PyQt5.QtGui.QColor object>, 'text': 'Warning'}], 'Relay Status': [{'text': 'ENABLE: Depends on the pressure\n and the setpoint value'}, {'text': 'SET: Forces relay activation'}, {'text': 'CLEAR: Disable the relay'}], 'size': [8.5, 15]})[source]
Display all the legends
- getProgressBar(pv_name, limit, color=<PyQt5.QtGui.QColor object>)[source]
Create and configure Progress Bar
- getSPTable(num, gen, data, show_title=False, alternative=False)[source]
Build and configure VGC SP table
- getVgcSPRB(data, pv_list, num, gen, sec_wid='led')[source]
Use dict info to create a self.SPRBWidget
siriushla.li_va_control.main module
Main window of the Vacuum Control.
- class siriushla.li_va_control.main.VacuumMain(parent=None, prefix=siriuspy.envars.VACA_PREFIX)[source]
Bases:
QWidget
,BaseFunctionsInterface
Vaccum Control Main Window
siriushla.li_va_control.util module
Static information about the PVs and colors
siriushla.li_va_control.widgets module
Contains the special widgets used in the windows
- class siriushla.li_va_control.widgets.LedLegend(parent=None, shape=1, color='#FFFFFF')[source]
Bases:
QWidget
Drawing of a Led for the Legend
- class siriushla.li_va_control.widgets.PyDMLedMultiIncosistencyDetector(parent=None, channels2values={}, color_list=[<PyQt5.QtGui.QColor object>, <PyQt5.QtGui.QColor object>, <PyQt5.QtGui.QColor object>])[source]
Bases:
PyDMLedMultiChannel
Drawing of a Led for the Legend
- LightGreen = <PyQt5.QtGui.QColor object>
- Red = <PyQt5.QtGui.QColor object>
- Yellow = <PyQt5.QtGui.QColor object>