NI-DAQmx .NET Framework 4.0 API Reference

AOChannelCollection Class

  • Updated2023-02-21
  • 4 minute(s) read
AOChannelCollection Class
Contains the collection of analog output channels for a Task.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxAOChannelCollection

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

Syntax

public class AOChannelCollection : MarshalByRefObject, 
	ICollection
Public Class AOChannelCollection
	Inherits MarshalByRefObject
	Implements ICollection

The AOChannelCollection type exposes the following members.

Properties

  NameDescription
Public propertyAll
Gets an AOChannel that operates on all of the channels in the task.
Public propertyCount
Gets the number of elements in the collection.
Public propertyItemInt64
Gets the AOChannel at the specified index. In Visual C#, this property is the indexer.
Public propertyItemString
Gets the AOChannel with the specified virtual channel name. In Visual C#, this property is the indexer.
Top

Methods

  NameDescription
Public methodCreateCurrentChannel(String, String, Double, Double, AOCurrentUnits)
Creates an AOChannel to generate current. This method adds one or more channels to the AOChannelCollection.
Public methodCreateCurrentChannel(String, String, Double, Double, String)
Creates an AOChannel with the specified custom scale to generate current. This method adds one or more channels to the AOChannelCollection.
Public methodCreateFunctionGenerationChannel(String, String, AOFunctionGenerationType, Double, Double)
Creates an AOChannel that continuously generates a waveform with the specificed waveform type, frequency, and amplitude. This method adds one or more channels to the AOChannelCollection.
Public methodCreateFunctionGenerationChannel(String, String, AOFunctionGenerationType, Double, Double, Double)
Creates an AOChannel that continuously generates a waveform with the specificed waveform type, frequency, amplitude, and offset. This method adds one or more channels to the AOChannelCollection.
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 methodCreateVoltageChannel(String, String, Double, Double, AOVoltageUnits)
Creates an AOChannel to generate voltage. This method adds one or more channels to the AOChannelCollection.
Public methodCreateVoltageChannel(String, String, Double, Double, String)
Creates an AOChannel with the specified custom scale to generate voltage. This method adds one or more channels to the AOChannelCollection.
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 methodGetEnumerator
Returns an enumerator that you can use to iterate through the collection.
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.)
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

Log in to get a better experience