RfpmSwitchChannel.IsSourceChannel Property
- Updated2023-12-28
- 1 minute(s) read
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: Booleanif the channel is a source channel; otherwise, .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | IsSourceChannel 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.