Skip to content
  • There are no suggestions because the search field is empty.

How to make the value, timestamp and quality of one point equal to another point.

Can't figure out how to make one point in DataHub = another.

Just make change the attached .txt to .g and you can open the example in DataHub.

The tag or point names used in the example are default:input1 and default:output1.  Default is the domain input1 is the point or tag name.

Any time the Value of Input1 changes, Output1 value, timestamp and quality will be updated.  This example also reads the initial value of Input1 and changes Output2 when the script changes.  This will make sure that Input1 and Output1 are always = whenever you run this script.