NI-DAQmx .NET Framework 4.5 API Reference

DaqSystem.LoadSwitchChannel Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.LoadSwitchChannel 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.45.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

Log in to get a better experience