Connectivity Software User's Guide and Reference
PublishEdgeNodeMetric Method



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > IEasySparkplugConsumerExtension Class : PublishEdgeNodeMetric Method
Publishes a payload with a single metric for a Sparkplug edge node.

In Sparkplug terms, this method effectively sends the NCMD message to the edge node.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Overload List
OverloadDescription
Publishes a single metric for an edge node, specifying the edge node descriptor, metric name and metric data.  
Publishes a single metric for an edge node, specifying the host descriptor, edge node descriptor, metric name and metric data.  
Publishes a single metric for an edge node, specifying the host descriptor, group ID, edge node ID, metric name and metric data.  
Publishes a single metric for an edge node, specifying the group ID, edge node ID, metric name and metric data.  
Remarks

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also