NI-DAQmx .NET Framework 4.5 API Reference

Task.DIChannels Property

  • 更新时间2023-02-21
  • 阅读时长1分钟
Task.DIChannels Property
Gets the collection of digital input channels in the task.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public DIChannelCollection DIChannels { get; }
Public ReadOnly Property DIChannels As DIChannelCollection
	Get

Property Value

Type: DIChannelCollection
A DIChannelCollection that contains the DIChannel objects in the task.

Remarks

Each task can contain only one type of channel. You must use the channels property that corresponds to the type of channels in the task to access the channels in the task.

See Also