HI there, complete newbie so forgive me if this is obvious.
I am creating a view that will emulate the functionality of a 3 phase power meter that I can interrogate via MODBUS.
Upload a decent picture of the power meter
The physical unit has a 3 line display so over lay 3 LED displays on the picture …
So far so good the LED’s are displaying the 3 voltage tags that I used in real time
Next, the Power meter has a couple of buttons that toggle through the various parameters… current, PF, KW.h etc… so “screen grab” just the button from the original source picture and create a button over the picture on the view
Now find a way to link clicking the button to change the MODBUS tag being displayed by the LED item… maybe indirect binding via a script?
Realise that the vastness of my inadequacy requires me to seek a higher power… the FORUM!!!
I havent found a video or a topic or an example to plagiarise as yet… so any suggestions would be most welcome.
Yes, a string property that contains the path or the changeable part of the path for the changeable display. The actionPerformed event on the button would look up the current string value to then pick the next string value. For that part, I’d use a constant list of strings in a script module. Find the current string with .index(), add one (roll over to zero at the end) to get the next string.
I have finally found my hammer and I am trying to work for it… but I just ended up hitting my thumb with it. Was that a project export?.. that I import and then like Aladdins cave shows me all sorts of goodies like a perspective view and such … cause at the moment I cant find the treasure.
I tried a blank project … but shouldn’t the view you created show up in the import window where it allows you to select what items to import? The first screen grab is what is available in the PowerMon zip … the second screen grab is from the help for the import process.
Sorry about that Jordan… yep that worked perfectly. I hadn’t got to the point in the videos that triggered the realisation that Maker edition doesn’t contain all the “basics” from the full version. I was about to install another version and let it run in trial mode so I can look at your vision version.