LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I create one DLL for multiple instruments?

I would like one DLL to handle the new instrument(DAC unit switch/meter combination) as well as the seperate switch and meter currently being used.
0 Kudos
Message 1 of 2
(2,857 Views)
Hello DRB,
It would be entirely possible to make a DLL that can control multiple instruments depending on a configuration option (possibly when you initialize the instrument there is an option to select which instrument to control this instance). It might be better to make this modular, create an individual DLL for each instrument, then create a wrapper DLL that simply redirects the calls to the proper DLL. This would allow for you to more easily add or change instruments (this starts to approach what IVI drivers do). Actually, I believe the IVI Foundation was discussing adding a class or extension for a scanning DMM (I am not sure if this is the same as your switch/meter, but it sounds close). You may want to contact the IVI Foundation for more information at htt
p://www.ivifoundation.org.

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,857 Views)