Use data types
- Last UpdatedMar 18, 2025
- 2 minute read
Industrial graphics use the data types, which are different than InTouch data types.
The following table shows you the data types of both and how they correspond to each other:
|
InTouch |
Application Server |
Description |
|---|---|---|
|
Discrete |
Boolean |
Boolean value. For example: 0 or 1 |
|
Integer |
Integer |
Integer value. For example: -4, 7, or 22 |
|
Real |
Float or Double |
Float or double value with different precision. Float: 32 bit. IEEE single precision floating point standard, used when 6-7 significant digits are needed. Default is NAN. Double: 64 bit. IEEE double, used when 15-16 significant digits are needed. Default is NAN. |
|
Message |
String |
String value. For example: "Hello World" |
|
n/a |
DateTime |
Datetime value. For example: "04/13/2006 04:03:22.222 AM" |
|
n/a |
ElapsedTime |
Float value that represents a time that has elapsed in seconds. It is shown often in the following format, but is stored as a float value. [–][DDDDDD] [HH:MM:]SS[.fffffff] Values are as follows:
|
|
n/a |
InternationalizedString |
A special string data type that can store special characters. |
You can configure Industrial Graphics to retrieve data from the Galaxy.
When the source data type is different than the data type it is used for, the data is coerced according to the rules of IDE data coercion and a string value of "-10" is coerced to "True" in the animation.
If you embed this Industrial graphic into an InTouch window, the data type of the animation link is coerced according to the InTouch data coercion. The embedded Industrial graphic shows "True" in the InTouch HMI.
However, if you directly create an discrete animation display link in the InTouch HMI that points at the original data source, the resulting value can be different.
In this example the string value "-10" is shown as "False" in the InTouch HMI.
