Skip to content

Subscription no longer raising publish event for monitored node without State being updated. #287

@jasonfarner

Description

@jasonfarner

Hello, we have implemented a subscription based on the example below. However we have noticed after some time, the nodes being monitored stop triggering the update event. Our PublishingInterval is 200ms and our KeepAliveCount is 10. The other issue is that when this happens the State of the underlying session does not seem to be getting updated as the PropertyChanged is not firing.

Example:
[Subscription(endpointUrl: SubscriptionConfig.PlcEndpoint,
publishingInterval: SubscriptionConfig.PublishingInterval,
keepAliveCount: SubscriptionConfig.KeepAliveCount)]
public class GroundPlatformModel : PlcBaseModel
{
[MonitoredItem(nodeId: MlcNodePaths.PlatformHeading)]
public double? PlatformHeading
{
get { return platformHeading; }
private set { SetProperty(ref platformHeading, value); }
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions