DIChannel Class

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

Members See Also


Encapsulates one or more digital input channels and the properties for a digital input channel.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Class DIChannel _
	Inherits Channel _
	Implements IFilteredTypeDescriptor

C#
public class DIChannel : Channel, IFilteredTypeDescriptor

Remarks

Use the DIChannels property to create or access a digital input channel. A DIChannel might contain more than one virtual channel because the DIChannel is defined by providing a valid NI-DAQmx channel string to the DIChannels indexer or to a DIChannelCollection create channel method. If you set a property on a DIChannel object that represents multiple channels, that property is set for all of the channels that the object represents.
Note:Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    NationalInstruments.DAQmx.Channel
      NationalInstruments.DAQmx.DIChannel

Thread Safety

All members of this type are safe for multithreaded operations.

See Also

Reference

DIChannel Members

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful