LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best method to write Instrument Driver for a product family.

Hi,

 


I need write Instrument driver for our Test Equipment product family consisting of multiple cards. If I write the driver in a usual NI conventional method, i.e. one driver for per card, then there will be lot of duplicate codes between them and pain to maintain.  Base code is exactly identical among them (50 % code). So, need your expertise to identify the best approach to write the driver.  Any help is appreciated.

 

NI conventional method:

http://zone.ni.com/devzone/cda/tut/p/id/3271

 

Thank you,

Balendran

0 Kudos
Message 1 of 2
(2,441 Views)
It sounds like you need to take a class-based approach to the problem. Presumably you're using the latest version of LabVIEW, which has object-oriented programming (albeit limited), so that would be the track I would investigate.
0 Kudos
Message 2 of 2
(2,430 Views)