I'm still learning WebVisu stuff, it's so interesting, but I'll be needing some "universal" popup box which gets and sets variables for that situation/application.
Say, I'm having a house with multiple rooms. All rooms have Temperature, Co2 and humidity as status (shown) and as setpoint for the room Climate controller (writable).
I don't like ending up with 10 identical pages where only the Climate variables are different.
Is there a was to access application variable
- as index like in Climate.Room[i].Rh = 'OnClickAction' and textvariable Climate.Room[i].Rh
- or via a pointer ptrRoom =ADR(Climate.Room[1])
and use this reference in the objects "text variables" for display and as (onclick/dialog) writeback as well?
you may wanna take a look at this example (https://store.codesys.com/visu-dialog-st.html).
There are a few example applications including the DialogVarInOut, which seems to fit your requirements!
Best regards,
Marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello dear readers,
I'm still learning WebVisu stuff, it's so interesting, but I'll be needing some "universal" popup box which gets and sets variables for that situation/application.
Say, I'm having a house with multiple rooms. All rooms have Temperature, Co2 and humidity as status (shown) and as setpoint for the room Climate controller (writable).
I don't like ending up with 10 identical pages where only the Climate variables are different.
Is there a was to access application variable
- as index like in Climate.Room[i].Rh = 'OnClickAction' and textvariable Climate.Room[i].Rh
- or via a pointer ptrRoom =ADR(Climate.Room[1])
and use this reference in the objects "text variables" for display and as (onclick/dialog) writeback as well?
Best regards,
Related
Talk.ru: 1
Hello sir,
you may wanna take a look at this example (https://store.codesys.com/visu-dialog-st.html).
There are a few example applications including the DialogVarInOut, which seems to fit your requirements!
Best regards,
Marcel