|Download Help (Windows Only)|
ViStatus niSwitch_close (ViSession vi);
Terminates the NI-SWITCH session and all of its attributes and deallocates any memory resources the driver uses.
|Note You must unlock the session before calling niSwitch_close. After calling niSwitch_close, you cannot use the NI-SWITCH again until you call niSwitch_init or niSwitch_InitWithOptions.|
|vi||ViSession||A particular NI-SWITCH session established with niSwitch_InitWithTopology, niSwitch_InitWithOptions, or niSwitch_init and used for all subsequent NI-SWITCH calls.