NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

DigitalMultiChannelWriter Class

DigitalMultiChannelWriter Class

DigitalMultiChannelWriter Class

Contains methods for writing samples to one or more digital output channels in a task.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxDigitalMultiChannelWriter

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

Syntax

public class DigitalMultiChannelWriter : MarshalByRefObject, 
	ISynchronizeCallbacks, ISupportSynchronizationContext
Public Class DigitalMultiChannelWriter
	Inherits MarshalByRefObject
	Implements ISynchronizeCallbacks, ISupportSynchronizationContext

The DigitalMultiChannelWriter type exposes the following members.

Constructors

  NameDescription
Public methodDigitalMultiChannelWriter
Creates a new instance of the DigitalMultiChannelWriter class to write to the specified DaqStream.
Top

Properties

  NameDescription
Public propertySynchronizeCallbacks
Specifies how events and callback delegates are invoked.
Top

Methods

  NameDescription
Public methodBeginWriteMultiSamplePort(Boolean, Byte, AsyncCallback, Object)
Begins an asynchronous write of one or more 8-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteMultiSamplePort(Boolean, Int16, AsyncCallback, Object)
Begins an asynchronous write of one or more 16-bit integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteMultiSamplePort(Boolean, Int32, AsyncCallback, Object)
Begins an asynchronous write of one or more 32-bit integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteMultiSamplePort(Boolean, UInt16, AsyncCallback, Object)
Begins an asynchronous write of one or more 16-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteMultiSamplePort(Boolean, UInt32, AsyncCallback, Object)
Begins an asynchronous write of one or more 32-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSampleMultiLine
Begins an asynchronous write of a Boolean sample to one or more DOChannel objects in a task. The channels can contain one or more digital lines.
Public methodBeginWriteSingleSamplePort(Boolean, Byte, AsyncCallback, Object)
Begins an asynchronous write of a single 8-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSamplePort(Boolean, Int16, AsyncCallback, Object)
Begins an asynchronous write of one or more 16-bit integer samples to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSamplePort(Boolean, Int32, AsyncCallback, Object)
Begins an asynchronous write of a single 32-bit integer sample to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSamplePort(Boolean, UInt16, AsyncCallback, Object)
Begins an asynchronous write of a single 16-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSamplePort(Boolean, UInt32, AsyncCallback, Object)
Begins an asynchronous write of a single 32-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodBeginWriteSingleSampleSingleLine
Begins an asynchronous write of a single Boolean sample to one or more DOChannel objects in a task.
Public methodBeginWriteWaveform
Begins an asynchronous write of one or more digital waveform samples to one or more DOChannel objects in a task.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEndWrite
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a string representation of the object.
(Overrides ObjectToString.)
Public methodWriteMultiSamplePort(Boolean, Byte)
Writes one or more 8-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodWriteMultiSamplePort(Boolean, Int16)
Writes one or more 16-bit integer samples to one or more DOChannel objects in a task.
Public methodWriteMultiSamplePort(Boolean, Int32)
Writes one or more 32-bit integer samples to one or more DOChannel objects in a task.
Public methodWriteMultiSamplePort(Boolean, UInt16)
Writes one or more 16-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodWriteMultiSamplePort(Boolean, UInt32)
Writes one or more 32-bit unsigned integer samples to one or more DOChannel objects in a task.
Public methodWriteSingleSampleMultiLine
Writes a Boolean sample to one or more DOChannel objects in a task. The channels can contain one or more digital lines.
Public methodWriteSingleSamplePort(Boolean, Byte)
Writes a single 8-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodWriteSingleSamplePort(Boolean, Int16)
Writes one or more 16-bit integer samples to one or more DOChannel objects in a task.
Public methodWriteSingleSamplePort(Boolean, Int32)
Writes a single 32-bit integer sample to one or more DOChannel objects in a task.
Public methodWriteSingleSamplePort(Boolean, UInt16)
Writes a single 16-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodWriteSingleSamplePort(Boolean, UInt32)
Writes a single 32-bit unsigned integer sample to one or more DOChannel objects in a task.
Public methodWriteSingleSampleSingleLine
Writes a single Boolean sample to one or more DOChannel objects in a task.
Public methodWriteWaveform
Writes one or more digital waveform samples to one or more DOChannel objects in a task.
Top

Remarks

Tip Tip
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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Was this information helpful?