oley

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 93 total)
  • Author
    Posts
  • in reply to: Embedded mimic does not work #18020
    oley
    Participant

    I would appreciate any additional guidance.
    The example with the text on a faceplate was just a simple illustration of my problem.
    My faceplates contain several images that represent the status of the switches: on, off, and undefined.
    In the faceplate, I define an input channel (and sometimes an output channel for a command), and in the conditions, I have set the appropriate images for the channel values.

        <Picture>
          <ID>3</ID>
          <BackColor />
          <Border>
            <Color>Gray</Color>
            <Width>0</Width>
          </Border>
          <ClickAction>
            <ActionType>SendCommand</ActionType>
            <CommandArgs>
              <ShowDialog>True</ShowDialog>
              <CmdVal>0</CmdVal>
            </CommandArgs>
          </ClickAction>
          <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>
          <DefaultImage>active_el04_0.png</DefaultImage>
          <DeviceNum>4101</DeviceNum>
          <Enabled>True</Enabled>
          <Font>
            <Inherit>True</Inherit>
          </Font>
          <HoverState>
            <BackColor>Blue</BackColor>
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </HoverState>
          <ImageName>active_el04_0.png</ImageName>
          <ImageStretch>None</ImageStretch>
          <InCnlNum>410804</InCnlNum>
          <Location>
            <X>80</X>
            <Y>80</Y>
          </Location>
          <Name>1Q1</Name>
          <ObjNum>41</ObjNum>
          <OutCnlNum>0</OutCnlNum>
          <Size>
            <Width>40</Width>
            <Height>40</Height>
          </Size>
          <Tooltip>1Q1</Tooltip>
          <Visible>True</Visible>
        </Picture>
    
    in reply to: Embedded mimic does not work #18019
    oley
    Participant

    Thanks, I will try with the same address/url and evtl. port.

    in reply to: Showing units in table view #18018
    oley
    Participant

    Thanks, it would be useful. I have channels of the same quantity but different units: kWh, MWh, GWh.

    in reply to: Embedded mimic does not work #18009
    oley
    Participant

    What is the purpose of <DataSource>Tri</DataSource>?

    in reply to: Embedded mimic does not work #18006
    oley
    Participant

    Hi,

    Thanks! I’ll take a look at it.
    It’ll bring back memories of my primary school days, when I was learning Russian. 🙂

    in reply to: Format enum with custom values #18000
    oley
    Participant

    Thanks, I thought about some script but want to ask if there is another option.

    in reply to: Embedded mimic does not work #17996
    oley
    Participant

    Simple 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:

    https://ibb.co/ptBKTd6
    https://ibb.co/Tqgs8Zzr

    in reply to: Embedded mimic does not work #17993
    oley
    Participant

    Yes, exactly. Standalone mim works, but does not bind data as embedded in another mim.

    in reply to: Embedded mimic does not work #17989
    oley
    Participant

    The 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).

    in reply to: Embedded mimic does not work #17978
    oley
    Participant

    Hi,

    Screenshots:

    https://ibb.co/rRQNPVqK
    https://ibb.co/d0M3Rp12
    https://ibb.co/CyX0dzR
    https://ibb.co/PZLc83Jz
    https://ibb.co/qYb0g2gS

    It 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.

    in reply to: Embedded mimic does not work #17969
    oley
    Participant

    I 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 operating
    
    in reply to: Backup strategy for distributed system #17916
    oley
    Participant

    I have gaps in the historical data (from couple hours ago) on the main server, but RapidGATE isn’t filling in those gaps.

    in reply to: Backup strategy for distributed system #17915
    oley
    Participant

    Update: I created specific user with the Application role, and try opposite direction: RapidGate on local SCADA.
    Now the log looks like:

    --------------------------------------------------------------------------------
    2026-05-02 09:49:46 Module ModRapidGate 6.1.1.1 started
    2026-05-02 09:49:46 Check ModRapidGate registration: Registration key is valid. Expiration date is 02/05/2026.
    Computer code: =F2ABEFB92DB5AEB9-4AFA2B2EE4EA954E-69CE185AC8AF0D03-08C262988238E2BA-1A67F09752CCC18F-0CD2C7725F4B6C01-F0B7B8E7A118FEEA-E59F5CF46611CD5B-0B5645B04B1D4750-E905B6A2AB8B487E-D617E9425CCA10E2-A4CA3976AC9F1747-397A9F2508AA0055-60CCB8ADAB3A9209-59D39F054257525B-D6185D9A7A70FE16-E1D733A61A4BDD71-94242B73E648DE5E=
    Registration key: F571B75D9A2A40C6-1FD3E855CB38C3FD-48EDD2EBB6CD2FCA
    2026-05-02 09:49:46 Start gates
    
    in reply to: Backup strategy for distributed system #17913
    oley
    Participant

    Hi,

    I’ve found some time to revisit the topic of redundancy.
    At one of the objects where GSM communication outages occur, I installed a miniPC running RapidSCADA configured specifically for that object.
    And now the question: where should RapidGate be configured? On the main server serving all locations, or on the local SCADA system?
    A quick test with RapidGate on the main server doesn’t work:

    
    2026-05-02 09:33:23 Error transferring event:
    Scada.ScadaException: Client is not logged in. Try again later.
       at Scada.Client.ClientBase.RestoreConnection()
       at Scada.Client.ScadaClient.WriteEvent(Int32 archiveMask, Event ev)
       at e.i()
    2026-05-02 09:33:24 Error transferring command:
    Scada.ScadaException: Client is not logged in. Try again later.
       at Scada.Client.ClientBase.RestoreConnection()
       at Scada.Client.ScadaClient.SendCommand(TeleCommand command, WriteCommandFlags flags)
       at e.g()
    2026-05-02 09:33:27 Error transferring current data:
    Scada.ScadaException: Insufficient rights
       at Scada.Client.ClientBase.RestoreConnection()
       at Scada.Client.ScadaClient.WriteChannelData(Int32 archiveMask, ICollection
    1 slices, WriteDataFlags flags)
       at e.k()
    

    I use admin/scada credentials and secret key copied from the object local SCADA in the connection config.

    • This reply was modified 3 months, 3 weeks ago by oley.
    in reply to: Setting multiple channels at once. #17882
    oley
    Participant

    I put this as output formula:

    public double SetPowerAll()
    {
        double value = CmdVal;
    
        SetData(800205, 0, 1);
        SetData(800204, value, 1);
        SetData(800205, 1, 1);
    
        return value;
    }
    

    and it does not work.

Viewing 15 posts - 16 through 30 (of 93 total)