If your vi is repeatedly called by another vi, it's recommended to Open the Visa session at the beginning of the top level vi and Close it at the end.
Anyway, if you don't like this, you may remove the Close function; in this case, it is recommended that you enable automatic closing of Visa sessions in the LabView Options (Miscellaneous).
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021