NI-RFPM API Reference

Table of Contents

RfpmUtilityForSwitch.DisconnectAll Method

  • Updated2023-12-28
  • 1 minute(s) read
RfpmUtilityForSwitch.DisconnectAll Method

RfpmUtilityForSwitchDisconnectAll Method

Disconnects all existing paths.
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

ExceptionCondition
ObjectDisposedExceptionDisconnectAll(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.

See Also

Log in to get a better experience