cancel
Showing results for 
Search instead for 
Did you mean: 

How to get tag group name?

Former Member
0 Kudos

Hi experts,

I am new in PCO Queries.

I have requirement of fetching Tagname , Description and TagGroup name from OPC and  insert into Sybase db table.

how can I write the PCO Query to fetch tag's  group name and tag description .

Tagnames are configured as alias in agent instance instead of subscription items and entered manually with data type as float.

I am assuming that Description and Group name should configure while adding tags in PCO as alias then write a PCO query and send to Sybase tables.

Please help me to get group name and Description of tag which belongs to it.

your earliest help would be highly appreciated.

Thanks&Regards,

Pooja.

Message was edited by: pooja rani

Accepted Solutions (1)

Accepted Solutions (1)

former_member196557
Active Contributor
0 Kudos

Hi Pooja,

1.  What OPC Server are you connecting to (product and version)

2.  Which versions of PCo and MII?

Regards, Steve

Former Member
0 Kudos

Hi Steve,

Thanks for your reply.

RSView 32 OPC server and PCO2.3 and MII server 14.0  we are using.

Thanks&Regards,

Pooja.

Former Member
0 Kudos

Hi Steve,

I am eagerly waiting for your reply.

Please suggest anything.

Thanks&Regards,

Pooja.

former_member196557
Active Contributor
0 Kudos

Pooja,

You can retrieve the Tag Groups using the MII PCoQuery GroupList mode.

You can retrieve the Tag Description using the PCoQuery TagList mode, use the Filter property to filter by specific tag or part of a tag name.

Regards, Steve

Former Member
0 Kudos

Hi Steve.

Thanks for your answer .

Should I add tags description and group as well while adding tags in pco.

Tags are added manually as alias in agent instance.

Regards,

Pooja.

Answers (0)