Below shows a way to get all the initialized session and close them to prevent multiple session remain unregistered. Please refer to attached VI for further reference. The code should be placed before the Initialization to make sure all the sessions are closed before a new initialization is called.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.