Demo and diagnostics
Demo source
To build a layout before the controller is available, or to show RAVidEn on a bench, add a connection with the source Demo (simulated signals). It needs no network and produces machine-like signals.
Open Tag library and choose Catalog next to the connection to add signals, or choose Add tag and write the address as a generator name followed by its parameters.
| Address | Type | Produces |
|---|---|---|
sine:period=60,min=0,max=100 | real | A sine wave. A noise parameter adds random jitter of that size. |
triangle:period=120,min=0,max=100 | real | A triangle wave. |
sawtooth:period=90,min=0,max=100 | real | A ramp that resets at the end of each period. |
square:period=30,low=0,high=1 | bool | A toggling bit. duty sets the share of the period spent high, 0.5 by default. |
walk:min=0,max=100,step=2,start=50 | real | A random walk that moves by up to step on each poll. |
random:min=0,max=100 | real | A uniform random value on each poll. |
counter:rate=1,start=0,wrap=0 | dint | A counter that rises by rate per second. wrap restarts it at that value; 0 never wraps. |
state:states=4,dwell=20 | dint | A state machine over the values 0 to states minus 1. It changes about every dwell seconds and returns to 0 most of the time. |
text:values=IDLE|RUN|LOAD|FAULT,dwell=15 | string | Text that cycles through the list, dwell seconds each. |
const:value=42 | dint | A constant. |
Demo tags behave like any other tags. They can be charted, they can be state tags with maps, and they ride in the DataBorder. When the real controller arrives, replace the demo connection with the real one and rebind the tags.
Diagnostics source
Add a connection with the source Diagnostics (camera / app) to read the camera's CPU, memory and temperature, and the application's counters, as tags. Choose Catalog next to the connection for the tag list. The tag list and how to read it are on the Performance page.