DAQDigitalOutput Constructor (String, Boolean, UInt32, UInt32)
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Initializes a new instance of DAQDigitalOutput with the specified name 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, _ InitialValue As Boolean, _ DigitalLine As UInteger, _ PortNumber As UInteger _ ) |
| C# |
|---|
public DAQDigitalOutput( string Name, bool InitialValue, uint DigitalLine, uint PortNumber ) |
| Visual C++ |
|---|
public: DAQDigitalOutput( String^ Name, bool InitialValue, unsigned int DigitalLine, unsigned int PortNumber ) |
Parameters
- Name
- Type: System.String
The name of the channel.
- InitialValue
- Type: System.Boolean
The initial value of the channel.
- DigitalLine
- Type: System.UInt32
The digital line for the channel.
- PortNumber
- Type: System.UInt32
The port to which the channel belongs.