ScopeChannelMeasurement.FetchScalarMeasurementStatistics Method
- Updated2023-09-06
- 1 minute(s) read
ScopeChannelMeasurementFetchScalarMeasurementStatistics Method
Obtains a waveform measurement and returns the measurement value. This method may return multiple statistical results depending on the number of channels, the acquisition type, and the number of records you specify.
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public ScopeScalarMeasurementStatistics[] FetchScalarMeasurementStatistics( PrecisionTimeSpan timeout, ScopeScalarMeasurementType scalarMeasurementType )
Public Function FetchScalarMeasurementStatistics ( timeout As PrecisionTimeSpan, scalarMeasurementType As ScopeScalarMeasurementType ) As ScopeScalarMeasurementStatistics()
Parameters
- timeout
- Type: NationalInstrumentsPrecisionTimeSpan
The time to wait for data to be acquired. Using 0 for this parameter tells NI-SCOPE to fetch whatever is currently available. Using -1 for this parameter implies infinite timeout. - scalarMeasurementType
- Type: NationalInstruments.ModularInstruments.NIScopeScopeScalarMeasurementType
The type of the scalar measurement to be performed on each fetched waveform.
Return Value
Type: ScopeScalarMeasurementStatisticsAn array of type ScopeScalarMeasurementStatistics.