The rbxMon tool serves to automate the process of querying the ngCCM server for commonly monitored RBX values. It allows for setting and/or retrieving common RBX register values via a list of commands stored in a text file and will store the results in an output log. There is also a plotting utility which analyzes the log file and produces plots over a given range of logged entries. The project can be found on github at
http://github.com/zeratul87/HE_Monitoring/
Currently the following commands are queried:
- tget HE1-[1-4]-rtdtemperature_f fnr
- tget HE1-[1-4]-humidityS_f fnr
- tget HE1-[1-4]-PeltierVoltage_f fnr
- get HE1-[1-4]-PeltierCurrent_f
- tget HE1-[1-4]-BVin_f fnr
- tget HE1-[1-4]-Vin_f fnr
- tget HE1-[1-4]-LeakageCurrent[1-48]_f fnr
These are stored in commandList.txt. To query the ngCCM server for these registers and process the results, run (without the [ ] 's):
./ngfec_auto.py commandList.txt -l rbx.log [(optional) -o outputPlotDir]
To plot the values from the log file run (without the [ ] 's):
./statPlot.py rbx.log [-n minEntry] [-x maxEntry] [-o outputPlotDir]
-n, -x, -o are optional entries. If -n and -x are not specified, then all of the values in the log file are plotted. If they are negative integers it represents the number of entries from the end of the file (similar to python negative list indexing). So to plot the last 10 entries in the log file do
./statPlot.py rbx.log -n -10
--
MarkDouglasSaunders - 2017-08-02