There are upper SWSTAT, SW1R, SW2R bits which 'cdsutils sfm decode' currently does not decode: SDF-DIFF is shown in SWSTAT as bit 0x0004 0000 (not in SW1,2) Gain Ramping: SWSTAT = 0x1000 0000, SW2R = 0x1000 Offset Ramping: SWSTAT = 0x2000 0000, SW2R = 0x2000 Full table in https://cdswiki.ligo-wa.caltech.edu/wiki/FilterModuleSW1SW2SWSTAT
This is only true when viewing static trend data, it does not apply to online data plots.
If a scale and/or offset value is applied to a channel, then every time the 'configure channels for plot' window is closed by pressing the OK button, the scale/offset is reapplied to the data. This is the case when only the label/units fields are changed, or if there were no changes made. Closing the window using the Cancel button does not do this.
These messages are no longer seen, issue is resolved.
Command line output:
david.barker@opslogin0: ndscope-dev /tmp/test.yaml
Traceback (most recent call last):
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/cursors.py", line 125, in _cursor_moved_slot
self._update_labels()
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/cursors.py", line 116, in _update_labels
self.diff.setValue((c1 + c2)/2)
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
Version 0.18.1.dev39+g2a1cf30a
If yaml file has the line:
log-scale: true
The command: david.barker@opslogin0: ndscope-dev /tmp/test.yaml
Does not run, it gives the output:
<PyQt5.QtGui.QColor object at 0x7f1fd5cf8740>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf93f0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf9850>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf9850>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfa1f0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfa7a0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf8a50>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf8cf0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf8740>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf8740>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf9e00>
<PyQt5.QtGui.QColor object at 0x7f1fd5cf9850>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfa110>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfbed0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfa730>
<PyQt5.QtGui.QColor object at 0x7f1fd5cfa730>
<PyQt5.QtGui.QColor object at 0x7f1fd5cc06d0>
<PyQt5.QtGui.QColor object at 0x7f1fd5cc0ba0>
Traceback (most recent call last):
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/plotMenu.py", line 401, in yLogModeToggled
self.plot().set_log_mode(state == QtCore.Qt.Checked)
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/plot.py", line 358, in set_log_mode
self.y_cursors.redraw()
AttributeError: 'YCursors' object has no attribute 'redraw'
Traceback (most recent call last):
File "/ligo/home/jameson.rollins/opt/ndscope-dev/bin/ndscope", line 8, in <module>
sys.exit(main())
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/__main__.py", line 390, in main
scope.load_template(template)
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/scope.py", line 843, in load_template
add_plot(plot0)
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/scope.py", line 836, in add_plot
plot = self.add_plot(**p)
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/scope.py", line 633, in add_plot
plot.set_log_mode(log_scale)
File "/ligo/home/jameson.rollins/opt/ndscope-dev/lib/python3.10/site-packages/ndscope/plot.py", line 358, in set_log_mode
self.y_cursors.redraw()
AttributeError: 'YCursors' object has no attribute 'redraw'
Removing the 'log-scale' line from the yaml file permits the command to run.
Full yaml file listing:
color-mode: light
font-size: 6
plots:
- channels:
H0:VAC-LY_CP1_LIC100_LLCV_POS_CTRL_PCT:
color: '#ffa500'
offset: 0
scale: 1
unit: null
width: 2
H0:VAC-LY_CP1_PT101_DISCHARGE_PRESS_PSIG:
color: '#ff69b4'
offset: 0
scale: 1000
unit: null
width: 2
H0:VAC-LY_CP1_TE102A_DISCHARGE_TEMP_DEGC:
color: '#0000ff'
offset: 0
scale: -1
unit: null
width: 2
H0:VAC-LY_CP1_TE102B_DISCHARGE_TEMP_DEGC:
color: '#48d1cc'
offset: 0
scale: -1
unit: null
width: 2
col: 0
colspan: 1
log-scale: true
row: 0
rowspan: 1
t-cursors:
- -646
- -300
y-cursors:
- 70.0
- 100.0
yrange: auto
t0: 1390155064
time-axis-mode: absolute local
time-window:
- -946
- 0.0
window-title: test
I did a quick search at LHO CDS for all userapps adl files which have full paths (which are not userapps) defined in their composite file line.
/ligo/apps/linux-x86_64/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_COMPACT.adl /ligo/apps/linux-x86_64/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI.adl /ligo/apps/linux-x86_64/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /ligo/apps/linux-x86_64/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_USERMSG.adl /ligo/apps/linux-x86_64/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_NANO.adl /ligo/apps/ubuntu12/guardian-1427/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /ligo/apps/ubuntu12/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MICRO.adl /ligo/apps/ubuntu12/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI.adl /ligo/apps/ubuntu12/guardian/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_USERMSG.adl /ligo/lho/h0/ve/medm/H0VE_ANNULUS_ION_PUMP_BECKHOFF.adl /usr/lib/python2.7/dist-packages/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /usr/lib/python2.7/site-packages/guardian/medm/screens/GRD_COMPACT.adl /usr/lib/python2.7/site-packages/guardian/medm/screens/GRD_MICRO.adl /usr/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /usr/lib/python2.7/site-packages/guardian/medm/screens/GRD_MINI_USERMSG.adl /usr/share/guardian/medm/screens/GRD_COMPACT.adl /usr/share/guardian/medm/screens/GRD_MICRO.adl /usr/share/guardian/medm/screens/GRD_MINI.adl /usr/share/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /usr/share/guardian/medm/screens/GRD_NANO.adl /var/opt/conda/base/envs/cds/lib/python3.9/site-packages/guardian/medm/screens/GRD_MICRO.adl /var/opt/conda/base/envs/cds/lib/python3.9/site-packages/guardian/medm/screens/GRD_MINI.adl /var/opt/conda/base/envs/cds/lib/python3.9/site-packages/guardian/medm/screens/GRD_MINI_REQUEST_USERMSG.adl /var/opt/conda/base/envs/cds/lib/python3.9/site-packages/guardian/medm/screens/GRD_MINI_USERMSG.adl /var/opt/conda/base/envs/cds/lib/python3.9/site-packages/guardian/medm/screens/GRD_NANO.adl
import pandas /var/opt/conda/base/envs/cds-py310-2023090401/lib/python3.10/site-packages/pandas/core/computation/expressions.py:21: UserWarning: Pandas requires version '2.8.0' or newer of 'numexpr' (version '2.7.3' currently installed). from pandas.core.computation.check import NUMEXPR_INSTALLED
raw minute trend writer: if archived directories are not in chronological order does this just mean an inefficient data search?
OK, now I know this does not format correctly:
"an imperative" Could we default the LIGO detector parameters frame_writer: write md5 files an option?
I was also unable to reproduce this exact issue, but found something similar. If you move your MEDM screen to the right of the display, move your mouse to the right of the window so there is no space for the popups to cascade, then press the right mouse, move down the Execute line keeping pointer on right, left mouse click then automatically selects the first item in the pull down (ndscope for me).