IviSwtch_DisconnectAll

CVI/LabWindows IVI Class Driver

IviSwtch_DisconnectAll

IviSwtchBase Capability Group

C Function Prototype

ViStatus IviSwtch_DisconnectAll (ViSession vi);

Purpose

This function disconnects all paths created since IviSwtch_init or IviSwtch_reset have been called.

Note  If the switch module is not capable of disconnecting all paths, this function returns the warning IVISWTCH_WARN_PATH_REMAINS. For example, if a switch module has normally closed paths, calling this function returns this warning.

Parameter

Name Type Description
vi ViSession The instrument handle that you obtain from the IviSwtch_init or IviSwtch_InitWithOptions functions. The handle identifies a particular IVI session.

Return Values