I'm having an issue with the refnum that is created when one opens a
file. Say I have an event structure (I guess it may be applicable
to a properly configured case structure as well) and the behavior I
want is for when one button is pressed the VI opens a file and does
something, but I don't want the file to close until the user presses
another button which triggers a new event behavior to execute.
When the new button is pushed the VI should close the file previously
opened in the other event handler, but I can't find any way to pass the
refnum the original file open vi provided after it opened the
file. I'm not trying to pass it to another VI, so I don't think
I'd do it through a ctrl refnum (and I'm unclear how that works
anyway). Is what I'm trying to do possible? If so, does
anyone have any suggestions about how to go about doing it?