Measurement Output
apama.analyticskit.blocks.cumulocity.CreateMeasurement
Creates a new Measurement object for the associated device or the triggering device.
This block sends a new measurement to Cumulocity IoT for the Value input port. If the Send input port is connected, this block only sends an output on receiving a send signal. The measurement is sent to the current device or the device specified.
This block produces synchronous output. The parameters that define the output stream of the block are "Device or Device Group", "Fragment Name" and "Series Name". Using another instance of this block with the same output stream is not allowed.
Non-finite values are ignored.
Parameters
Name | Description | Type | Notes |
Device or Trigger Device | The device (or for models handling groups, Trigger Device) to which the measurement is to be sent. The model editor uses the current device name. This is mapped internally to the device identifier. | any | |
Fragment Name | The name of the fragment in the measurement. | string | |
Series Name | The name of the series in the measurement. | string | |
Unit | The name of the unit of measurement (for example, "mm" or "lux"). | string | Optional |
Input Port Details
Name | Description | Type |
Value | The measurement to be sent. | float |
Send | Signals that a new measurement is to be created. If not connected, every new Value input creates a measurement. | pulse |