Data Tags

I am using the below scrip to Get the tags configured in Group C but still i am getting all the tags irrespective of their Groups. How can i get the Tags configured only in Group C
CLS

// Define the tag group A
GroupC$ = GETSYS TAG,“IVGROUPC”

// Read and print tags in Group C
PRINT “Tags in Group C:”
NB% = GETSYS PRG, “NBTAGS”
FOR i% = 0 TO NB%-1
SETSYS Tag, “load”, -i%
TagName$ = GETSYS Tag, “Name”
TagGroup$ = GETSYS TAG, “GROUP”
IF (TagGroup$ = GroupA$) THEN
TagValue$ = GETSYS Tag, “TagValue”
PRINT “Tag Name: " + TagName$ + " - Value: " + TagValue$ + " - Tag Group:” + GroupA$
ENDIF
NEXT i%

Hi @Lakhan_Tyagi,

We have migrated to a new platform. Please go to support.hms-networks.com and either create a support case or a forum topic there for help with this issue.

You can also post on the Ewon Developer Forum here: techforum.ewon.biz