NI-SCOPE .NET Class Library Help

ScopeChannelMeasurement.BeginReadScalarMeasurement Method

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

ScopeChannelMeasurementBeginReadScalarMeasurement Method

Asynchronously initiates an acquisition, waits for it to complete, and performs the specified waveform measurement for a single channel and record or for multiple channels and records. 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 IAsyncResult BeginReadScalarMeasurement(
	PrecisionTimeSpan timeout,
	ScopeScalarMeasurementType scalarMeasurementType,
	AsyncCallback callback,
	Object asyncState
)
Public Function BeginReadScalarMeasurement ( 
	timeout As PrecisionTimeSpan,
	scalarMeasurementType As ScopeScalarMeasurementType,
	callback As AsyncCallback,
	asyncState As Object
) As IAsyncResult

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 perform.
callback
Type: SystemAsyncCallback
A delegate of type AsyncCallback, which will be invoked once the operation is complete.
asyncState
Type: SystemObject
The state of the asynchronous operation.

Return Value

Type: IAsyncResult
An IAsyncResult that represents the pending asynchronous read.

See Also

Log in to get a better experience