Maximum
The Maximum I/O determines the Maximum value of a signal.

Depending on the selected mode, the Maximum I/O returns one Maximum value per period in the measured signal or one single value, which is the Maximum value of the input signal.

A typical application of the Maximum I/O is logging Maximum values to monitor e.g. mains voltage.

Properties

To control the behavior of the Maximum I/O, several properties are available. These can be accessed through a popup menu which is shown when the I/O is right clicked in the Object Tree. The properties can also be accessed through its settings window which is shown when the I/O is double clicked in the Object Tree. To open the Object tree, click the Show object tree Show object tree button.

Maximum control

By default, the settings window only shows the most used settings. When Advanced is ticked, the extended window with all settings is shown. See also the program settings.

Mode

The Mode property determines how the Maximum value is determined. Four modes can be selected from:

  • Single value for all data
    The Maximum I/O returns one single value, which is the Maximum value of the total captured signal.
    When analyzing streaming data, all data since starting the stream is being analyzed, resulting in one value for the total stream.
  • Single value for trimmed data
    The Maximum I/O determines the Maximum value over all complete periods found in the input signal and returns one single value for that whole section.
    When analyzing streaming data, all data since starting the stream is being analyzed, resulting in one value for the total stream.
    Incomplete periods at the start and the end of the record are trimmed away.
  • Value per period
    The Maximum I/O locates each period in the signal and determines the Maximum value for each complete period in the signal. The Maximum I/O returns a Maximum value for each period that is found.
    Incomplete periods at the start and the end of the record are ignored. In streaming mode these are matched with the corresponding incomplete period of the next chunk and included in the result.
  • Value per chunk
    The Maximum I/O returns one single value for the last received chunk of data.
    When analyzing streaming data, each chunk produces one value, which can be collected in a Data Collector.
Note: When operating in streaming mode and collecting the results in a Data collector I/O, only modes Value per period and Value per chunk can be used.

Level

In order to find the periods in the measured signal, the Maximum I/O locates the rising slopes in the signal, around the mid level of the signal. This mid level can be set manually using Level.

Setting the level is only required when the Mode is set to Single value for trimmed data or Value per period.

Hysteresis

To determine whether a slope is rising or falling, a hysteresis is used. This hysteresis determines how much the signal, with respect to the Level, must become larger in order to detect an edge. With a larger hysteresis, the detection is less sensitive for e.g. noise on the signal. If the hysteresis is too large, edges might be missed. This hysteresis can be set manually using Hysteresis.

Setting the hysteresis is only required when the Mode is set to Single value for trimmed data or Value per period.

Auto detect level / hysteresis

When Auto detect level / hysteresis is enabled, the I/O tries to determine the the mid level and a suitable hysteresis automatically.

Setting the Auto detect level / hysteresis is only required when the Mode is set to Single value for trimmed data or Value per period.

Common properties and actions

Related information

RMS

The RMS I/O determines the True Root Mean Square value of a signal.

Maximum - Minimum

The Maximum - Minimum I/O determines the maximum-minimum or peak to peak value of a signal.

Minimum

The Minimum I/O determines the minimum value of a signal.