Simulator Action Properties

 

Value

Data Type

Default Value

Description

Amplitude

Integer

1

The amplitude (maximum value) of the simulated value. If the amplitude of a sine wave is 1 and its offset is 0, the maximum value will be 1 and the minimum value will be -1.

OffSet

Integer

0

This is amount the wave will be shifted vertically from 0. If the offset = 1 and the amplitude is 2, the maximum value of the wave will be 3 and the minimum will be -1

Pollrate

Integer

100

The rate in milliseconds at which the values of this simulated wave is polled. It is recommended to keep this rate much faster than the period

Period

Integer

1

The time is takes, in seconds, from one waveform peak to the next.

Type

String

SINE

Can be

SINE  Sine Wave

TRIANGLE Triangle Wave

SAW  Saw tooth wave

SQUARE  Square wave

RND  Random values

 

images\Actions_Simulator.jpg