Forum Home › Forums › Understanding the Software › Mimics › Embedded mimic does not work
- This topic has 33 replies, 3 voices, and was last updated 3 weeks, 5 days ago by
oley.
-
AuthorPosts
-
June 10, 2026 at 11:44 am #18028
oley
ParticipantHi,
all the images are part of the faceplate file.
I have a channel with switch state 0, 1, 2, 3 and images for every state:<Conditions isArray="true"> <Item> <ComparisonOper1>Equal</ComparisonOper1> <ComparisonArg1>0</ComparisonArg1> <LogicalOper>None</LogicalOper> <ComparisonOper2>LessThan</ComparisonOper2> <ComparisonArg2>0</ComparisonArg2> <ImageName>active_el04_0.png</ImageName> </Item> <Item> <ComparisonOper1>Equal</ComparisonOper1> <ComparisonArg1>1</ComparisonArg1> <LogicalOper>None</LogicalOper> <ComparisonOper2>LessThan</ComparisonOper2> <ComparisonArg2>0</ComparisonArg2> <ImageName>active_el04_1.png</ImageName> </Item> <Item> <ComparisonOper1>Equal</ComparisonOper1> <ComparisonArg1>2</ComparisonArg1> <LogicalOper>None</LogicalOper> <ComparisonOper2>LessThan</ComparisonOper2> <ComparisonArg2>0</ComparisonArg2> <ImageName>active_el04_2.png</ImageName> </Item> <Item> <ComparisonOper1>Equal</ComparisonOper1> <ComparisonArg1>3</ComparisonArg1> <LogicalOper>None</LogicalOper> <ComparisonOper2>LessThan</ComparisonOper2> <ComparisonArg2>0</ComparisonArg2> <ImageName>active_el04_3.png</ImageName> </Item> </Conditions>Every <Picture> has input channel defined (and for some of them also output).
If I copy the faceplate into standalone mimic diagram it works well.
If the faceplate is embedded in another mimic the pictures shows only default image.
@manjey73 provide an example for binding properties for a simple text, but my case is a bit more complex.June 10, 2026 at 12:56 pm #18029
manjey73ParticipantThe image does not have properties that can be passed a value so that the image can be changed according to the condition. I don’t remember if it’s possible to specify the control channel directly in the Picture.
But you can change the file name property of the image inside the faceplate using the component script or facplate.
I haven’t gotten to the continuation of how to do this yet 🙂June 11, 2026 at 11:17 am #18034
MikhailModeratorIf I copy the faceplate into standalone mimic diagram it works well.
If the faceplate is embedded in another mimic the pictures shows only default image.As a recap:
– Mimic A,
– Mimic B is inserted into Mimic A using the Frame component,
– Faceplate works well when it is on Mimic A, but has issues when it is on Mimic B.Is the above correct?
June 11, 2026 at 12:07 pm #18035oley
ParticipantFaceplate as embedded component in a mimic does not work (because I do not now how to bind properties properly for pictures).
If I create a mimic with the exact content of the faceplate (multiple pictures), it works. -
AuthorPosts
- You must be logged in to reply to this topic.