Hello everyone.
I am programming a smart home automation, especially I turned my attention to the trace-functionallitiy.
I created a visu <mytracevisu>, put a groupbox on it and on that two traces <mytracevisu_trace0> and <mytracevisu_trace1>. Via binary signal I can set a trace to <unvisible>. In this case I want to increase the heigth of the remaining trace-element to the heigth of the groupbox(at runtime). So I used, according to the dot notation, the expression <mytracevisu.geneleminst_8.position.x:= 450;=""> with GenElemInst_8 as the system-created elemantname of -MyTraceVisu_Trace0-. But the compiler threw four error-messages: e.g. -identifier MyTraceVisu not defined-. But the object <mytracevisu> really exists. What I'm doing wrong? I hope somebody can help me
best regards
Herbert Koob</mytracevisu></mytracevisu.geneleminst_8.position.x:=></unvisible></mytracevisu_trace1></mytracevisu_trace0></mytracevisu>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone.
I am programming a smart home automation, especially I turned my attention to the trace-functionallitiy.
I created a visu <mytracevisu>, put a groupbox on it and on that two traces <mytracevisu_trace0> and <mytracevisu_trace1>. Via binary signal I can set a trace to <unvisible>. In this case I want to increase the heigth of the remaining trace-element to the heigth of the groupbox(at runtime). So I used, according to the dot notation, the expression <mytracevisu.geneleminst_8.position.x:= 450;=""> with GenElemInst_8 as the system-created elemantname of -MyTraceVisu_Trace0-. But the compiler threw four error-messages: e.g. -identifier MyTraceVisu not defined-. But the object <mytracevisu> really exists. What I'm doing wrong? I hope somebody can help me
best regards
Herbert Koob</mytracevisu></mytracevisu.geneleminst_8.position.x:=></unvisible></mytracevisu_trace1></mytracevisu_trace0></mytracevisu>
Hi,
see https://forge.codesys.com/forge/talk/Visualization/thread/b7acbe991e/
Solution:
Use a variable in Relative Movement of the specific element.
Regards,
Julian