Read only the branch in the Variable tab of the Grid

6 Posts
4 Users
0 Likes
37 Views
n.jayagobal
(@n-jayagobalarcinfo-com)
Posts: 45
Estimable Member
Topic starter
 

Any possibilities or trick in GRID to read only the BRANCH of the variable at the Variable Tracking Filter slot.

I have variables like:-

BUILDING.FLOOR1.ROOM1.AC.SETPOINT
BUILDING.FLOOR1.ROOM1.AC.ON_OFF
BUILDING.FLOOR2.ROOM1.AC.SETPOINT
BUILDING.FLOOR2.ROOM1.AC.ON_OFF
BUILDING.FLOOR3.ROOM1.AC.SETPOINT
BUILDING.FLOOR3.ROOM1.AC.ON_OFF

The scenario is like this:
Link Open a Mimic or a Popup (Applied the Branch at link open. E.g. BUILDING.FLOOR1)
At the Grid it should show only BUILDING.FLOOR1

I tried the SELECTOR in the SCADA BASIC, seems not as I expected.

 
Posted : 22/01/2021 12:15 am
 GRCH
(@g-chovelonarcinfo-com)
Posts: 26
Eminent Member
 

Hi,
could you try something like :
Name like "BUILDING.FLOOR1.* "
Put it in the Filter field in the Grid Parameters

BR,

Grégoire

 
Posted : 22/01/2021 4:18 pm
n.jayagobal
(@n-jayagobalarcinfo-com)
Posts: 45
Estimable Member
Topic starter
 

Yes. I tried it . If I applied BUILDING.FLOOR1.* at the Filter, it will show all the variables corresponding to his branch.
The customer want to see the Branch only

 
Posted : 22/01/2021 4:35 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Hi,

The variable tracking mode only displays variables and not branches.

A typical workaroud is to create _CONF variable for each floor and then apply a filter like:
^BUILDING.FLOOR[0-9]._CONF$

 
Posted : 22/01/2021 4:48 pm
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

Be aware that there is a fee to pay to Dominique and I for that trick 😉
By the way Florent, you never paid for it :whistle:
But it is an excellent trick, useful in many situations, not only the grid control.

 
Posted : 22/01/2021 7:18 pm
n.jayagobal
(@n-jayagobalarcinfo-com)
Posts: 45
Estimable Member
Topic starter
 

Thank you guys.
I knew that the variable tracking mode only to display variables.
Before I received the answer from Florent, I wrote a SCADA Basic script to get the value and pass into an internal variable.

 
Posted : 22/01/2021 10:59 pm