NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

IsConfigurationChannel Property

  • Updated2023-02-21
  • 3 minute(s) read
IsConfigurationChannel Property
Gets or sets a value that specifies whether to reserve the channel for creating an internal path. A channel that is available for creating the internal path is called a configuration channel. The driver may use configuration channels to create paths between two channels which you specify in the SwitchPath.Connect method. Configuration channels are not available for external connections. Set this attribute to trueTruetruetrue (True in Visual Basic) to mark the channel as a configuration channel. Set this attribute to falseFalsefalsefalse (False in Visual Basic) to mark the channel as available for external connections. After you identify a channel as a configuration channel, you cannot use that channel for external connections. The SwitchPath.Connect method returns the exception when you attempt to establish a connection between a configuration channel and any other channel.

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 IsConfigurationChannel As Boolean
C#
public bool IsConfigurationChannel { get; set; }

Property Value

Type: System..::.Boolean
trueTruetruetrue (True in Visual Basic) if the channel is marked for creating an internal path; otherwise, falseFalsefalsefalse (False in Visual Basic) .

Exceptions

ExceptionCondition
ObjectDisposedException The IsConfigurationChannel was accessed after the associated NISwitch.NISwitch object was disposed.

See Also

Log in to get a better experience