Switch.SetTopologyAndReset Method
- Updated2023-02-21
- 1 minute(s) read
Resets a switch device and sets its topology.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public void SetTopologyAndReset( string newTopology )
Public Sub SetTopologyAndReset ( newTopology As String )
Parameters
- newTopology
- Type: SystemString
The switch topology to use on the device.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |
Remarks
This method differs from Reset because it uses the value of newTopology rather than the topology specified in Measurement Automation Explorer (MAX). However, this method maintains the channel usage defaults that you configure in MAX.