LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Layered Architecture in LabVIEW

Hello Everyone,
 
I am developing an applictaion using LabVIEW 8.2.
Can we build a LAYERED Architecture in LabVIEW?
 
I have many Hardware devices which will be talking to my application.
Do have many device driver for the same.
 
But if this hardware changes i have to modify my whole code, which will not  be the case if i develop a Layered architecture , meaning changing any layer will not effect my Application.
 
I have read that LabVIEW is a STRUCTED programming Langauge.
Does LabVIEW Support Layered Architecture?
If yes then how can be this imlemented please let eme know.
 
Thanks a lot for your help in advance.
 
WIth regards
Avni.
 
 
0 Kudos
Message 1 of 4
(2,592 Views)
Hi Avni,
In 8.2 you can do OOP, I don't know anything about that so I will forget that.
what you need is a plugin structure. With a plugin for every type of hardware.
You call dynamically the plugin you need.

I haven't done it but search for plugin and dynamically calling. If you have the Office toolkit of NI, you can digg in there as well.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(2,585 Views)
I suggest reading "A Software Engineering Approach to LabVIEW" By Conner and Watts.

This book is based on an older version of LabVIEW but the techniques are still valid.

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 3 of 4
(2,566 Views)
And depending on the the type of instruments, you might want to look at using IVI drivers. GPIB, Serial, Ethernet, etc. instruments that fall into certain classes such as DMM, Counter, Power Supply, etc. are programmed with the IVI Class Drivers and you can swap instruments from different vendors without having to change code. More details on the actual hardware you need to control would help to provide more answers.
0 Kudos
Message 4 of 4
(2,544 Views)