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.
- If your station does not have an EventService, open the event palette and add an EventService to your Services folder.
- Navigate to the station , and open the Wire Sheet view.
- From the nCloudDriver palette, add the CloudEventRecipient component to the EventService Wire Sheet.
- Open a Property Sheet view of the component, and configure the
Device property with the CloudSentienceDevice located under the NiagaraCloudNetwork.
- 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.