11-19-2019 09:01 AM
So I have some USB-8502/2 devices (which are fantastic BTW). And on my main development laptop I'm having problems where the device will just randomly disappear and come back. I've tried multiple 8502s, and I've tried multiple USB ports on this computer. I've also turned off the selective USB Suspend power settings. While running an application I've at times gotten error -1074384718.
I launched MAX and just watched. The Ready light on the device will be solid, and then after a few seconds blinks off, and then back on again. Here is a video from MAX showing what happens. During this video the device is just sitting there, plugged directly into the laptop with no hub and not running anything. This is an older laptop but looking at the data sheet it says the power requirement is only 300mA and any USB port since 2.0 should be able to to do this, and these are labeled SS (SuperSpeed). Any suggestions? The devices themselves seem fine and can be used in other laptops, and desktops but my main development machine just doesn't like them. This is Windows 10 x64, XNet 19.0, MAX 19.0.0 f0.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Solved! Go to Solution.
11-20-2019 01:42 AM
This could help.
11-20-2019 07:39 AM
Yup already did that which is what I meant by "I've also turned off the selective USB Suspend power settings." I also made sure the "Allow the computer to turn off this device to save power" was unchecked in all the USB hub properties in the device manager. I also plugged in the laptop to external power, and restarted the computer but it still behaved this way.
I couldn't find a powered external USB hub to test with, but I do have a dock. And when the laptop is docked, and I plug into the 8502 into the same port on the laptop as before it works fine. I'd still like to hear from NI if possible because I can't think of a reason this wouldn't work.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-27-2019 07:31 AM
So after checking my power settings again I saw that in device manager there were a couple USB hubs that still had "All the computer to turn off this device". I restarted a few times and now it is working again. Just normal Windows weirdness I guess.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord