NI-DAQmx .NET Framework 4.0 API Reference

Task.OnSampleClock Method

  • Updated2023-02-21
  • 1 minute(s) read
Task.OnSampleClock Method
Raises the SampleClock event.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

protected virtual void OnSampleClock(
	SampleClockEventArgs e
)
Protected Overridable Sub OnSampleClock ( 
	e As SampleClockEventArgs
)

Parameters

e
Type: NationalInstruments.DAQmxSampleClockEventArgs
A SampleClockEventArgs that contains the event data.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience