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:13] – ab | labview_embedded_programming_style_guide [2011/04/21 13:24] – ab | ||
---|---|---|---|
Line 5: | Line 5: | ||
* 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. | * 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. | ||
* 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 " | + | * DO NOT use the LabVIEW " |
===== application programming ===== | ===== application programming ===== | ||
- | * Use a single loop approach wherever possible. \\ Parallel loops are only suitable | + | * Use a single loop approach wherever possible. \\ Parallel loops are suitable |
* 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 |