Task.OnSampleComplete Method
- Updated2023-02-21
- 1 minute(s) read
TaskOnSampleComplete Method
Raises the SampleComplete event.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
protected virtual void OnSampleComplete( SampleCompleteEventArgs e )
Protected Overridable Sub OnSampleComplete ( e As SampleCompleteEventArgs )
Parameters
- e
- Type: NationalInstruments.DAQmxSampleCompleteEventArgs
A SampleCompleteEventArgs that contains the event data.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |