NI-RFPM API Reference

Table of Contents

RfpmSwitchChannelCollection Class

  • Updated2023-12-28
  • 2 minute(s) read
RfpmSwitchChannelCollection Class

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

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

  NameDescription
Public propertyCount
Gets the number of channels supported by the specified device.
Public propertyItemInt32
Gets the RfpmSwitchChannel object for the specified index.
Public propertyItemString
Gets the RfpmSwitchChannel object for the specified channel name.
Top

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

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.

See Also

Log in to get a better experience