HI all,
I would like to ge the opc item path same like in OPC tag browser has a column OPC Item Path.
I have tried following script in script console
import system.tag
server = "Ignition OPC-UA Server"
folderPath1 = "*Tags Ignition OPC UA/AAT/DB950 DB951/AAT Prägung SPS*"
OpcObjects = system.opc.browse(opcServer=server,folderPath=folderPath1)
for address in OpcObjects:
print address.getOpcItemPath()
it returns me following output.
ns=2;s=[default]Tags Ignition OPC UA/AAT/DB950 DB951/AAT Prägung SPS
ns=2;s=[default]Tags Ignition OPC UA/AAT/DB950 DB951/AAT Prägung SPS/Farbcode
What i would like to have is for those tags the opc item path same as tag browser.
[AAT SPS]DB918,STRING38.4
[AAT SPS]DB918,STRING18.8
How i can get all the address in OPC UA server as above.
any help is greatly appreciated.
Regads,
tar