RfpmUtilityForSwitch.DisconnectAll Method
- Updated2023-12-28
- 1 minute(s) read
RfpmUtilityForSwitchDisconnectAll Method
Disconnects all existing paths.
This method does not support the mmWave subsystem.
This method does not support the mmWave subsystem.
Namespace: NationalInstruments.ModularInstruments.NIRfpm
Assembly: NationalInstruments.ModularInstruments.NIRfpm.Fx40 (in NationalInstruments.ModularInstruments.NIRfpm.Fx40.dll) Version: 2023
Syntax
public void DisconnectAll( TimeSpan maxTime )
Public Sub DisconnectAll ( maxTime As TimeSpan )
Parameters
- maxTime
- Type: SystemTimeSpan
The time to wait for the method to complete operation before throwing an exception.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | DisconnectAll(TimeSpan) was called after the associated NIRfpm or RfpmDriverUtility object was disposed. |
ArgumentException | Negative time was passed for maxTime. |
IviCDriverException | The underlying NI-RFPM driver returned an error. |