LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet

> Related links

Visit the LabVIEW Wiki Application Design & Architecture Portal


 
Reply to this topic Start new topic
> So.Cal LAVA Topic:Large Code Architecture - Code reuse
JackHamilton
post Dec 9 2003, 05:27 PM
Post #1


Very Active
Group Icon
***

LAVA Host
Posts: 124
Joined: 17-January 03
From: Southern California
Member No.: 37
Using LabVIEW Since:1988
LV:8.0.1 ,. ,.
United States United Kingdom Nothing Selected


:idea: This topic of "Code Reuse" was presented at the Nov.2003 So.Cal LAVA Meeting by Jack Hamilton.

It discusses the concept of object oriented programming (OOP) techniques in LabVIEW to solve some common code situations. The example covers creating a "System Paths" VI (object) that outputs the required system, data and resource paths required in most coding projects.

Also discussed is the creation of an Error Handler VI (Object) that will display an error dialog and allow logging the error to disk - additionally the offending State that caused the error can be recorded with the State Machine Variable cluster cast to XML.

Although the error handler is a generic VI that can be dropped into any project. The System Paths VI would require customization for each projects specific needs. The demonstration is that you can implement a 'generic' architecture that requires little functional modifcations for reuse. Leading to faster development and more robust code.

Attached is a Power Point 2000 .ppt file and a Demo VI which includes the 2 VI's discussed. Source LLB's are included.
Attached File(s)
Attached File  Large_Code_Implementation.zip ( 521.53K ) Number of downloads: 397
 


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Dec 9 2003, 05:27 PM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post


Reply to this topicStart new topic

 




Time is now: 12th October 2008 - 09:01 AM