When I try to browse using these it takes forever and times out returning nothing.
This takes a good 30 to 60 seconds and locks up the UI during this.
I am trying to browse an OPC server I created. It has no concept of “device” in my server. So are these functions designed to work with internal Ignition OPC servers only?
I tried doing this:
system.opc.browseSimple(serverName, None, “Objects/Machine”, “*”)
This locks up the UI like stated before. However this:
This returns a list of PyOPCTag objects.
The system.opc.browseSimple is supposed to return a list of OPCBrowseTag objects which seem to have more info.
Can I use system.opc.browseSimple and system.opc.browse for generic opc servers?