Xentara v1.2.1
User Manual
Loading...
Searching...
No Matches
JSON Format for I/O Components

A JSON object describing an I/O component has the following syntax:

{
"@IOComponent.Driver.Type": {
"id": "Device 1",
"uuid": "9cf67026-0e8c-4fd5-a046-f966a551db9b",
...
"children": [
...
]
}
}

Type Descriptor
The type designation of the I/O component (@IOComponent.Driver.Type) consists of three parts:
  • @IOComponent This part is fixed and always appears exaclty as shown.
  • Driver This is the name of the driver that provides the I/O component.
  • Type This is the actual type of the I/O component.
Object Members
idA string value containing the ID of the I/O component. The ID is used to construct the I/O component’s primary key.
uuidA string value containing the unique UUID of the I/O component.
children

A JSON array containing the child elements of the I/O component. I/O components may have other I/O components, I/O points, and I/O batches as children. The exact child elements allowed depend on the specific type of I/O component.

Please remember that each element block requires two layers of {} due to the syntax restrictions of the JSON format.

Each individual type of I/O component can have additional properties. Most I/O components will have a property containing the device address, for example. Please refer to the documentation of the specific I/O component for details.