Java API variables

Manual creation of variables

Only an address string is required for Java API variables. This is transmitted to the data source together with the ID, the name and the data type.


Browsing variables

If you have implemented the browse function, you can also implement variables directly from the data source in the editor.

The BrowseVariable type is available for this purpose when developing the data source.

The data source can return a list of this type, which is then specified for import in the editor. Nodes can also be nested by adding sub-nodes to the respective BrowseVariable using the addChild function.


Java API address syntax for fast input

Java API variables can also be added with a quick entry.

A variable with a single field entry can be created here using the correct syntax.

In general, the following syntax applies to Java API addresses:

  • [Datentyp].[Adresse]

Data types:

AbbreviationDescription
XBoolean
I1Byte
UI1UByte
I2Short
UI2UShort
I4Int
UI4UInt
I8Long
UI8ULong
FFloat
DDouble
DADate
DTDate Time
TTime
TODTimeOfDay
CColor
SString