Labview local variables

    Local and global variables are used LabVIEW data transfer tool. LabVIEW programming is a programming data stream, which is to pass through the data connection. However, the need to access or in many cases the same at different locations at different VI VI in the same control object, then the connection between the control object can not be achieved. This time we need to use a local or global variables, you can read and write the same control in multiple places on the block diagram by a local or global variables.
    Local variables: variables can only be used in the same VI
    way to create a local variable in two ways:

(1) create a local variable objects directly front panel, right-click created

(2) by a function to create a local variable palette, in this programming - Get structure


Note: local variables read, write two properties, to be noted that when switching to a different application properties

characteristic local variables;

(1) the local variables can be used in the same VI, its lifetime and in which it is the module is closely related to VI, VI stops running, the local variables defined within this VI automatically disappear.

(2) must be attached to a local variable in a front panel object. A front panel objects can have multiple local variables, but a local variable corresponding to only one end.

(3) a local variable which is a copy of the data corresponding front panel objects, to take up some memory.


And found a small problem labview today, and today I inadvertently labview way dictionary open at the same time, find a small problem, is to create a local variable, move or delete local variables, the original control also occurred the same changes, it may be seen labview and some software conflict, or, as some people say the internet is "probably a relatively temporary program resources and other reasons," so this time some of the software should be turned off and then try ......

Local variables conflict with Kingsoft, Kingsoft opened when deleting local variables will lead to delete the original space together,

Guess you like

Origin www.cnblogs.com/BMYC/p/11291459.html