NI-DAQmx .NET Framework 4.5 API Reference

CIChannel.Prescaler Property

  • 已更新2023-02-21
  • 閱讀時間為 1 分鐘
CIChannel.Prescaler Property
Specifies the divisor to apply to the signal you connect to the counter source terminal. Scaled data that you read takes this setting into account. You should use a prescaler only when you connect an external signal to the counter source terminal and when that signal has a higher frequency than the fastest onboard timebase. Setting this value disables duplicate count prevention unless you explicitly set DuplicateCountPrevention to .

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

Syntax

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

Property Value

Type: Int64
Specifies the divisor to apply to the signal you connect to the counter source terminal. Scaled data that you read takes this setting into account. You should use a prescaler only when you connect an external signal to the counter source terminal and when that signal has a higher frequency than the fastest onboard timebase. Setting this value disables duplicate count prevention unless you explicitly set DuplicateCountPrevention to .

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also