Visual Basic (Declaration) | |
---|---|
Public MustOverride Property Connection As AnalogChannelConnection |
C# | |
---|---|
public abstract AnalogChannelConnection Connection {get; set;} |
C++/CLI | |
---|---|
public: abstract property AnalogChannelConnection Connection { AnalogChannelConnection get(); void set ( AnalogChannelConnection value); } |
Property Value
The connection of the input channel. The default is Single Ended. Setting the value causes the value to be set on all channels. Getting the value returns the value from the first channel.The ValidValues<T>("Connection") method can be used to retrieve a list of valid connections for the current hardware. When the ValidValues method is used on this object it will return the valid values of Connection for the first channel.
For multi-channel hardware, Connection can be set independently for each channel or all channels can be set to the same value. To set the Connection for an individual channel, use the Connection property on the appropriate channel. Individual channel settings are available via the Channels collection. To set the Connection property for all channels, set this property and all the channels' Connection property will be set to the same value.
When queried, this property always returns the value for the first channel. For multi-channel hardware, the Connection for an individual channel can be retrieved via the Connection property on the appropriate channel. Individual channel settings are available via the Channels collection.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)