DUNE-DAQ / minidaqapp

0 stars 1 forks source link

Add parameters for controlling dqm #91

Closed jmcarcell closed 2 years ago

jmcarcell commented 2 years ago

One is the channel map to switch between horizontal drift and vertical drift and the other three control the rates for three different plots, to be tested with the develop version of dqm (that I'm going to push soon). Example of usage:

python -m minidaqapp.nanorc.mdapp_multiru_gen --host-ru localhost -d $PWD/frames.bin mdapp --enable-dqm --dqm-cmap HD --dqm-meanrms-params 5 2 50

I have tested the parameter for the channel map and some of the others and they work. Without the display there is a log message at level 5 that tells the size of the message sent so one can see if the rate changed or not but I don't expect anyone to test this

jmcarcell commented 2 years ago

You're right, one of the parameters was missing a default value so it would fail when not specified. For my tests I was using it every time so I didn't notice. It's fixed now