RfpmSwitchChannelCollection Class
- Updated2023-12-28
- 2 minute(s) read
RfpmSwitchChannelCollection Class
Provides a collection of all the channels in the the NI-RFPM Switch driver. The RfpmSwitchChannel class represents each channel.
Inheritance Hierarchy
SystemObject
NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchSubObject
NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchChannelCollection
NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchSubObject
NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchChannelCollection
Namespace: NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly: NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023
Syntax
public sealed class RfpmSwitchChannelCollection : RfpmSwitchSubObject, IEnumerable<RfpmSwitchChannel>, IEnumerable
Public NotInheritable Class RfpmSwitchChannelCollection Inherits RfpmSwitchSubObject Implements IEnumerable(Of RfpmSwitchChannel), IEnumerable
The RfpmSwitchChannelCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Count | Gets the number of channels supported by the specified device.
|
![]() | ItemInt32 |
Gets the RfpmSwitchChannel object for the specified index.
|
![]() | ItemString |
Gets the RfpmSwitchChannel object for the specified channel name.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
This class cannot be instantiated directly. It is instantiated when the NIRfpmSwitch session object is created. Access this class using Channels.
For more information, refer to the NI-SWITCH Function Reference.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.