NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

DaqSystem.LoadSwitchChannel Method

DaqSystem.LoadSwitchChannel Method

DaqSystemLoadSwitchChannel Method

Note: This API is now obsolete.

Creates a SwitchChannel that you can use to get the switch channel capabilities and set the usage type for the switch channel.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

[ObsoleteAttribute("This method is obsolete.")]
public SwitchChannel LoadSwitchChannel(
	string switchChannelName
)
<ObsoleteAttribute("This method is obsolete.")>
Public Function LoadSwitchChannel ( 
	switchChannelName As String
) As SwitchChannel

Parameters

switchChannelName
Type: SystemString
The name of the switch channel.

Return Value

Type: SwitchChannel
A SwitchChannel that represents the switch channel.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Was this information helpful?