ScopeChannelMeasurement.EndFetchInt16 Method (IAsyncResult, ScopeWaveformInfo[])
- Updated2023-09-06
- 1 minute(s) read
ScopeChannelMeasurementEndFetchInt16 Method (IAsyncResult, ScopeWaveformInfo)
Waits for pending asynchronous fetch to complete and returns binary 16-bit waveforms. This method may return multiple waveforms
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 AnalogWaveformCollection<short> EndFetchInt16( IAsyncResult asyncResult, out ScopeWaveformInfo[] waveformInfo )
Public Function EndFetchInt16 ( asyncResult As IAsyncResult, <OutAttribute> ByRef waveformInfo As ScopeWaveformInfo() ) As AnalogWaveformCollection(Of Short)
Parameters
- asyncResult
- Type: SystemIAsyncResult
An IAsyncResult that represents the asynchronous fetch, which could still be pending. - waveformInfo
- Type: NationalInstruments.ModularInstruments.NIScopeScopeWaveformInfo
An array of ScopeWaveformInfo objects that contains timing and scaling information about each waveform.
Return Value
Type: AnalogWaveformCollectionInt16An array of type AnalogWaveformCollectionTData and the length of the array is the number of samples times the number of waveforms. 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