Detect and measure all DCPower channels that are configured to measure OnDemand with a single Measure driver call to reduce test time. We will rely on driver to decide how to deal with multiple channels across instruments and models.
Keep the logic untouched for OnMeasureTrigger and AutomaticallyAfterSourceComplete cases since for these cases, Fetch can only happen on single channel.
Why should this Pull Request be merged?
The change improves performance.
What testing has been done?
Auto tests added to make sure all channels are handled.
Manually tested with @Mattjet27 's benchmark program to make sure test time is on-par with low level implementation and customer implementation.
What does this Pull Request accomplish?
Detect and measure all DCPower channels that are configured to measure
OnDemand
with a singleMeasure
driver call to reduce test time. We will rely on driver to decide how to deal with multiple channels across instruments and models.Keep the logic untouched for
OnMeasureTrigger
andAutomaticallyAfterSourceComplete
cases since for these cases,Fetch
can only happen on single channel.Why should this Pull Request be merged?
The change improves performance.
What testing has been done?