IMAGE DISPLAY ACCORDING TO INPUT VARIABLE

boulefra
2023-07-26
2023-09-12
  • boulefra - 2023-07-26

    Hello Guys,i have a question, i need to appear an image on my visualisation according to my input signal :is i get input-1 so the image will appear .can someone guide me .
    Thanks

     
  • snhatton - 2023-07-26

    Good afternoon. You can set your invisibility property to an expression. For example, in this visualization, the image will only be visible when PLC_PRG.p is not equal to 1.ng width=50%]]. This property is below the State variables in the properties tab. I hope this helps!

     
    πŸ‘
    1
  • boulefra - 2023-07-26

    😁Thanks its work!

     
  • mawaloc - 2023-08-14

    Hello, It's related to same topic, so I'm adding a comment on it; Hope it's ok.
    I need an additionnal info.
    considering my variable on 1 BYTE, and any bit has his own img.
    Doing above method will need to add all pics to the vizualization and hide each of them manually?
    Do there is a way to attach the whole ImagePool to 1pics and attach the variable to IMG. ID?
    or somethings similar?

    Regards

     
  • mawaloc - 2023-08-14

    Hello, It's related to same topic, so I'm adding a comment on it; Hope it's ok.
    I need an additionnal info.
    considering my variable on 1 BYTE, and any bit has his own img.
    Doing above method will need to add all pics to the vizualization and hide each of them manually?
    Do there is a way to attach the whole ImagePool to 1pics and attach the variable to IMG. ID?
    or somethings similar?

    Regards

     
  • dkugler - 2023-08-14
     

    Last edit: dkugler 2023-08-14
  • dkugler - 2023-08-14
     

    Last edit: dkugler 2023-08-14
  • mawaloc - 2023-08-14

    greats, thanks you as soon as possible will try and let you know THANK YOU

     
  • mawaloc - 2023-08-14

    Hi,
    unfortunalty that part, I can't do it?
    Don't have the same "setting" on vizualization.
    where to get it please?
    Regards

     
    • Fless

      Fless - 2023-08-15

      To see the image ID variable you need to set the filter in properties to all or animation.

       
  • mawaloc - 2023-08-14

    Hi,
    unfortunalty that part, I can't do it?
    Don't have the same "setting" on vizualization.
    where to get it please?
    Regards

     
  • mawaloc - 2023-08-17

    Hello

    thank you to all, it's work
    regards

     
  • ggarcia94 - 2023-09-12

    Reopening this thread as I need to make a few images visible depending on the value of a variable.
    However, in the properties of the image I do not have the option to make the image visible (see attached image).
    IΒ΄m using Codesys V3.5 SP19. However, when I use V3.5 SP17 I have the option to make the images visible.

    Can someone help me achieve this with V3.5 SP19?

    EDIT: Fixed. Just had to uncheck Support client animations in the Visualization manger settings

     

    Last edit: ggarcia94 2023-09-12

Log in to post a comment.