AOChannelCollection Class
- Updated2023-02-21
- 4 minute(s) read
Contains the collection of analog output channels for a Task.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxAOChannelCollection
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
| Name | Description | |
|---|---|---|
| All | Gets an AOChannel that operates on all of the channels in the task. | |
| Count | Gets the number of elements in the collection. | |
| ItemInt64 | Gets the AOChannel at the specified index. In Visual C#, this property is the indexer. | |
| ItemString | Gets the AOChannel with the specified virtual channel name. In Visual C#, this property is the indexer. |
Methods
| Name | Description | |
|---|---|---|
| CreateCurrentChannel(String, String, Double, Double, AOCurrentUnits) | Creates an AOChannel to generate current. This method adds one or more channels to the AOChannelCollection.
| |
| CreateCurrentChannel(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.
| |
| CreateFunctionGenerationChannel(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.
| |
| CreateFunctionGenerationChannel(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.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| CreateVoltageChannel(String, String, Double, Double, AOVoltageUnits) | Creates an AOChannel to generate voltage. This method adds one or more channels to the AOChannelCollection.
| |
| CreateVoltageChannel(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.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that you can use to iterate through the collection. | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | Returns a string representation of the object. (Overrides ObjectToString.) |
Remarks
| 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.