DigitalFrequencyCounter Class
- Updated2023-11-24
- 3 minute(s) read
DigitalFrequencyCounter Class
Configures the measurement time and measures frequency on the specified pins.
Inheritance Hierarchy
SystemObject
NationalInstruments.ModularInstruments.NIDigitalDigitalSubObject
NationalInstruments.ModularInstruments.NIDigitalDigitalFrequencyCounter
NationalInstruments.ModularInstruments.NIDigitalDigitalSubObject
NationalInstruments.ModularInstruments.NIDigitalDigitalFrequencyCounter
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public sealed class DigitalFrequencyCounter : DigitalSubObject
Public NotInheritable Class DigitalFrequencyCounter Inherits DigitalSubObject
The DigitalFrequencyCounter type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | IsHysteresisEnabled |
Gets or sets a value indicating whether frequency counter measurement hysteresis should be enabled.
|
![]() | MeasurementMode |
Gets or sets the measurement mode for the frequency counter.
|
![]() | MeasurementTime |
Gets or sets the measurement time for the frequency measurement.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MeasureFrequency |
Measures the frequency on the specified pins over the measurement time. All pins in the pin list should have the same measurement time.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
Use this class to set the frequency measurement time. You can also use this class to initiate frequency measurement.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.