NI-DAQmx .NET Framework 4.0 API Reference

Task.OnSampleComplete Method

  • Updated2023-02-21
  • 1 minute(s) read
Task.OnSampleComplete 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

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience