From bbeb97e93c57ab1b24af666f1b07bceebe7db01e Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Wed, 21 Jun 2017 14:21:51 -0700 Subject: [PATCH] [Imagery] Use LAD query --- .../features/imagery/src/controllers/ImageryController.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/features/imagery/src/controllers/ImageryController.js b/platform/features/imagery/src/controllers/ImageryController.js index d9ea5c8478..7d0591e3d8 100644 --- a/platform/features/imagery/src/controllers/ImageryController.js +++ b/platform/features/imagery/src/controllers/ImageryController.js @@ -76,6 +76,14 @@ define( .getValueFormatter(metadata.valuesForHints(['image'])[0]); this.unsubscribe = this.openmct.telemetry .subscribe(this.domainObject, this.updateValues); + this.openmct.telemetry + .request(this.domainObject, { + strategy: 'latest', + size: 1 + }) + .then(function (values) { + this.updateValues(values[0]); + }.bind(this)); }.bind(this)); };