LabVIEW Embedded Development Module Target Distribution Guide Manual

LabVIEW Embedded Development Module Target Distribution Guide Manual
Pages 35
Views 303
Downloads : 3 times
PDF Size : 290.7 KiB

Summary of Contents

LabVIEW Embedded Development Module Target Distribution Guide Manual

  • Chapter 4Creating Examples for Your Target 1,Target Distribution 1,Guide4-2ni.comFile»VI Properties and select Documentation from the Category pull-down menu. Enter the description in the Documentation text box. National Instruments recommends making the example descriptions similar in construction. For example, you might use the following phrase at the beginning of each example description: This example shows how to….Front Panel Design•Try to fit the user interface on one screen. Ideally, front panel windows are less than 800 × 600 unless truly necessary. If you must make the front panel window larger, the example still must be usable on an 800× 600 monitor.•Open the example in the top-left corner of the screen. Save the example so the Project Explorer window, the front panel window, and the block diagram window cascade from the top-left corner with the titlebars visible.•Use fonts and colors consistently, and use colors sparingly. Use the application font to achieve the best portability.•Save the VI with appropriate default values in the controls. The VI must run with default values. Also, specify a data range, if possible.•Use the most recent controls. Do not use the Classic controls on the Controls palette.•Save examples without data in graphs or charts. Right-click the graph or chart and select Data Operations»Clear Graph to remove data from the indicator.Block Diagram Design•Avoid unnecessary coercion of data types.•Avoid placing any wires under block diagram objects such as subVIs or structures.•Avoid unnecessary bends in the wires and try to keep the wires short. End users might find wires with long, complicated paths confusing.•Create block diagrams that follow a left-to-right programming style. If the example is larger than the block diagram and you cannot avoid scrolling, scrolling left to right is preferable over scrolling top to bottom.•Place comments throughout the code. You can double-click anywhere on the block diagram to create a comment string. In the comments, explain what is happening in the application and why.