NISWITCH_ATTR_IS_SOURCE_CHANNEL

NI-SWITCH Functions

NISWITCH_ATTR_IS_SOURCE_CHANNEL

Specific Attribute

Data
type
Access Applies to Coercion High Level Functions
ViBoolean R/W N/A None None

Description

This channel-based attribute specifies whether you want to identify the channel as a source channel. Typically, you set this attribute to VI_TRUE 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 niSwitch_Connect function returns the NISWITCH_ERROR_ATTEMPT_TO_CONNECT_SOURCES when you attempt to connect two channels that you identify as source channels.

Defined Values:

VI_TRUE


VI_FALSE