Genie and Super Genie configuration for Citect SCADA

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 11

  • @mohammadrezahasanpour9601
    @mohammadrezahasanpour9601 3 роки тому

    Is it possible to have a super-genie window with our desired size? I tried but it always expand my page. Even I disabled page dynamic resizing but it didn't work.

  • @HetanHawke
    @HetanHawke 6 років тому

    thanks Mr and big Hi from Algeria

  • @muhammedadel8634
    @muhammedadel8634 3 роки тому

    hi what is the solution of the error you faced during the compilation?

  • @himanshumaurya2983
    @himanshumaurya2983 4 роки тому

    How to replicate made changes in citect server to all clients stations

  • @govindgopal6215
    @govindgopal6215 5 років тому

    Hey, could you explain what exactly the mode is ? I don't get it why you gave 1+8+16+ etc .

    • @black3238
      @black3238 4 роки тому +1

      Hello,
      I wanna thank Ahmed Hamad before anything because without it, i would still be lost and with this video i had a huge step forward and i am trying to help complete his work.
      I looked it up in the Citect Scada help, i use the 2018 version and i used the WinNewAt(Page, X, Y, Mode[, sClusterName]) function instead of the one Ahmed Hamad used in the tutorial,
      I copied it from the help page:
      WinNewAt(Page, X, Y, Mode[, sClusterName])
      Page:
      The name or page number of the page to display (in quotation marks ""). Can be prefixed by the name of a host cluster, that is "ClusterName.Page". This will take precedence over the use of the ClusterName parameter if the two differ.
      X:
      The x pixel coordinate of the top left corner of the window.
      Y:
      The y pixel coordinate of the top left corner of the window.
      Mode:
      The mode of the window:
      0 - Normal page.
      1 - Page child window. The window is closed when a new page is displayed, for example, when the PageDisplay() or PageGoto() function is called. The parent is the current active window.
      2 - Window child window. The window is closed automatically when the parent window is freed with the WinFree() function. The parent is the current active window.
      4 - No re-size. The window is displayed with thin borders and no maximize/minimize icons. The window cannot be re-sized.
      8 - No icons. The window is displayed with thin borders and no maximize/minimize or system menu icons. The window cannot be re-sized.
      16 - No caption. The window is displayed with thin borders, no caption, and no maximize/minimize or system menu icons. The window cannot be re-sized.
      32 - Echo enabled. When enabled, keyboard echo, prompts, and error messages are displayed on the parent window. This mode should only be used with child windows (for example, Mode 1 and 2).
      64 - Always on top.
      128 - Open a unique window. This mode helps to prevent this window from being opened more than once.
      256 - Display the entire window. This mode commands that no parts of the window will appear off the screen
      512 - Open a unique Super Genie. This mode helps to prevent a Super Genie from being opened more than once (at the same time). However, the same Super Genie with different associations can be opened.
      1024 - Disables dynamic resizing of the new window, overriding the setting of the [Page]DynamicSizing parameter.
      4096 - Allows the window to be resized without maintaining the current aspect ratio. The aspect ratio defines the relationship between the width and the height of the window, which means this setting allows you to stretch or compress the window to any proportions. This option overrides the setting of the [Page]MaintainAspectRatio parameter.
      8192 - Text on a page will be resized in proportion with the maximum scale change for a resized window. For example, consider a page that is resized to three times the original width, and half the original height. If this mode is set, the font size of the text on the page will be tripled (in proportion with the maximum scale). This option overrides the setting of the [Page] ScaleTextToMax parameter.
      16384 - Hide the horizontal scroll bar.
      32768 - Hide the vertical scroll bar.
      65536 - Disable horizontal scrolling.
      131072 - Disable vertical scrolling.
      You can select multiple modes by adding modes together (for example, set Mode to 9 to open a page child window without maximize, minimize, or system menu icons).
      P.S: i used Metadata to configure the variables in the super genie and keep it flexible so i can adapt it to different motors...
      you can check this tutorial of another Automation engineer in which he used Metadata so you can get an idea on everything you might need.
      This is the link: ua-cam.com/video/sGqT7lOaoc8/v-deo.html.
      Best of luck.

    • @nikkozippo
      @nikkozippo 3 роки тому

      @@black3238 Thank you so much for this! Unfortunately Citect 7.1 doesn't have metadata function lol

  • @GauravSingh-ye7nd
    @GauravSingh-ye7nd 4 роки тому

    Thank u for video..

  • @all1007
    @all1007 3 роки тому

    The best video

  • @Houssamchawi4498
    @Houssamchawi4498 4 роки тому

    Thank you so much , Can you make a video about Pop_Up Page