|
|||||||||||||
02-07-2006 04:59 PM
02-07-2006 05:07 PM
If possible, you always want to pass data to/from your front panel controls/indicators with wires. If this won't suffice (parallel loops, e.g.), then you will want to use locals. Try to avoid using the "Value" property unless you must write to your controls/indicators in a subVI. The "Value" property is very slow compared to locals due to threading issues associated with property nodes.
Hope this helps,
-D
02-07-2006 07:45 PM
02-08-2006 02:20 PM - edited 02-08-2006 02:20 PM
Hello all,
To take it one step further, the speed hit comes from the fact that these items
run in the UI thread along with all of your other user interface actions
(speed), and copies are always made of the data (performance AND speed)!
Check out the "LabVIEW
Performance and Memory Management"
tutorial -- while a little old its concepts are still dead on and it
does a great job of explaining the details of these issues.
If you need to pass data from/to parallel loops or sub-VIs consider
putting the
data in some sort of container (like a single element queue), and
passing the
container around.
Hope this adds just a little more insight!
Message Edited by Travis M. on 02-08-2006 02:21 PM
01-04-2012 12:43 AM
Really good Thread thanks
12-03-2012 04:22 AM
Hello travis could you please pour in some more information on Property node concept and whn can it be best used?? Thanks in advance.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page