02-15-2011 08:08 AM
I am using the "DataSocket Select URL.vi" to get the URL for my tags. These tag names will change as instruments change. Is it possible to be able to select the OPC device URL and have Labview read into a string array a list of all available tag names on the device? I know it's possible because the "DataSocket Select URL.vi" provides a list of available tag names, just not in a format I can handle in Labview.
Matt
Solved! Go to Solution.
02-16-2011 10:49 AM
I figured it out using an example on the NI site.
http://zone.ni.com/devzone/cda/epd/p/id/6341
But to simplify it. Attached is a vi called "Get Tag List.vi". Attached is an image of the distributed system manager. If you use the "OPC_Client_Variables" as your process and the "OPC_Client" as your "I/O Server Name", this vi will return a list of URLs pointing to all available tags on the selected OPC server. What a useful tool.
Mattyk
03-17-2011 09:12 AM
Hi,
Can u export this VI as LV2009?
thanks in advance
B Bakels
03-17-2011 09:29 AM
Hopefully this works.
03-17-2011 10:17 AM
Thanks
B Bakels
05-16-2018 11:35 AM
I know this is an old thread but to confirm, the Get Tag List.vi requires the DSC? I am looking for a method to list all of the Tag URLs in a Tag group without using the DSC.
05-17-2018 08:39 AM
I believe the VI you are referring to now is Get Published Tag Names.vi and yes, it comes with the DSC Module. However, depending on what type of server you are working with, you may be able to use a different protocol like TCP/IP.
Good luck,
Bear