diff --git a/src/plugins/comps/CompsManager.js b/src/plugins/comps/CompsManager.js index 45695bb17d..ecac724933 100644 --- a/src/plugins/comps/CompsManager.js +++ b/src/plugins/comps/CompsManager.js @@ -62,7 +62,7 @@ export default class CompsManager extends EventEmitter { testValue: 0, timeMetaData, accumulateValues: false, - sampleSize: null + sampleSize: 10 }); this.emit('parameterAdded', this.#domainObject); } diff --git a/src/plugins/comps/components/CompsView.vue b/src/plugins/comps/components/CompsView.vue index 606bd13613..f34648a5dd 100644 --- a/src/plugins/comps/components/CompsView.vue +++ b/src/plugins/comps/components/CompsView.vue @@ -113,6 +113,9 @@ aria-label="Toggle Parameter Accumulation" > +
+ - accumulating values with sample size {{ parameter.sampleSize }} +
Sample Size { const telemetryOptions = { - size: 1, - strategy: 'latest' + strategy: 'minmax' }; outputTelemetryCollection = openmct.telemetry.requestCollection(domainObject, telemetryOptions); outputTelemetryCollection.on('add', telemetryProcessor);