From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

URLs to Tree

I am using the DSC module to get a list of URLs from an OPC server (multiple OPC servers).  The list of URLs can be in the hundereds.  I wrote a program before that took me a while.  I used the envoke node to populate the tree.  It was only capible of displaying 3 layers in.  Now I have to re-do the code.  Is there any easy way to do this?  I attached my old code.  Look at Tree Main.vi in tree structure folder.

 

This is the formats for 2 differend OPC servers:

 

ni.var.psp://toshlap/AO2000/OPC1/NI OPC Client Status/Server ProgID

ni.var.psp://toshlap/AO2000/OPC1/Optima1/IO_Card0/AO1/Name

0 Kudos
Message 1 of 2
(2,008 Views)

Good Afternoon,

 

You might be able to use the Tree Control API located here to make recoding this a little easier on yourself.  I hope this helps!

 

-Cody C

0 Kudos
Message 2 of 2
(1,975 Views)