DJDDA
2008-08-11 20:40:06 UTC
I have several sub VI's using VISA in my latest build. By default they all use the same VISA session, but the user has the option to switch one or more sub VI's to a different device (different VISA session). In my "Panel Close" event, I currently have it wired such that each sub VI's VISA session is closed separately. It occurred to me that this may cause problems in the (normal) case that one or more sub VI's is using the same session; however, my main VI is somewhat of a mess, and it will be a couple days before I can actually test this.Will it cause errors, program crashing, etc. for me to give a Close command on a VISA session that isn't open any more?