NI-DAQmx .NET Framework 4.5 API Reference

Task.OnSampleClock Method

  • 更新时间2023-02-21
  • 阅读时长1分钟
Task.OnSampleClock Method
Raises the SampleClock event.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.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