BusHistoMonitor

class to monitor a control bus's data histogram graphically with GNUPlot

Inherits from:: Object : BusMonitor

This creates a GNUPlot histogram monitor on the bus, with an update time of 0.05, a data size of 500, and a skip of 20.
You can also get a BusHistoMonitor directly from a control bus, by calling bus.monitorHisto
See also: GNUPlot and BusMonitor.
You need to have GNUPlot installed in order to be able to use this class!

Creation / Class Methods

*new(bus,hisSize,skip)
Create a monitor on bus "bus".
hisSize
The amount of points plotted
skip
The amount of points after which to make an update to the plot.

Accessing Instance and Class Variables

setHistoRange(min,max)
Set the (x) range of the histogram.
setHistoStep(step)
Set the number of bins of the histogram
start
Start the monitor.
reset
Reset the monitor.
stop
Stop the monitor.
initMonitor
Initialize the monitor. Called upon class initialization, but should also be called if hisSize, skip or dt are changed.
setRange(min,max)
Set the minimum and maximum of the plotting (x) range.
min
default 0
max
default 1
dt
dt_
Set the update time of the monitor (default 0.05).
bus
The bus that is monitored
hisSize
hisSize_
Set the history size.
skip
skip_
Set the amount of points after which to make an update to the plot.
cleanUp
Quit GNUPlot and close the pipe to it.
data
The last data added to the plot.
gnuplot
The instance of GNUPlot.

This helpfile was created with the class HelpFile2