Functions
A number of functions come with the HMI Process Library. The following table shows additional general functions from the HMI Process Library:
Name | Category | Description |
|---|---|---|
AnalogCompressionValueFormatter | Formatting | Return string for the passed value in compressed format (not bigger than given number of characters, excluding sign and dot). Return value type: String. Arguments:
|
AnalogValueFormatter | Formatting | Return formatted string for the value passed in. Return value type: String. Arguments:
|
BinaryValueFormatter | Formatting | Return formatted string for the value passed in. Return value type: String. Arguments:
|
TernaryValueFormatter | Formatting | Return formatted string for the value passed in. [bVal1.toString() + bVal2.toString()]. Return value type: String. Arguments:
|
MapValueFormatter | Formatting | Returns a value which corresponds to the passed key. Return value type: String. Arguments:
|
The following table shows the additional MTP specific functions from the HMI Process Library:
Name | Category | Description |
|---|---|---|
MTPIsCommandEnabled | Checking | Return true if command is enabled. Return value type: Boolean. Arguments:
|
MTPStateValueFormatter | Formatting | Return formatted state string for the value passed in. Return value type: String. Arguments:
|
MTPUnitValueFormatter | Formatting | Return formatted unit string for the value passed in. Return value type: String. Arguments:
|