hyslopc commented on issue #1896:
URL: https://github.com/apache/plc4x/issues/1896#issuecomment-2480676873

   Here is the example from the documentation (from 
https://plc4x.apache.org/plc4x/0.13.0-SNAPSHOT/users/getting-started/plc4j.html)
 which gives the wrong result with OPC UA when subscribing to multiple tags:
   ```
   for (String subscriptionName : response.getFieldNames()) {
       final PlcSubscriptionHandle subscriptionHandle = 
response.getSubscriptionHandle(subscriptionName);
       subscriptionHandle.register(plcSubscriptionEvent -> {
           for (String tagName : plcSubscriptionEvent.getTagNames()) {
               System.out.println(plcSubscriptionEvent.getPlcValue(tagName));
           }
       });
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to