NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalFrequencyCounter Class

  • Updated2023-11-24
  • 3 minute(s) read
DigitalFrequencyCounter Class

DigitalFrequencyCounter Class

Configures the measurement time and measures frequency on the specified pins.

Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public propertyIsHysteresisEnabled
Gets or sets a value indicating whether frequency counter measurement hysteresis should be enabled.
Public propertyMeasurementMode
Gets or sets the measurement mode for the frequency counter.
Public propertyMeasurementTime
Gets or sets the measurement time for the frequency measurement.
Top

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMeasureFrequency
Measures the frequency on the specified pins over the measurement time. All pins in the pin list should have the same measurement time.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

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.

See Also

Log in to get a better experience