Creating a bundle to use on another program is the best way for finding various result outputs from those records we are bundling. For example, bundling vav's to find the avg, min, max, sum and more.
With that said, there are two programs involved to make this work:
Bundle program - this runs on the equip(s) the user wants to bundle together. This program only includes the points/variables you wish to rollup and use in the result output program.
Result program - this runs on the equip(s) that will contain the logic for the result output. This program includes the bundle program and logical points to write the result outputs to.