NI-SCOPE .NET Class Library Help

Table of Contents

ScopeChannelMeasurement.FetchScalarMeasurement Method

  • Updated2023-09-06
  • 1 minute(s) read
ScopeChannelMeasurement.FetchScalarMeasurement Method

ScopeChannelMeasurementFetchScalarMeasurement Method

Fetches a waveform from the digitizer and performs the specified waveform measurement. Refer to Using Fetch Functions for more information.

Namespace:  NationalInstruments.ModularInstruments.NIScope
Assembly:  NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023

Syntax

public double[] FetchScalarMeasurement(
	PrecisionTimeSpan timeout,
	ScopeScalarMeasurementType scalarMeasurementType
)
Public Function FetchScalarMeasurement ( 
	timeout As PrecisionTimeSpan,
	scalarMeasurementType As ScopeScalarMeasurementType
) As Double()

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.

Return Value

Type: Double
An array of all measurements acquired.

See Also

Log in to get a better experience