I work on CoDeSys 3.5 SP3 Patch5.
I have got two visualizations (not two bitmaps into one vizualization) and one variable of BOOL type.
I want to change these two visualizations by the state of my variable.
Varaible = FALSE --> visu1
Variable = TRUE --> visu2.
Any sugestions, please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome,
I work on CoDeSys 3.5 SP3 Patch5.
I have got two visualizations (not two bitmaps into one vizualization) and one variable of BOOL type.
I want to change these two visualizations by the state of my variable.
Varaible = FALSE --> visu1
Variable = TRUE --> visu2.
Any sugestions, please?
In the visualisation manager enable the option "Use CurrentVisu Variable".
Now in your code you can write to this variable, depending on the state of your bit. The string value is the name of your visualisation.
Fast and perfect advice.
Thanks.