niSwitch_DisconnectAll

NI-SWITCH Functions

niSwitch_DisconnectAll

IviSwtchBase Capability Group

C Function Prototype

ViStatus niSwitch_DisconnectAll (ViSession vi);

Purpose

Breaks all existing paths.

If the switch module cannot break all paths, the NISWITCH_WARN_PATH_REMAINS warning is returned.

Parameters

Name Type Description
vi ViSession A particular NI-SWITCH session established with niSwitch_InitWithTopology, niSwitch_InitWithOptions, or niSwitch_init and used for all subsequent NI-SWITCH calls.