Forum Home › Forums › Understanding the Software › Mimics › Embedded mimic does not work
- This topic has 31 replies, 3 voices, and was last updated 53 minutes ago by
manjey73.
-
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 🙂 -
AuthorPosts
- You must be logged in to reply to this topic.