COChannel.Prescaler Property
- Updated2023-02-21
- 1 minute(s) read
COChannelPrescaler Property
Specifies the divisor to apply to the signal you connect to the counter source terminal. Pulse generations defined by frequency or time take this setting into account, but pulse generations defined by ticks do not. 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.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public long Prescaler { get; set; }
Public Property Prescaler As Long Get Set
Property Value
Type: Int64Specifies the divisor to apply to the signal you connect to the counter source terminal. Pulse generations defined by frequency or time take this setting into account, but pulse generations defined by ticks do not. 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.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |