RobotStudio event

Bug: RW 7.15.2 OPC U/A Subscribe issue on embedded OPC server

Hello!
Im trying to setup OPC client with a subscription on OPC variables on a irb6730 Rw 7.15.2 directly to the OPC U/A server on the controller, hence not through IoT Gateway, and it keeps giving me null reference exception. 

It works to read and write the variables directly, but when I try to setup the subscription, I provide the variable paths for existing variables and a callback to handle when the variables has changed, I keep getting the following exception:

System.NullReferenceException  HResult=0x80004003  Message=Object reference not set to an instance of an object.  Source=Opc.UaFx.Advanced  StackTrace:   at Opc.Ua.Client.Session.ProcessPublishResponse(ResponseHeader responseHeader, UInt32 subscriptionId, UInt32Collection availableSequenceNumbers, Boolean moreNotifications, NotificationMessage notificationMessage)

When I do exactly the same thing through IoTGateway, I manage to subscribe without no issue and exception? 
I would really like to use the embedded server and not IoT gateway since this requires the standalone application to run on a computer.

I have tried this on RW 7.15.2 with irb6730 and also tried it with gofa (some earlier RW), same issues..

Comments