Reports until 13:06, Wednesday 22 January 2020
H1 CDS
david.barker@LIGO.ORG - posted 13:06, Wednesday 22 January 2020 (54652)
Customization of MEDM EXEC list for ndscope to display trends of EPICS PV

Currently within MEDM the execute list has a single ndscope entry which runs the EPICS channel in real time mode (shows last 2 seconds of data). You can also customize your MEDM to instruct ndscope to display minute trends of the selected channel, which I generally find more useful.

In the example attached, I have defined three ndscope trend options for trending over 1 day, 1 week and 1 month.

If you would like to customize your ndscope options in MEDM, you can redefine the MEDM_EXEC_LIST environment variable in your ~/.bashrc file. The last line of my file (~david.barker/.bashrc) can be used as an example:

export 'MEDM_EXEC_LIST=ndscope;ndscope &P &:ndscope-trend-1d;ndscope -t "24 hours ago" -t now &P &:ndscope-trend-7d;ndscope -t "7 days ago" -t now &P &:ndscope-trend-31d;ndscope -t "31 days ago" -t now &P &:Foton(Pick filter PV);/opt/rtcds/userapps/release/cds/utilities/instafoton.py &P &:TimeMachine;/opt/rtcds/userapps/release/cds/common/scripts/medm_time_machine.py &D'

realtime

1 day trend

1 week trend

1 month trend

To use the new environment, you should stop any running MEDM and restart it in a new terminal.

Images attached to this report