Ewon Flexy Basic IDE Remove Tag Group

Is there a way to remove the tag group designation? I have tags in group A but I want them to NOT be associated with ANY other group. Would an “X” work as shown in the code below?
Thanks for the help.

Setsys Tag,“load”,“Press_Pressure”
Setsys Tag,"IVGroupX,1
Setsys TAG,“save”

Hi Bryan,

The tag group parameters are IVGroupA, IVGroupB, IVGroupC, and IVGroupD. A value of 1 means membership in that group, while 0 means the tag is not a member, so you’ll need to set the value for each group you don’t want to 0. If your tag is in group A and you want to make sure it’s in no other group, the following code will work:

SETSYS TAG, "LOAD", "Press_Pressure"
SETSYS TAG, "IVGroupB", 0
SETSYS TAG, "IVGroupC", 0
SETSYS TAG, "IVGroupD", 0
SETSYS TAG, "SAVE"

Also, to expand on this, it’s not necessary to use BASIC unless you want to automate this for a large number of tags. You can also change the group membership of a tag by editing the tag in Tags → Values, then scrolling to the bottom of the tag configuration pane.

image

Thanks a lot. So simple! Sorry I missed it.
Thanks for the help.

1 Like