NI-SCOPE .NET Class Library Help

ScopeChannelMeasurement.EndFetchInt32 Method (IAsyncResult, ScopeWaveformInfo[])

  • Updated2023-09-06
  • 1 minute(s) read
ScopeChannelMeasurement.EndFetchInt32 Method (IAsyncResult, ScopeWaveformInfo[])

ScopeChannelMeasurementEndFetchInt32 Method (IAsyncResult, ScopeWaveformInfo)

Waits for a pending asynchronous fetch to complete.

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

Syntax

public AnalogWaveformCollection<int> EndFetchInt32(
	IAsyncResult asyncResult,
	out ScopeWaveformInfo[] waveformInfo
)
Public Function EndFetchInt32 ( 
	asyncResult As IAsyncResult,
	<OutAttribute> ByRef waveformInfo As ScopeWaveformInfo()
) As AnalogWaveformCollection(Of Integer)

Parameters

asyncResult
Type: SystemIAsyncResult
An IAsyncResult that represents the pending asynchronous fetch.
waveformInfo
Type: NationalInstruments.ModularInstruments.NIScopeScopeWaveformInfo
An array of ScopeWaveformInfo objects that contain timing and scaling information about each waveform.

Return Value

Type: AnalogWaveformCollectionInt32
An object of type AnalogWaveformCollectionTData. NI-SCOPE returns this data sequentially, so all record 0 waveforms are first. For example, with a channel list of 0,1, you would have the following index values: index 0 = record 0, channel 0 index x = record 0, channel 1 index 2x = record 1, channel 0 index 3x = record 1, channel 1 Where x = the record length

See Also

Log in to get a better experience