The Composite node allows you to combine more than one input source into a single data structure. Fields of input sources can be included multiple times into the composite schema so long as they are uniquely named each time. In addition to using multiple HistorySource nodes you can include a single incoming schema element multiple times in the Composite node.
Compositing data into larger structures allows for comparing data in tandem, as well as performing operations over multiple data sets to create new information.
An example of this would be creating a composite of two history sources and using the aggregate node to determine the Max value between the two value fields for each data row. You can use the composite editor to configure the composite schema. Do this by adding fields to the composite schema and then setting the values as fields from one of the source schemas.
When you click the button
, an empty text field and option list display in the editor. To complete the addition of a field, first type a unique name
in the text field for the schema field and then select an input field from the drop down list. Each field in the option list
is a field from one of the incoming schemas.
The Composite Editor includes an button
in the top right corner of the editor. Clicking this button will populate the composite schema with fields from each incoming
schema, automatically supplying unique field names.
Copyright © 2000-2016 Tridium Inc. All rights reserved.