Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Making all Binary/Digital point types appear the same in a TGML graphic

Issue

Making all Binary/Digital point types appear the same in a TGML graphic

Environment

TGML

Cause

When bringing multiple devices into the same system, 2-state values can be expressed in many different ways.  On/Off 0/1 True/False etc.

Resolution

Use this snippet to normalize the text content of all 2-state objects on a single graphics page.

  1. Delete existing binds
  2. Add this snippet to any text object and set the bound attribute as "Content"
  3. Change the True/False properties of the bind to the desired values

 

Also check out the JavaScript Essentials - Episode 3 - Value Types Quick-Help video on the Exchange.

Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎2018-09-11 04:42 AM
Updated by: