Device.DOPorts Property
- Updated2023-02-21
- 1 minute(s) read
DeviceDOPorts Property
Indicates an array containing the names of the digital output ports available on the device.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public string[] DOPorts { get; }
Public ReadOnly Property DOPorts As String() Get
Property Value
Type: StringIndicates an array containing the names of the digital output ports available on the device.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |
Remarks
This property returns a copy of the actual array. Avoid calling this property within a for loop because it creates a copy for each iteration of the loop. Avoid using an indexer to set a member of the array because the indexer returns a copy of the object and has no effect on the actual object.