cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Subscription event firing twice simultaneously

AViñeta
9-Granite

Subscription event firing twice simultaneously

I am implementing some TOFF logic in my application.

I have a  Thing with a subscription listening to some state tags in an opc server. I have to calculate the final state based on this. S

ometimes two states change simultaneously firing the event twice at the same time which i do not want because it executes the change state logic twice  in parallel in different processors obtaining the same result twice and firing the subscripiton listening if the state has changed to fire twice simultaneously despite in practice having only one change.

Is it possible to force  the subscription to only execute in a single processor so that the second firing is after the first instead of simlutaneous?

1 ACCEPTED SOLUTION

Accepted Solutions

1 REPLY 1

Announcements