NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

Timing.SampleClockTimebaseDivisor Property

  • Updated2023-02-21
  • 1 minute(s) read
Timing.SampleClockTimebaseDivisor Property
Specifies the number of Sample Clock Timebase pulses needed to produce a single Sample Clock pulse.

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

Syntax

public long SampleClockTimebaseDivisor { get; set; }
Public Property SampleClockTimebaseDivisor As Long
	Get
	Set

Property Value

Type: Int64
Specifies the number of Sample Clock Timebase pulses needed to produce a single Sample Clock pulse.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

The rate of the Sample Clock is equal to (frequency of Sample Clock Timebase) / (value of this property).

If the Sample Clock Timebase is not a periodic clock, the value of this property determines the number of Sample Clock Timebase edges that the device must receive before producing each Sample Clock pulse. Use SampleClockTimebaseActiveEdge to specify the polarity of these edges.

Setting this property has a similar effect to setting SampleClockRate. Use SampleClockRate when you know the rate of the Sample Clock Timebase and you want to acquire or generate samples at the specified rate. Use this property when you have an external timebase that you want to divide down and use as the Sample Clock, but you do not know rate of the external timebase.

See Also

Log in to get a better experience