You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been testing Opc Data Logger from softwaretoolbox and had a problem where I could log variables at most once a second. After closer inspection with Wireshark, I found out that when the client tried to change sampling interval of the subscription with ModifySubscriptionRequest, the server ignored it and kept using initialized SamplingInterval. It happend to be 1 second, which explains the clients behavior.
I found function that is responsible for handling ModifySubscriptionRequest inside subscription_service.py I modified the function as shown below which fixed the issue. The function has however a comment: Requested params are ignored, result = params set during create_subscription. Is it any reason for why modifying a subscription has been ignored?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been testing Opc Data Logger from softwaretoolbox and had a problem where I could log variables at most once a second. After closer inspection with Wireshark, I found out that when the client tried to change sampling interval of the subscription with
ModifySubscriptionRequest
, the server ignored it and kept using initializedSamplingInterval
. It happend to be 1 second, which explains the clients behavior.I found function that is responsible for handling
ModifySubscriptionRequest
inside subscription_service.py I modified the function as shown below which fixed the issue. The function has however a comment:Requested params are ignored, result = params set during create_subscription.
Is it any reason for why modifying a subscription has been ignored?Beta Was this translation helpful? Give feedback.
All reactions