Xentara v2.0.4
User Manual
JSON Format for Signal Bridges

A JSON object describing a debugging bridge has the following syntax:

{
"@Skill.SignalFlow.Bridge": {
"name": "Bridge 1",
"UUID": "f301f77a-e995-4170-a4cc-92da13f3e2e6",
"ACL": { ... },
"stages": [ "preop", "op" ],
"connections": [
{
"source": "Signal Generator.Signal 1.value",
"target": "Signal Logger.text"
},
{
"source": "Signal Generator.Signal 2.value",
"target": "Signal Logger.text"
},
{
"source": "Signal Generator.Signal 3.value",
"target": "Signal Logger.text",
"errorHandler": "Signal Logger.errorText"
}
]
}
}

Object Members
nameA string value containing the name of the bridge. The name is used to construct the bridge’s primary key.
UUIDA string value containing the unique UUID of the bridge.
ACLAn optional JSON object containing the element ACL of the bridge. The format of the object is described under JSON Format for ACLs.
stages

An optional array of string values describing the operational stages in which copying should be performed. Use the following keywords for the individual stages:

Keyword Stage
"startup" Startup
"preop" Pre-Operational
"op" Operational
"postop" Post-Operational
"shutdown" Shutdown

Instead if an array of stage keywords, you can specify the string value "all" to denote that copying should be done in all stages. Do not enclose the string in an array: simple write "stages": "all".

If you omit this member, copying will be done in the operational stage only.

connectionsAn array of objects describing the individual connections.

The JSON objects describing the individual connections have the following members:

Connection Object Members
sourceA string value describing the attribute that the value should be read from. The string values must contain the primary key of the attribute.
targetA string value describing the attribute that the value should be written to. The string values must contain the primary key of the attribute.
errorHandlerAn optional string value describing the attribute that the error message should be written to if the source attribute could not be read. The string values must contain the primary key of the attribute.