I am using a virtual machine, hosted by VirtualBox. I can pass through any number of USB devices, including my cDAQ-9174. However, despite it appearing in Windows Device Manager, MAX and NI Device Monitor refuse to see it. Anyone know how to solve this?
After a few minutes, this device oddly appeared in MAX. It's still not right because I cannot interact with it, and LabVIEW cannot see it:
Solved! Go to Solution.
My situation didn't involve a VM, but when I had a similar problem restarting/power cycling my cRIO fixed the problem. Probably you already tried that, but if not might be worth a shot.
Thank you for the reply cbutcher. Unfortunately I did already try repowering my cDAQ.
I think my cause is futile however because NI admit to not supporting USB devices through VMs.
I'm still hoping however that someone has managed to achieve this, even if it is an unsupported technique.
I know that this is a ridiculous, circuitous and somewhat unhelpful possible solution given you're probably developing on a VM and won't deploy to one (at least, I'd guess not) but you could consider a USB to Ethernet conversion port?
I don't know if this would help (especially compared with perhaps trying a different VM provider) but they're not particularly expensive and if it's only the direct USB connection that's frustrating MAX it might (?) be worth trying...
Are you sure you have DAQmx (and a version that supports 9174) installed on this VM? Also check your VM configuration to make sure it is passed-through, and check if host doesn't block the device somehow. (I know, I know, basics.. )
(I've used USB-6008 on VM in the past, but it was OpenSuse guest system. I could use it without problems, so it is possible to use DAQ in VM, at least in my scenario).
Well, I'll be blown. So whilst this was a problem I'd created a simulated device for the cDAQ 9174 and the three modules that are attached. These simulated devices all work fine, and are support in DAQmx 17.0 (which is the version I have installed).
To try out your theory, I upgraded to DAQmx 18.0 and suddenly Win7 began installing drivers for the cDAQ when I plugged it in. It's now present and working!
So it appears I could simulate the devices in an older version of DAQmx than is required to support the actual hardware? I can't say I understand, but I thank you for making the suggestion, and I thank my patience also for bothering to try it out.