Skip to main content

Data stream setup

A Data stream tells DataStone exactly what value to collect from a Device. One Device usually has multiple Data streams.

VNC and V4L2 are read-only streaming sources for now. They normally do not need Data stream records because they produce visual streams instead of numeric tag/register values.

Add a data stream

  1. Open /admin/core/data/.
  2. Select Add data.
  3. Enter a clear Name, such as Motor RPM, Temperature, or Cycle Count.
  4. Select the saved Device.
  5. Enter the Path for the tag, register, node, or file.
  6. Select the Type.
  7. Set Access mode.
  8. Optionally select a Group and set a Poll interval override.
  9. Save the Data stream.
Placeholder: Add Data stream form in DataStone Admin
Screenshot placeholder: Add Data stream form.

Common fields

FieldMeaning
NameHuman-readable signal name.
DeviceThe Device that provides this value.
PathProtocol-specific address, node ID, register, or file path.
TypeData type used to decode the value.
Access modeUse Read only for collected values unless write access is required.
GroupOptional grouping for related Data streams.
Poll intervalOptional per-stream polling interval in seconds. Leave blank to inherit the Device setting.
MetadataOptional JSON for advanced protocol or automation hints.

Data types

Choose the type that matches the device value:

TypeUse for
bitBoolean or single-bit values.
byte8-bit values.
int16, int32, int64Signed integer values.
uint16, uint32, uint64Unsigned integer values.
fp16, fp32, fp64Floating point values.

:::info Storage format The selected Type tells DataStone how to read and decode the value from the device. After collection, numeric values are stored in the database as double-precision floating point values. :::

Path examples by protocol

ProtocolPath examplesNotes
OPC-UAns=2;i=2048, ns=2;s=PressureUse the OPC-UA browser when possible.
MELSECD16000, M0Select a matching integer, float, or bit type.
FEnet%MD100, %MX1%MX is commonly used for bit values.
Modbusholding:1, input:30001, coil:1Use metadata for unit ID and byte/word order when needed.
SMBfile or share path selected in the browserFollow the path format shown by the SMB browser.
VNCNot normally usedConfigure the Device only for read-only screen streaming.
V4L2Not normally usedConfigure the Device only for read-only camera streaming.
Placeholder: Data stream list in DataStone Admin
Screenshot placeholder: Data stream list after setup.

OPC-UA history options

For OPC-UA Data streams, history collection can be controlled at the Device level or overridden per Data stream.

FieldRecommendation
OPC-UA timestamp preferenceLeave blank to inherit from the Device.
OPC-UA history enabledLeave blank to inherit from the Device unless this stream needs different behavior.
OPC-UA history lookbackUse only when Reshenie or the site requirement specifies a backfill window.

Polling guidance

Use the default polling settings unless the equipment requires a different rate. Very low intervals can increase load on the DataStone appliance, the PLC, and the site network.

For fast values, ask Reshenie to confirm the expected polling interval before changing many streams.