Forum Home › Forums › Understanding the Software › Mimics › Embedded mimic does not work
- This topic has 25 replies, 3 voices, and was last updated 2 hours, 52 minutes ago by
oley.
-
AuthorPosts
-
June 4, 2026 at 8:54 pm #17965
oley
ParticipantHi,
I created a MIM diagram with dynamic images/texts, and it works flawlessly.
When I place it in a frame, as in another diagram, it is visible, but the dynamic elements don’t work: there is no text value and the image doesn’t change based on the channel value.June 5, 2026 at 7:01 am #17967
manjey73Participantframe can block scripts. But in theory, if it works within the same domain, then everything should work.
See what’s going on in debugging. Perhaps you just entered the wrong link to display in the frame.
June 5, 2026 at 9:26 am #17969oley
ParticipantI also put my scheme as dependency in my main view.
Than I use it as a faceplate, set object and device id.
This faceplate as standalone view work like a charm, but embedded faceplate does not display channel data in either text or images.2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Webstation 6.2.3.1 started 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Storage FileStorage 6.4.0.0 loaded from file C:\Program Files\SCADA\ScadaWeb\FileStorage.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgChart 6.1.0.1 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgChart.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMain 6.1.2.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMain.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimic 6.0.2.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMimic.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimicEditor 6.0.2.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMimicEditor.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimBasicComp 6.0.1.1 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMimBasicComp.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgScheme 6.1.1.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgScheme.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgSchBasicComp 6.1.0.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgSchBasicComp.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgStore 6.1.0.1 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgStore.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgWebPage 6.1.1.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgWebPage.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgSchExtraComp 6.1.0.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgSchExtraComp.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgChartPro 6.1.1.1 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgChartPro.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgDashboard 6.1.1.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgDashboard.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMap 6.1.1.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMap.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimExtraComp 6.0.2.0 loaded from file C:\Program Files\SCADA\ScadaWeb\PlgMimExtraComp.dll 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimic: Add components from the PlgMimBasicComp plugin 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Check PlgMimExtraComp registration: Registration key is valid. Up to 10000 channels. Computer code: XXX Registration key: XXX 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgMimic: Add components from the PlgMimExtraComp plugin 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgScheme: Retrieve scheme components from the installed plugins 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgScheme: Added components from the PlgSchBasicComp plugin 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Check PlgSchExtraComp registration: Registration key is valid. Up to 10000 channels. Computer code: XXX Registration key: XXX 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Plugin PlgScheme: Added components from the PlgSchExtraComp plugin 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Check PlgChartPro registration: Registration key is valid. Up to 10000 channels. Computer code: XXX Registration key: XXX 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Check PlgDashboard registration: Registration key is valid. Up to 10000 channels. Computer code: XXX Registration key: XXX 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Check PlgMap registration: Registration key is valid. Up to 10000 channels. Computer code: XXX Registration key: XXX 2026-06-05 10:34:37 [SCADA2][SCADA2$][ACT] Receive the configuration database 2026-06-05 10:34:39 [SCADA2][SCADA2$][ACT] The configuration database has been received successfully 2026-06-05 10:34:39 [SCADA2][SCADA2$][INF] The application is ready for operatingJune 5, 2026 at 9:53 am #17974
manjey73ParticipantCheck in the browser (show code) on the i-frame element
June 5, 2026 at 1:40 pm #17976
MikhailModeratorHi,
Please provide additional information:
1. Screenshot of the mimic in the frame.
2. Screenshot of possible errors in the browser console (by F12).June 5, 2026 at 4:19 pm #17978oley
ParticipantHi,
Screenshots:
https://ibb.co/rRQNPVqK
https://ibb.co/d0M3Rp12
https://ibb.co/CyX0dzR
https://ibb.co/PZLc83Jz
https://ibb.co/qYb0g2gSIt works partially – for example, it opens the chart for the correct channel – but the input channel isn’t working, meaning it doesn’t display the value in the Text field or the corresponding image in the Picture field.
June 6, 2026 at 9:00 am #17984
manjey73Participanthttp://localhost:5000/Object_13 What do you have there? the link for the frame?
if I’m not mistaken, you need to place your pages in wwwroot\custom and the link will start with /custom/myHtmlPage.html
Do you want to download the svg directly as a link? I’m not sure that’s going to happen.
You have Images in the project tree, so you should add an image there. Or a more complicated way, use the ExtraMarkup component.
June 6, 2026 at 9:04 am #17985
manjey73ParticipantIt is allowed to link to html in another resource, for example http://10.2.0.1:8081 but in this case, the javascript of another resource may be blocked inside the frame.
-
This reply was modified 2 days, 10 hours ago by
manjey73.
June 6, 2026 at 9:08 am #17987
manjey73Participantyou probably made a mistake with the channel number on the trend.
June 6, 2026 at 9:13 am #17988
manjey73Participantdid I understand correctly that when you remove frames from the mnemonic scheme, then the trend component starts working for you?
June 6, 2026 at 9:20 am #17989oley
ParticipantThe frames at the right side with urls works fine. I have a service, which generates web pages on localhost.
The problem is at the left side, that my faceplate does not react with channel data.
If I take this faceplate as a standalone mimic view, it works fine.The faceplate embedded in another mimic view does not work (no channel data in or picture controls).
June 6, 2026 at 9:33 am #17992
manjey73ParticipantNow it’s clear, is there a problem with transferring channels if one *.mim is embedded in another?
Is it possible to embed mim directly into mim? it seems that FacePlate and their exported properties are used for this.
-
This reply was modified 2 days, 10 hours ago by
manjey73.
June 6, 2026 at 9:34 am #17993oley
ParticipantYes, exactly. Standalone mim works, but does not bind data as embedded in another mim.
June 6, 2026 at 9:36 am #17995
manjey73Participantit may not be possible to embed mim in mim. Try FacePlate
June 6, 2026 at 5:54 pm #17996oley
ParticipantSimple example:
mimic.mim:
<?xml version="1.0" encoding="utf-8"?> <Mimic editorVersion="6.0.2.0"> <Dependencies> <Faceplate typeName="Face" path="ProjTECH\PV\PV Szczecinek 5\Face.fp" /> </Dependencies> <Document /> <Components> <Text> <ID>1</ID> <AutoSize>True</AutoSize> <BackColor /> <Blinking>False</Blinking> <BlinkingState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </BlinkingState> <Border> <Width>0</Width> <Color /> </Border> <CheckRights>False</CheckRights> <ClickAction> <ActionType>None</ActionType> <ChartArgs /> <CommandArgs> <ShowDialog>True</ShowDialog> <CmdVal>0</CmdVal> </CommandArgs> <LinkArgs> <Url /> <UrlParams> <Enabled>False</Enabled> <Param0 /> <Param1 /> <Param2 /> <Param3 /> <Param4 /> <Param5 /> <Param6 /> <Param7 /> <Param8 /> <Param9 /> </UrlParams> <ViewID>0</ViewID> <Target>Self</Target> <ModalWidth>Normal</ModalWidth> <ModalHeight>0</ModalHeight> </LinkArgs> <Script /> </ClickAction> <Conditions isArray="true" /> <CornerRadius> <TopLeft>0</TopLeft> <TopRight>0</TopRight> <BottomRight>0</BottomRight> <BottomLeft>0</BottomLeft> </CornerRadius> <CssClass /> <DefaultText /> <DeviceNum>1302</DeviceNum> <DisabledState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </DisabledState> <Enabled>True</Enabled> <Font> <Inherit>True</Inherit> <Name /> <Size>16</Size> <Bold>False</Bold> <Italic>False</Italic> <Underline>False</Underline> </Font> <ForeColor /> <HoverState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </HoverState> <InCnlNum>131014</InCnlNum> <Location> <X>40</X> <Y>40</Y> </Location> <Name /> <ObjNum>0</ObjNum> <OutCnlNum>0</OutCnlNum> <Padding> <Top>0</Top> <Right>0</Right> <Bottom>0</Bottom> <Left>0</Left> </Padding> <PropertyBindings isArray="true" /> <Script /> <Size> <Width>100</Width> <Height>100</Height> </Size> <Text>Text</Text> <TextAlign>TopLeft</TextAlign> <TextDirection>Horizontal</TextDirection> <Tooltip /> <Visible>True</Visible> <WordWrap>False</WordWrap> </Text> <Face> <ID>2</ID> <Blinking>False</Blinking> <CheckRights>False</CheckRights> <ClickAction> <ActionType>None</ActionType> <ChartArgs /> <CommandArgs> <ShowDialog>True</ShowDialog> <CmdVal>0</CmdVal> </CommandArgs> <LinkArgs> <Url /> <UrlParams> <Enabled>False</Enabled> <Param0 /> <Param1 /> <Param2 /> <Param3 /> <Param4 /> <Param5 /> <Param6 /> <Param7 /> <Param8 /> <Param9 /> </UrlParams> <ViewID>0</ViewID> <Target>Self</Target> <ModalWidth>Normal</ModalWidth> <ModalHeight>0</ModalHeight> </LinkArgs> <Script /> </ClickAction> <DeviceNum>1302</DeviceNum> <Enabled>True</Enabled> <InCnlNum>0</InCnlNum> <Location> <X>0</X> <Y>100</Y> </Location> <Name /> <ObjNum>13</ObjNum> <OutCnlNum>0</OutCnlNum> <PropertyBindings isArray="true" /> <Size> <Width>100</Width> <Height>100</Height> </Size> <Visible>True</Visible> </Face> </Components> <Images /> </Mimic>Face.fp:
<?xml version="1.0" encoding="utf-8"?> <Faceplate editorVersion="6.0.2.0"> <Dependencies /> <Document> <Size> <Width>100</Width> <Height>100</Height> </Size> </Document> <Components> <Text> <ID>1</ID> <AutoSize>True</AutoSize> <BackColor /> <Blinking>False</Blinking> <BlinkingState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </BlinkingState> <Border> <Width>0</Width> <Color /> </Border> <CheckRights>False</CheckRights> <ClickAction> <ActionType>None</ActionType> <ChartArgs /> <CommandArgs> <ShowDialog>True</ShowDialog> <CmdVal>0</CmdVal> </CommandArgs> <LinkArgs> <Url /> <UrlParams> <Enabled>False</Enabled> <Param0 /> <Param1 /> <Param2 /> <Param3 /> <Param4 /> <Param5 /> <Param6 /> <Param7 /> <Param8 /> <Param9 /> </UrlParams> <ViewID>0</ViewID> <Target>Self</Target> <ModalWidth>Normal</ModalWidth> <ModalHeight>0</ModalHeight> </LinkArgs> <Script /> </ClickAction> <Conditions isArray="true" /> <CornerRadius> <TopLeft>0</TopLeft> <TopRight>0</TopRight> <BottomRight>0</BottomRight> <BottomLeft>0</BottomLeft> </CornerRadius> <CssClass /> <DefaultText /> <DeviceNum>1302</DeviceNum> <DisabledState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </DisabledState> <Enabled>True</Enabled> <Font> <Inherit>True</Inherit> <Name /> <Size>16</Size> <Bold>False</Bold> <Italic>False</Italic> <Underline>False</Underline> </Font> <ForeColor /> <HoverState> <BackColor /> <ForeColor /> <BorderColor /> <Underline>False</Underline> </HoverState> <InCnlNum>131014</InCnlNum> <Location> <X>30</X> <Y>40</Y> </Location> <Name /> <ObjNum>13</ObjNum> <OutCnlNum>0</OutCnlNum> <Padding> <Top>0</Top> <Right>0</Right> <Bottom>0</Bottom> <Left>0</Left> </Padding> <PropertyBindings isArray="true" /> <Script /> <Size> <Width>100</Width> <Height>100</Height> </Size> <Text>Text</Text> <TextAlign>TopLeft</TextAlign> <TextDirection>Horizontal</TextDirection> <Tooltip /> <Visible>True</Visible> <WordWrap>False</WordWrap> </Text> </Components> <Images /> </Faceplate>Result:
-
This reply was modified 2 days, 10 hours ago by
-
AuthorPosts
- You must be logged in to reply to this topic.