Beruflich Dokumente
Kultur Dokumente
Mahendra Dhadwe
Agenda
OVERVIEW
FRONT PANEL
BLOCK DIAGRAM
ICON AND CONNECTOR PANE
MEMORY OPTIMIZATION
ARCHITECTURE
ERROR HANDLING
DOCUMENTATION
OVERVIEW
SOFTWARE ENGINEERING
PROCESS
FRONT PANEL
SUBVI
PANEL
LAYOUT
Use default appearance for most object and text
Avoid using many colors, fonts
BLOCK DIAGRAM
ICON AND
CONNECTOR PANE
Connector Pane
Control assign to left terminal , indicators assign to right
Refnum/task ID assigned to top left and right terminals
Error cluster assigned to bottom left and right terminals
Default value in parenthesis in owned label
Priority used where appropriate
Memory and
Optimization
ARCHITECTURE
ARCHITECTURE
Modularize with subVIs but dont over modularize
Use state machine for top level VIs as it is easy to
documents, modify, debug and maintain
Use enumerated or string for case selector
Poll user interface events in No Events, Default
frame or in parallel event structure loop
Consider using event driven state machine if
applicable
Consider use queue for passing data between
parallel loops
Maintain separate text file for embedded
applications to facilitate change in program
parameters like timing, IP address or default state
of channels if applicable and train appropriate to
use them if need arise
Clusters
ERROR HANDLING
Error Handling
All Vis must trap and report any I/O-related errors
that might occur
Trapping is facilitated by propagation of error cluster
I/O functions include DAQ, file I/O, instrument I/O,
communication
Reporting methods include dialog prompt or log to file
Error Handling
DOCUMENTATION
DOCUMENTATION
Use LabVIEW custom printing option to create a
function reference manual an maintain this
documents along with project folder for future
reference and upgrades
Include specification and/ or basic operating
instruction to complete documentation
PROJECTS
SVN(Subversion) Repository is used
as backup tool for the projects
A SVN repository should be created
before starting any work on a project
A project from SVN Repository has
the following directory structure
Thank You