Analytics Builder 10.16.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Output | Measurement Output
 
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 a device or device group 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
Params Fragment
If this parameter is set, then the incoming properties on the Properties input port are added to this fragment in the generated Measurement. If this is not set, the properties are copied to the top level of the Measurement params.
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
Time
Sets the timestamp of the measurement. If not connected, the current model time is used.
float
Properties
The properties to set on the measurement.
any