DaqSystem.LoadSwitchChannel Method
- Updated2023-02-21
- 1 minute(s) read
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: SwitchChannelA SwitchChannel that represents the switch channel.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |