frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.83k stars 826 forks source link

[FEATURE] Events and Actions to have AND + OR #1008

Open lewsut opened 11 months ago

lewsut commented 11 months ago

It would be useful like may other packages to have the ability to AND, and also OR tags to drive events and actions of mimics.

For instance only show shape_1 if tag x and tag y are true.

unocelli commented 11 months ago

Hi, You can use scripts that are even more flexible

lewsut commented 11 months ago

I know, I certainly can, but it's not as fast or as user friendly, that's why nearly all HMI / SCADA applications allow you to do it in the GUI without scripting. Also this requires yet another tag? I would have to create an Xtag && Ytag == Ztag?

unocelli commented 11 months ago

The question is: where is the limit, only 2 tags, why not 3? and combined with brackets? and so it gets complicated. You certainly have an example of how the gui should look right?

lewsut commented 11 months ago

The question is: where is the limit, only 2 tags, why not 3? and combined with brackets? and so it gets complicated. You certainly have an example of how the gui should look right?

Well ideally it would be somewhat unlimited, and "scripts" would be accessible at the point of work. Here is an example, obviously this could be extrapolated for any number of tag tests. In the example below I show how a single tag works and how multi tag test works. This is Crimson 3.1 (not my favourite HMI software, but it's what I have installed) .

Doing things this way is more intuitive and doesn't require a special tag for the state of every displayed active object.

Animation

unocelli commented 10 months ago

Thanks, Yes, indeed the possibility of having the true/false condition via script is a nice feature.