Emulator

Use the Emulator data connector to generate test data on the fly, without the need to connect to external devices.

The Read Address is used to define how measurements are generated.

Example of a Tag configured with an emulated signal.

Syntax

Each Tag is configured by setting the read address, using the following syntax:

<generator>[optional-params];param1;param2;...

You can optionally append a variance modifier to add noise (see below).


Generators

  • Sine curve Produces a sine wave between a minimum and maximum over a fixed period (seconds). Format: sinus;min;max;periodSeconds Example: sinus;0;10;30 → oscillates from 0 to 10 with a 30-second period.

  • Step Alternates between levels for specified hold times (seconds) and repeats. Format: step;step1;step1 seconds;step2;step2 seconds; .. ;step<n>;step<n> seconds Example: step;-10;5;10;15 → hold -10 for 5 s, then 10 for 15 s, repeat.

  • Sequence Emits a fixed series of values in order, then loops. One element is output each emission. Format: sequence;v1;v2;...;v<n> Example: sequence;1;2;3;4;5 → generates the sequence 1,2,3,4,5,1,2,3,4,5… repeatedly.

  • Random Uniform random numbers within a range. Formats: random;min;max

    Examples: random;0;1000 → generates random numbers between 0 and 1000.


Variance (noise)

Add additive noise to any generator by appending a variance modifier:

<generator>[variance=x];...

A random factor, in the range of plus/minus the variance x, is added to the output. This is useful for “roughing up” ideal shapes (e.g., sine waves).

Example: sinus[variance=0.3];0;10;30

Last updated

Was this helpful?