Add OPC UA Connection Authentication Changes

Ignition 8.3.3 seems to have changed the behavior for system.opcua.addConnection. The previous calls where ‘username” and “password" were supplied now results in Ignition attempting an anonymous connection to the OPC UA server. I see mention of OPC UA Authentication type changes in the 8.3.3 change notes, but no updates to the documentation for system.opcua.addConnection. Does this function still work with the authentication changes? Is there any updated documentation available for system.opcua.addConnection?

Hmm, that scripting function might need to get updated (and the docs) before this will work again. I'll open a ticket.

In the meantime you could use the OpenAPI endpoint instead. All of these old add or remove a connection or some other random thing scripting functions are destined for deprecation. Soon we'll have a scripting API for accessing the OpenAPI endpoints as well.

3 Likes