Example Source
Node ID: exampleSource · Role: Source · Realtime config: no
Description
Demo source that emits Timestamp data at a configurable interval. Useful as a reference implementation and for testing downstream pipelines without real hardware.
Inputs / Outputs
- Inputs: (none)
- Outputs:
Timestamp
Config aliases
ExampleSource, exampleSource
Properties
The following fields are exposed in the node’s Properties panel in the UI. Types map to UI widgets (e.g. string → text input, number → numeric, boolean → toggle, select → dropdown, json → JSON editor).
| Key | Label | Type | Default | Description / Notes |
|---|---|---|---|---|
intervalMs | Interval (ms) | number | 1000 | Delay between emitted timestamp samples, in milliseconds. |
Example node definition
A full node definition in config.json looks like the block below. Paste it under the sources key of your config, keyed by the node’s instance name (any identifier; it doesn’t have to match the node ID).
{
"sources": {
"exampleSource": {
"outEndpoint": "inproc://exampleSource_data",
"settings": {
"intervalMs": 1000
}
}
}
}
Field reference
| Field | Purpose |
|---|---|
outEndpoint | ZMQ / inproc endpoint this source binds to publish its output. The runtime auto-generates one if omitted. |
settings | All user-configurable fields — see the Properties table above. |
Connections can also be declared at the top-level
connectionsarray whensettings.explicitConnectionsistrue, as an alternative to fillinginputEndpointson each node.