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
Each row shows the setting’s label in the node’s Properties panel and, in code, its key in the node’s settings object in the config file. A setting omitted from the config file uses the default shown here.
| Property | Type | Default | Description |
|---|---|---|---|
Interval (ms) intervalMs | number | 1000 | Delay between emitted timestamp samples, in milliseconds. |
Example node definition
A minimal entry in config.json looks like the block below. Paste it under the sources key, keyed by an instance name of your choice. All settings are optional: anything not listed under settings uses the default from the Properties table above. See The configuration file for how the sections and endpoint wiring work.
{
"sources": {
"exampleSource": {
"outEndpoint": "inproc://exampleSource_data",
"settings": {}
}
}
}