Realtime Recorder

Block Group: Table Operations
Icon:Realtime Recorder block icon

The Realtime Recorder block monitors changes to specified values and creates a table to record current and historical values. Every time one of the monitored values changes, a row is added to the table with a timestamp and all of the values.

Realtime Recorder table contents are saved only in the current session.

For information on using dataflow blocks, see Dataflow.

For answers to some common questions about working with tables, see Tables.


Input/Output Properties

The following properties of the Realtime Recorder block can take input and give output.

  • enabled (boolean)
  • bufferSize (number)
  • reset (trigger)
  • name n (string)
  • value n

enabled determines whether the block is currently recording and creating a table.

bufferSize specifies the number of rows that the output table can hold. When the buffer is full, the oldest rows are deleted from memory.

reset clears the table.

name n specifies a column name for the value n values in the output table.

value n specifies a value to monitor and output in the output table.


Output Property

The following property of the Realtime Recorder block can give output but cannot take input.

  • output (table)

output returns a table of timestamps and values. The table contains a row for each monitored change.


Example

The following image shows an example of the Realtime Recorder block. In this example, a Realtime Recorder block is creating a table that monitors any changes to an input number and to a stopwatch value.

Realtime Recorder block example