This example demonstrtaes one method to create an animated slider control using a bar gauge to show level and a animated rectangle widget as the slider knob.
The bar gauge is not needed if level is not required, just a background image or rectangle widget could be used.
To make the control transportable and independent of position all the elements are grouped in a container. In that way all of the calculations are relative to the container which can then be moved anywhere on the page without affecting the calculations.
All code is in the ~Volume folder and can be easily exported along with the container to your application using the export/import function. The export must be in the same version of PV you will be using to import the file.
Download the example created in 2.9.23044 for a PV780B.
Comments
0 comments
Please sign in to leave a comment.