05-24-2007 02:27 AM
05-24-2007 07:12 AM
07-24-2007 10:06 AM
07-25-2007 12:32 AM
07-25-2007 02:51 AM
@mattyG wrote:
What is the difference between a single-process shared variable and a local variable?
A single process shared variable is more like a global variable, because it can be accessed from any VI in your hierarchy. Local variables are strictly local to the single VI where they reside.
Shared variables are a relatively new feature, while local and global variables are ancient. As such, shared variables are in many ways more modern and integrate better into state-of-the-art coding guidelines.
You can easily turn a single process shared variable into a network shared variable later in the development, without the need to rewrite any code.