LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Site for drivers written by the community?

All,

 

Hi!  I recently have been having to use new equipment for different tests on a regular basis and most of the code I use is written in CVI.  I have noticed lately that when I look for CVI drivers and function panels for the equipment there is almost never any available.  There will be a labview driver sometimes on the homepage of the company that made the equipment or there will be a driver on the NI site.  I need to keep writing my code in CVI, so I usually have to write a driver myself or sometimes if the project is small enough I will just make a small .vi file to do what I need to do in Labview.

 

I was wondering if there is a site where people post the drivers they have written so that others can use them?  I know that NI can't post them here most likely due to legal considerations, but it seems like there should be a place where we can all share our work.  This would keep us all from duplicating what other people have already done.

 

So, is there a site like that out there somewhere??

 

Thanks for any information!

 

DB

0 Kudos
Message 1 of 3
(3,007 Views)

If the hardware manufacturer gives you a driver, there's no reason you won't be able to use it from CVI:

- if the full source code is provided you need(ed) the Windows Driver DK to compile it (you can't compile drivers with CVI). It may have changed, it's been a looong time since I last wrote Windows driver (much easier on Linux, although it's like trying to hit a moving target sometimes).

- if the binary driver (vxd and dll) and a .h files are provided, all you need to do is create the export library, add the .h and lib to your project and write the code following the examples provided by the company. It can be very simple.

- if only a binary driver and a closed source executable are provided, you need to reverse engineer the API or write some glue code to remote control the executable. No fun.

 

In all cases there's no such thing as a CVI-specific driver.

0 Kudos
Message 2 of 3
(2,989 Views)

Have you search your equipment driver here: http://www.ni.com/downloads/idnet/?

0 Kudos
Message 3 of 3
(2,967 Views)