08-17-2012 04:28 PM
Hello,
I'm new to labview, so please bare with me. I've been in contact with Labview engineering support, as well as with my device manufacturer, but so far no luck. I've tried all of the simple and obvious tricks that one might think of, and I've read every applicable knowledge base article to the best of my knowledge.
I'm trying to connect a Bartington MS3 magnetic susceptibility coil to LabView, and I'm having trouble figuring out what route I need to take. The device plugs into my PC(windows 7) using a USB cable, but doesn't show up in MAX under any . It shows up in the device manager under "Jungo", which is the manufacturer driver type. I tried running the visa driver wizard for USB, and interestingly, the wizard recognizes the device. If I hit next to start creating a driver, I get the message "This device is a member of the USB test and measurement class (USBTMC). NI-VISA can already detect and control it. Do not use this wizard to create an INF file." This sounds like good news, but if it were true, shoudnt MAX recognize the device?
Below, I've attached a copy of the inf text file. Now, I'm also having trouble telling what driver for the device needs to be installed. One article I read said that the device's native drivers need to be installed, but another article stated that a USBTMC device needs to have an NI VISA driver controlling it, and that VISA should recognize the device and install drivers for it when I plug it in. I uninstalled the device's drivers and software and plugged it in, but no luck. I also tried manually selecting folders to install drivers from for the device, such as in program files (and program files 86) > National instruments, or program files > ivi...etc.
If it is in fact a USBTMC device, It should be obvious, but I'm starting to think that is must be something else. I can get into device manager and tell you the port and hub number, but it doesnt show up under any type of USB heading there or in MAX. Do I need to create a PXI/PCI connection? Possibly a DLL call of some kind? There must be something I'm missing.
08-20-2012 02:59 PM
It looks like the device drivers that come with the device only support the software that they provide with the device. The best way then to integrate with the device would be to use the DLL's that are installed with the device, and call them from LabVIEW. So look more into what DLL drivers the company provides with their hardware.
08-20-2012 03:18 PM - edited 08-20-2012 03:23 PM
I do believe you're right, Nathan, and thanks for the reply. I just got word back from the manufacturer on this, and although I have a limited understanding of the subject, they do seem to corraborate the need for a DLL of some kind. For the good of the board, and for any further advice, I'll paste my answer fom them here:
08-20-2012 08:31 PM
08-20-2012 08:48 PM
I would believe it, Dennis. With my skill level, the DLL calls sound a bit forboding as well. I think what I'm going to try right now is to run the VISA wizard in "Windows XP mode" 32 bit emulator and see if that might help. If someone else has done the work already, I can claim the glory. Plus I needed to run it all in 32 bit mode anyway to gain access to the parallel port! I'll update this and let you know if it worked.
08-20-2012 09:11 PM
Another update: I tried running on the 32 bit virtual machine, and it appears that I got access to the parallel port for my other application (PortOut.VI), which is good. But, the VISA driver wizard still tries to tell me that my device is a USBTMC, so I cant create a RAW driver. Looks like its DLLs unless the manufacturer comes up with something better. Its going to be difficult. Thanks!
10-05-2022 08:53 AM
Hello,
It's an old post I know, but I'm in the same situation regarding MS3 device.
Do you have a solution for me?
Regards,
Julien