IsSourceChannel Property
- Updated2023-02-21
- 2 minute(s) read
Gets or sets a value that specifies whether you want to identify the channel as a source channel. Typically, you set this attribute to trueTruetruetrue (True in Visual Basic) 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. The SwitchPath.Connect function returns the when you attempt to connect two channels that you identify as source channels.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public Property IsSourceChannel As Boolean |
C# |
---|
public bool IsSourceChannel { get; set; } |
Property Value
Type: System..::.Boolean trueTruetruetrue (True in Visual Basic) if the channel is a source channel; otherwise, falseFalsefalsefalse (False in Visual Basic) .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The IsSourceChannel was accessed after the associated NISwitch.NISwitch object was disposed. |