First Time LabVIEW User Dont and Do

Are you a first time LabVIEW
 
Dont
Do not use one loop for your top level application requiring user interaction.
 
Do
Do Use a event/queue(producer / consumer) loops
====================================
 
Dont
Do not use infinity  controls input crossing your structure all over the place.
 
Do
Do Consider clustering related information , ex Test Configuration data , Logging Data, Testing Maintance Data, Report Data etc
Data flow Left to Right  Input on left , Output on right
=====================================
Dont
Do not Create all of you code in ONE vi  this will require infinite monitor to view your code.
Do not Use nested structure to infinity level.
 
Do
Do create Sub VI  to modularize your application.
========================================
Dont
Do not forget Error in and Error out
 
Do
Do  Connect you error chain and acutally handle the errors (ex error opening a file then why are you attemping to write or read from it-  handle the errors)
Also Error chain help with execution ( order in which Sub vi or vi are executed.) So stop using so many framed sequence when you should have continued the error chain.
==============================================
Dont
Dont think in just serial program with LabVIEW
 
Do
Think how a  parallel flow can improve your application.( This is a powerful feature of LabVIEW). Take care of the parallel flow of errors also.
==============================================
 
Dont
Do not just open a session to an instrument.
 
Do
Do Close session that are open at the ending of you application.
 
====================================================
 
LabVIEW is a registered trademark of National Instruments.
check out the National Instruments site for additional information(listed below).

About LV_TS_Test_Engineer_3000_VI

Automated Test Equipment Software
This entry was posted in Test Sector. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s