Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Publish VI

NI InsightCM™ SDK Help

Edition Date: July 2017

Part Number: 375191C-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Publisher VIs (Message Service)

Requires: NI InsightCM SDK

Publishes a message to the message bus.

publisher in calls on the IcmMessagePublisher.lvclass library.
header contains the following elements that define how to send the message:
Message Name is the name of the message you want NI InsightCM Server to handle.
Timestamp indicates the time at which the message sent.
CorrelationId specifies a unique identity used to identify the message across multiple data sources.
ContentType specifies a string that describes the content of the message.
RoutingKey is a dot-separated string that specifies how to route the message.
Properties is an array in which each element is a key-value pair that represents a property.
Key specifies the ID of the property field you want to define.
Value specifies the user-defined value that corresponds to the Key.
body is an array of numeric values that make up the contents of the message.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
publisher out returns a reference to the IcmMessagePublisher.lvclass library.
error out contains error information. This output provides standard error out functionality.


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit