LabVIEW Embedded Development Module Target Distribution Guide Manual

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

Summary of Contents

LabVIEW Embedded Development Module Target Distribution Guide Manual

  • © National Instruments Corporation4-1 1,Target Distribution 1, Guide4Creating Examples for Your TargetLabVIEW users often rely on examples to get started with an application because they can start with something that works on the target and gradually modify and test the example to learn and further their understanding.National Instruments recommends that you create at least one example for each feature and peripheral for your target. Make the examples relatively simple, well documented, and well commented so end users can learn from the examples. Focus an example on a single feature. Create separate additional examples that combine features to illustrate interfaces and communication.Example Style GuidelinesThe following guidelines can help you create consistent, easy-to-use examples:General Example Construction•Name VIs, controls, and terminals with descriptive names. Example VIs that ship with LabVIEW have titles that describe the concept or feature that the example demonstrates. LabVIEW examples do not include the word example in the title.•Do not overuse local and global variables because they can hide data dependency among VIs and might introduce race conditions.•Mark the appropriate VI as top-level.•Make sure the VI is not set to run when opened so the end user can explore the front panel and block diagram before running the VI.•Use an appropriate icon. Do not use the default LabVIEW icon, a blank icon, an icon from a VI in vi.lib, or a text-only icon.•Document the example. In addition to code comments, create a description of the example that explains what the example does. Select