TngMonitorAttrs3.py

TngMonitorAttrs monitors one or more Tango attributes:

$ TngMonitorAttrs3.py --help
usage: TngMonitorAttrs3.py [-h] [-f FILENAME] [-n NP] [-t UPDATETIME]
                           [attributes [attributes ...]]

TngMonitorAttrs

positional arguments:
  attributes     a list of attributes, default sys/tg_test/1/double_scalar

optional arguments:
  -h, --help     show this help message and exit
  -f FILENAME    file containing attributes
  -n NP          the no. of points per plot
  -t UPDATETIME  the update time [s]

Examples:
  TngMonitorAttrs3.py petra/globals/keyword/beamcurrent
    monitor a single attribute

  TngMonitorAttrs3.py "petra/globals/keyword/beamcurrent OptionalAlias"
    monitor a single attribute

  TngMonitorAttrs3.py -f attr.lis
    monitor the attributes mentioned in attr.lis
    cat attr.lis
      #
      haspp99:10000/petra/globals/keyword/BeamCurrent OptionalAlias1
      haspp99:10000/sys/tg_test/1/double_scalar OptionalAlias2
      haspp99:10000/sys/tg_test/1/long_scalar OptionalAlias3
      haspp99:10000/sys/tg_test/1/short_scalar OptionaAlias4

    If an OptionalAlias is supplied, it is used as the title of the plot.

Figure 7.7: TngMonitorAttrs
Image TngMonitorAttrs3

Details:

The figure 7.3 was produced with this attribute list:

haspp99:10000/petra/globals/keyword/BeamCurrent PetraCurrent
haspp99:10000/p99/counter/eh.01/Counts PhotonFlux
haspp99:10000/p99/counter/eh.02/Counts NeutronFlux
haspp99:10000/p99/counter/eh.03/Counts HiggsFlux

Figure 7.8: TngMonitorAttrs, using aliases
Image TngMonitorAttrsAliases3