This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
labview_embedded_programming_style_guide [2011/04/18 11:08] – ab | labview_embedded_programming_style_guide [2011/04/18 11:12] – ab | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== general design approach ===== | ===== general design approach ===== | ||
* Only do small development steps at a time! | * Only do small development steps at a time! | ||
- | * Remember, while working in FDM mode the code is executed on the PC and not on the target. Timing is different and VIs might execute different. | + | \\ Remember, while working in FDM mode the code is executed on the PC and not on the target. Timing is different and VIs might execute different. |
* For this reason its absolutely crucial that only small pieces of code are developed in FDM mode, then compiled and tested in real time on the target | * For this reason its absolutely crucial that only small pieces of code are developed in FDM mode, then compiled and tested in real time on the target | ||
- | * DO NOT use the LabVIEW "deploy" or "run" | + | * DO NOT use the LabVIEW "run" or "deploy" to execute your program on the target. |
===== application programming ===== | ===== application programming ===== | ||
- | * Use a single loop approach | + | * Use a single loop approach |
* Do NOT use timed loops, use while loops instead | * Do NOT use timed loops, use while loops instead | ||
* Do NOT use local variables | * Do NOT use local variables |