Saturday, May 14, 2005

LabVIEW trivialness -4

1. A coercion dot indicates that LabVIEW coerced the numeric representation to match the numeric representation of another number. The functions coerce the smaller representations to the widest representation before execution, and LabVIEW places a coercion dot on the terminal where the conversion takes place.
2. Error cluster contains the following information:
Boolean to report whether error occurred, reports True if an error occurred.
Integerto report a specific error code. A non-zero error code coupled with a status of False signals a warning rather than a fatal error.
Stringto give information about the error
3. Do not wire through structures if the data in the wire is not used in the structure. Link
4. Avoiding coercion dots can reduce unnecessary memory usage and speed. Coercion dots indicate that LabVIEW converted the value wired to the node to a different representation, which means that LabVIEW made a copy of the data. The effects of coercion dots become more dramatic when you have large arrays of data of inconsistent data types.
5. SubVI Advantages:
– Modular
– Easier to debug
– Don’t have to recreate code
– Require less memory
6. Cluster: Bundling several data elements into clusters eliminates wire clutter on the block diagram and reduces the number of connector pane terminals that subVIs need
7. For loop: 'enable indexing' is default
While loop: 'disable indexing' is default
8. Express VIs, VIs, and functions' color on the block diagram: By default, icons for Express VIs appear on the block diagram as expandable nodes with icons surrounded by a blue field. Icons for VIs have white backgrounds, and icons for functions have pale yellow backgrounds. By default, subVIs appear as icons on the block diagram, and Express VIs appear as expandable nodes.
9. Convert a section of a VI into a subVI by using the Positioning tool to select the section of the block diagram you want to reuse and selecting Edit>>Create SubVI
10. While Loop always executes at least once.
11. Use the Feedback Node to avoid unnecessarily long wires

No comments:

Post a Comment