Close

NI Switches Help

Edition Date: April 2015

Part Number: 375472H-01

»View Product Info
Download Help (Windows Only)

When your program finishes, terminate the session with the niSwitch Close VI or the niSwitch_close function.

The niSwitch Close VI or the niSwitch_close function is essential for freeing resources, including deallocating memory, destroying threads, and freeing operating system resources. Every session that you initialize must be closed, even if an error occurs during your program. Although NI does not recommend it, when debugging an application, you can abort execution before reaching the niSwitch Close VI or the niSwitch_close function.

WAS THIS ARTICLE HELPFUL?

Not Helpful