The Min/Max detector I/O can be used for detecting minimum or maximum values of a source.
Every time the source of the Min/Max detector signals new data, the detector will compare each
value in memory to the new source data and keep the smallest or largest value,
depending on if minima or maxima are detected.
Typical applications of the Min/Max detector I/O are glitch capturing and capturing intermittent signal changes.
In the figure below, the spikes (maxima) in a sinusoidal signal (green) are detected by a Min/Max detector (purple).
With two Min/Max detector I/O's, envelope mode can be made. Create two Min/Max detectors, connect both to the same source, set one to detect maximum values and the other to detect minimum values. Show both in the same graph, on the same axis.
To control the behavior of the Min/Max detector I/O, several properties are available. These can be accessed through a popup menu which is shown when the I/O is right clicked.
When the Minimum property is set, the Min/Max detector I/O detects and keeps minimum values.
When the Maximum property is set, the Min/Max detector I/O detects and keeps maximum values.
Optionally a Fall-off percentage can be set. If this percentage is not zero, the output will slowly fall back to the input signal. The higher the fall-off percentage, the faster the memory values of the detector will fall in the direction of the source values. The effect can be compared to a VU-meter with peak detect.
When the Only expand property is set, the data size of the Min/Max detector I/O gets higher when the source's data size grows, but does not shrink when the source's data does. This can be useful when detecting minima or maxima of a source with varying data size.
The Min/Max detector I/O can be manually cleared with the Clear action. The data will be made equal to the data in its source.
You can change the displayed name of an object by giving it an Alias. This can be handy when you are dealing with a lot of objects and have problems keeping them apart. You can for example give channel one of your instrument the alias "Battery", when it is measuring a battery voltage. To give an object an alias, use the item Alias ... in its menu. To remove an alias and revert to the original name of the object, set the alias to an empty string.
When multiple sources or I/O's are displayed in a graph or a meter, they can be distinguished from each other by their Color. Three different color settings are available for a source or an I/O.
To disconnect all sources from an I/O or Sink at once, use the Disconnect all sources action.
To disconnect one or more sinks from an I/O or Source, use the Disconnect sink(s) action. This will show a dialog that lists all connected sinks. Individual sinks can then be selected and disconnected from the object.
To disconnect all sinks from an I/O or source at once, use the Disconnect all sinks action.
When a new object is to be created, similar to an already existing object, with the same properties, the Clone action can be used. This will create an identical copy of the original object, with the exact same properties. Source(s) and sink(s) of the new object are not yet connected.
The Delete action deletes a source, I/O or sink. All connections of the object will be disconnected and then the object will be removed from the object tree. The source property of the objects that used this object as source will be cleared. The sink property of the objects that used this object as sink will be cleared. An axis in a graph that was connected to this object will be also deleted.
The Export data action allows to export the data of an object to a file. This is detailed described on the page about Exporting data.
The Load action allows to load the settings and data for an object from a TPS or TPO file. This is detailed described on the page about Loading into selected objects.
The Save as action allows to save the settings and data of one or more objects to a TPO file. When multiple objects are selected, the connections between the objects are saved as well. This is detailed described on the page about Saving objects to a TPO file.