Outputs

The Outputs element can be used to add read-only Signals, which can be read out, traced and connected to inputs of other processing blocks.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Outputs:
  - Name: "KfcOutput"
    DataType: "Float"
    Description: "Coulomb friction compensation output."

  - Name: "AbsolutePosition"
    DataType: "Double"
    Unit: "m"
    LowerBound: "-0.123"
    UpperBound: "1.23"
    Description: "Absolute Position."

YAML schema

Schema for Outputs
1
Outputs: list(include('Signal'), required=False)
Schema for Signals
1
2
3
4
5
6
7
8
Signal:
  Name: name()
  DataType: Enum("Uint8", "Uint16", "Uint32", "Uint64", "Int8", "Int16", "Int32", "Int64", "Float", "Double", "Bool", required=True)
  Description: str(required=False)
  Unit: str(required=False)
  LowerBound: str(required=False)
  UpperBound: str(required=False)
  ResetValue: str(required=False)
Signal attributes

Attribute

Required

Description

Name

Yes

The name of the signal. Should comply with the Naming conventions.

DataType

Yes

The data type, supported types: “Uint8”, “Uint16”, “Uint32”, “Uint64”, “Int8”, “Int16”, “Int32”, “Int64”, “Float”, “Double”, “Bool”.

Description

No

The Description attribute of the signal.

Unit

No

The Unit attribute of the signal.

LowerBound

No

The LowerBound attribute of the signal. For Float and Double outputs the lower bound can be set to -Inf.

UpperBound

No

The UpperBound attribute of the signal. For Float and Double outputs the upper bound can be set to Inf.

ResetValue

No

The ResetValue attribute of the signal. The default reset value is 0. For Float and Double outputs the reset value can be set to NaN.