Required? No. Recommended? Yes.
It makes the code easier to understand in terms of what you intend. In other words, "I am just now starting to use this resource here", and "I am completely finished with this resource here".
For some resources, like Serial, it is more important to close the resource when you are done with it in LabVIEW, in case you want to use the resource in a different module or application. For example, you might want to do debugging in VISAIC or HyperTerminal. This is because only 1 application can use a given Serial resource at a time. But for other types of resources, the 1-app-only use scenario is not a restriction.
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instru
ments