NI-RFPM API Reference

Table of Contents

RfpmSwitchChannel.IsSourceChannel Property

  • Updated2023-12-28
  • 1 minute(s) read
RfpmSwitchChannel.IsSourceChannel Property

RfpmSwitchChannelIsSourceChannel Property

Gets or sets a value indicating whether you want to identify the channel as a source channel.

Namespace:  NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly:  NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023

Syntax

public bool IsSourceChannel { get; set; }
Public Property IsSourceChannel As Boolean
	Get
	Set

Property Value

Type: Boolean
if the channel is a source channel; otherwise, .

Exceptions

ExceptionCondition
ObjectDisposedExceptionIsSourceChannel was accessed after the associated NIRfpmSwitch or RfpmSwitchDriverUtility object was disposed.
IviCDriverException The underlying NI-RFPM Switch driver returned an error.

Remarks

Typically, you set this attribute to when you attach the channel to a power supply, a function generator, or an active measurement point on the unit under test, and you do not want to connect the channel to another source. The driver prevents source channels from connecting to each other. Connect(String, String) returns an InvalidOperationException when you attempt to connect two channels that you identify as source channels.

See Also

Log in to get a better experience