Building a separate visualization object with corresponding buttons

An individual visualization object is built for the pH sensor in the following example. The Frame object can be pulled into the product from the Vizualization Toolbox/Basic for this purpose.

image-20260716-050740.png

The button to start calibration is now first added.

image-20260716-050751.png

In order to establish a relationship between the button and sensor, the pH sensor + suffix "_FB" must be selected under References.

image-20260716-050803.png

The same process is used for the button to call up the log book.

image-20260716-050818.png

There are multiple ways to display the pH value. The OutputRealValue object from the JDigilineBasic is used in the following example.

image-20260716-050833.png

This object requires the following information to display the value correctly: value, unit, and decimal place. The sensor name <DeviceName>_FB.stData.stDataOut must be typed into the field for rValue. You then see a selection of possible variables.

image-20260716-050845.png

The unit includes the variable wsUnitCompensatedPV. If you want to show the value with two decimal places, input the value 2 for iComma.

image-20260716-050911.png

When you transfer the project to variTRON, you can see the desired display of the value. The buttons can now also be used.

image-20260716-050922.png

You can display much more information in your own object if you type in the following:

With <DeviceName>_FB.stData.stDataOut, you have a selection of potential sensor information.

image-20260716-050939.png