Top | Previous | Next |
system.opc.browseServer |
Description Returns a list of PyOPCTag objects for the given server. The PyOPCTag has the following methods to retrieve information:
Syntax system.opc.browseServer(opcServer, nodeId) Parameters String opcServer - The name of the OPC server connection. String nodeId - The node ID to browse. Returns List - A list of PyOPCTag objects. Scope All Examples # Print the name of all devices on Ignition OPC-UA opcServer="Ignition OPC-UA Server" nodeId = "Devices" devices = system.opc.browseServer(opcServer, nodeId) for device in devices: print device.getDisplayName()
|