Sunday, May 15, 2005

LabVIEW trivialness -5

1. You can build arrays of numeric, Boolean, path, string, waveform, and cluster data types. You cannot create an array of arrays. However, you can create an array of , where each cluster contains one or more arrays. You can create an array constant on the block diagram.
2. You can use two For Loops, one inside the other, to create a 2-D array. The outer For Loop creates the row elements, and the inner For Loop creates the column elements
3. If you enable auto-indexing on an array wired to a For Loop input terminal, LabVIEW sets the count terminal to the array size so you do not need to wire the count terminal. If you enable auto-indexing for more than one tunnel or if you wire the count terminal, the count changes to the smaller of the two. If this case happens in While loop, the loop will keep running with '0' comes in.
4. Bundling several data elements into clusters eliminates wire clutter on the block diagram and reduces the number of connector pane terminals that subVIs need. you must unbundle all cluster elements at once rather than index one element at a time
5. Typically, functions use numeric error codes, and VIs use an error cluster, usually with error inputs and outputs.

No comments:

Post a Comment