Using the Cloud Event Recipient

In this procedure you configure the component to receive event data from Niagara as it is generated and send it to the cloud platform.
Prerequisites: A configured NiagaraCloudNetwork object must exist in the station for the CloudEventRecipient to function properly. Additionally, the CloudConnector must be properly configured in the station's Services folder.
  1. If your station does not have an EventService, open the event palette and add an EventService to your Services folder.
  2. Navigate to the station Services > EventService, and open the Wire Sheet view.
  3. From the nCloudDriver palette, add the CloudEventRecipient component to the EventService Wire Sheet.
    Image
  4. Open a Property Sheet view of the component, and configure the Device property with the CloudSentienceDevice located under the NiagaraCloudNetwork.
    Image
  5. In the EventService Wire Sheet, click to link the Event slot of the DefaultSource component to the Process slot of the CloudEventRecipient.
    This ensures that events are routed to the CloudEventRecipient appropriately.
Optionally, you can add an Alarm Recipient component from the event palette to the Wire Sheet and link the Event slot of the DefaultSource component to the Process slot of the Alarm Recipient to route events to the alarm database. This gives you a record of the event even after the event data are sent to the cloud.
Image