Close

NI Digital Multimeters

Close

When your program finishes, terminate the session with niDMM Close.

niDMM Close 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. While debugging your application, you can abort execution before it reaches niDMM Close. While aborting execution should not cause problems, it is not recommended.