SwitchChannel Properties
- Updated2023-02-21
- 3 minute(s) read
The SwitchChannel type exposes the following members.
Name | Description | |
---|---|---|
![]() | AnalogBusSharingEnable | Gets or sets a value that indicates whether an analog bus line is shared, so that multiple NI SwitchBlock devices may connect to it simultaneously. To enable multiple NI SwitchBlock devices to share an analog bus line, set this attribute to trueTruetruetrue (True in Visual Basic) for each device on the channel that corresponds with the shared analog bus line. The default value for all devices is falseFalsefalsefalse (False in Visual Basic), which disables sharing of the analog bus. |
![]() | Characteristics | Gets a NISwitch.SwitchCharacteristics object which defines the specific characteristics of a channel. |
![]() | IsConfigurationChannel | 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. |
![]() | IsSourceChannel | 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. |
![]() | Name | Gets the name of the channel as defined in the NI-SWITCH device. |