Visit the LabVIEW Wiki Application Design & Architecture Portal
![]() |
Dec 9 2003, 05:27 PM
Post
#1
|
|
![]() Very Active LAVA Host Posts: 124 Joined: 17-January 03 From: Southern California Member No.: 37 Using LabVIEW Since:1988 LV:8.0.1 ,. ,.
|
: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)
Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Dec 9 2003, 05:27 PM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
11 | Michael_Aivaliotis | 4241 | 22nd November 2007 - 06:50 PM Last post by: JoeLabview |
|||
![]() |
7 | Michael_Aivaliotis | 4525 | 11th August 2004 - 11:13 AM Last post by: Sarah83 |
|||
![]() |
0 | Michael_Aivaliotis | 4871 | 20th May 2003 - 09:10 PM Last post by: Michael_Aivaliotis |
|||
![]() |
1 | Michael_Aivaliotis | 2269 | 7th October 2004 - 02:01 PM Last post by: Norm Kirchner |
|||
![]() ![]() |
| Time is now: 12th October 2008 - 09:01 AM |