08-25-2006 12:51 PM
The Write To Spreadsheet File VI and Read From Spreadsheet File VI are
polymorphic VIs. The Write to Spreadsheet File VI adapts to the value you
wire to the
format input. The Read From Spreadsheet File VI includes thefollowing instances: DBL, I64, and string.
08-25-2006 02:14 PM
Page 36 include the following text
"
Performance Optimized with Constants
LabVIEW uses constant folding to optimize the performance of VIs. With
constant folding, LabVIEW stores constant values when it compiles VIs
instead of calculating them at run time. For constants wired to structures,
LabVIEW calculates the output values of the structures when it compiles
VIs and stores the values so they are available at run time.
You can display constant folding hash marks on the block diagram by
selecting
Tools»Options, selecting Block Diagram from the Categorylist, and placing checkmarks in the
Show constant folding of wires andShow constant folding of structures
checkboxes. When you place acheckmark in the
Show constant folding of wires checkbox, gray hashmarks appear on the wires attached to constants that are constant folded.
When you place a checkmark in the
Show constant folding of structurescheckbox, gray hash marks appear inside structures that are wired to
constants. The hash marks might not appear in a VI until after you run or
save the VI.
LabVIEW 8.2 also folds computed constants you wire to Case structure
selector terminals and While Loop conditional terminals.
"
I'd like to see this one in action.
Ben
08-25-2006 05:16 PM - edited 08-25-2006 05:16 PM
Message Edited by altenbach on 08-25-2006 03:19 PM
08-26-2006 12:21 PM
08-30-2006 07:45 AM
12-12-2007 07:12 PM - edited 12-12-2007 07:12 PM
Shouldn't the last line be hashed? Isn't it a constant after all, if the numeric control is hashed, that is?
12-12-2007 07:48 PM
12-13-2007 06:53 AM
altenbach wrote:
In location B, the wire coming from the numeric is only a constant in the scope of the third FOR loop, so the output of the loop cannot be folded, because it depends of a control with variable value. However, during execution of the third FOR loop, it is a constant.