Ronaldo Alves
New Member
Members
Forum Posts: 1
Member Since:
01/21/2019
01/21/2019
Offline
Good morning, I’m an engineering student in Brazil and I need to list all the tags on an OPCDA server, my teacher gave me DLLS that he uses and I’ve already been able to do the communication, but I can not list the tags that are on the server.
My code is as follows:
OpcCom.ServerEnumerator se = new OpcCom.ServerEnumerator();
Opc.Server[] servers = se.GetAvailableServers(Opc.Specification.COM_DA_20);
//Opc.Hda.Server daServer = (Opc.Hda.Server)servers[0];
Opc.Da.Server daServer = (Opc.Da.Server)servers[1];
daServer.Connect();
How can I list all the tags? I also saw that there is the group question, as I set up an opc server for Matrikon for testing and I used their opcview.
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 56
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889