DAQFrequencyMeasurement Constructor
- Mise à jour2023-02-21
- Temps de lecture : 2 minute(s)
Initializes a new instance of DAQFrequencyMeasurement with the specified name, description, and configuration.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ Name As String, _ Description As String, _ Index As UInteger, _ DefaultValue As Double, _ Maximum As Double, _ Minimum As Double, _ Edge As DAQCounterEdge _ ) |
| C# |
|---|
public DAQFrequencyMeasurement( string Name, string Description, uint Index, double DefaultValue, double Maximum, double Minimum, DAQCounterEdge Edge ) |
| Visual C++ |
|---|
public: DAQFrequencyMeasurement( String^ Name, String^ Description, unsigned int Index, double DefaultValue, double Maximum, double Minimum, DAQCounterEdge Edge ) |
Parameters
- Name
- Type: System.String
The name of the channel.
- Description
- Type: System.String
The description of the channel.
- Index
- Type: System.UInt32
The index value of the channel. A value of 1 represents CTR1. 2 represents CTR2, and so on.
- DefaultValue
- Type: System.Double
The initial value of the channel.
- Maximum
- Type: System.Double
The maximum value of the channel.
- Minimum
- Type: System.Double
The minimum value of the channel.
- Edge
- Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterEdge
The edge on which to count (rising or falling).