06-18-2008 11:34 AM
06-20-2008 10:52 AM
06-24-2008 04:59 PM
I just finished using libusb with LabVIEW 8.5. The way to do it is to create a C language DLL that wraps around the libusb.dll. This way you can abstract away any incompatible structs, handles, etc. We started with 4 entry points: openUSB, readUSB, writeUSB and closeUSB. The read and write DLL functions call the "bulk" I/O functions. The open DLL function calls the "init", "find" and "open" functions. The close DLL function calls the "release" and "reset" functions. So far, everything is working great.
WB
06-25-2008 08:12 AM
06-25-2008 08:50 AM
06-25-2008 08:56 AM
I almost went the VISA route with using the VISA Wizard. I was short of time and I had a DLL wrapper that was almost working with libusb so I elected the C language solution. I would prefer to use VISA in the future so I would be most interested in your solution. Was the VISA solution difficult?
WB
06-25-2008 09:00 AM
06-25-2008 09:56 AM
06-25-2008 10:02 AM
06-25-2008 10:06 AM - edited 06-25-2008 10:06 AM