Apama Analytics Builder for Cumulocity IoT 10.3.1 | Apama Analytics Builder for Cumulocity IoT Documentation | Using Apama Analytics Builder for Cumulocity IoT | Using the Model Editor | Working with blocks and wires | Replacing devices
 
Replacing devices
You can search the input and output blocks for the devices that are used in the current model and replace them with other devices that are currently registered in the Cumulocity IoT inventory (visualized in the Device Management application).
After you have replaced the devices, you need to verify that the measurements that are used by the input and output blocks of the current model still refer to the appropriate measurements. The Cumulocity IoT fragment and series are not changed by the replacement, which may or may not apply to the newly defined device.
* To replace devices
1. In the toolbar of the model editor, click . This toolbar button is only enabled when at least one device has been defined in the current model.
2. In the Current device drop-down list box of the resulting dialog box, select the device that you want to replace. All devices that are used in the model are available for selection.
3. In the Replace with drop-down list box, select the device that you want to use instead. All devices that are registered in the Cumulocity IoT inventory are available for selection.
4. If you want to replace further devices, click Add row. This is only shown if more than one device has been defined in the current model.
A new row is shown, containing additional Current device and Replace with drop-down list boxes, and you can now select one more device to be replaced. Any devices that you have previously selected for replacement are no longer offered for selection in the Current device drop-down list box.
Repeat this step until all required devices have been selected for replacement. You can add as much rows as there are devices in the current model.
5. If you want to remove a row (for example, when you no longer want to replace the selected device), click next to that row. This is only available if the dialog box currently shows more than one row.
6. Click Replace.

Copyright © 2018-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.