Hello,
I connect LabJack-T7 to a laptop (which works mostly from the built-in battery) via USB, I write a program on LUA in the Kipling editor and debug it. After work, I disconnect LabJack from USB and switch the laptop to sleep mode. The next time LabJack is connected to USB, it happens that LabJack is not detected by the system. In the "Device Manager" it is written that Windows can not find the driver, and in the properties of the device "LabJack-T7" it is written that the driver was removed ... And so it happened more than once. After reinstalling the driver, everything works fine. Tell me what could be the problem? Is this a Windows10 problem or a LabJack driver itself?
Hello,
I'd like to reproduce the issue.
Which version of the installer are you running?
Are you able to reliably reproduce this issue, or does it only happen sometimes?
Are there any other programs besides Kipling running on the laptop that communicate with LabJack devices?
Does the installer give any unusual output?
Would you email your C:\Windows\inf\setupapi.dev.log to [email protected]? (We only need the bottom sections of the file that are relevant to the dates when you noticed the issue.)
>>Which version of the installer are you running?
LabJack-2017-12-20
>>Are you able to reliably reproduce this issue, or does it only happen sometimes?
Sometimes, but I can not understand when this happens
>>Are there any other programs besides Kipling running on the laptop that communicate with LabJack devices?
No, only Kipling works
>>Does the installer give any unusual output?
No, everything goes well
>>Would you email your C:\Windows\inf\setupapi.dev.log to [email protected]?
File and screenshot sent to email. I'm using a Russia localized version of Win10, but I translated а messages
Your setupapi.dev.log doesn't show any errors during LabJack installation, though there are warnings. Also, since device communication has worked, it seems like installation was successful. Some things to try:
1. Try a different USB cable
2. Try a different USB port
3. Try rebooting. If the T7 doesn't connect after that, try running the installer and rebooting again.
4. In Windows Device Manager, find the USB entry for the device, right-click and "Disable", and then right-click and "Enable". Does the device become connectable again?
5. As the USB Communication Failure (App Note) suggests:
Try disabling various power-saving features. Particularly on a laptop, but this can help on desktops also. In Windows 7, you are shown a few basic settings at first, but there is an advanced screen with many more options including "Turn off hard disk" and "USB selective suspend" which seem like good ones to try disabling.
6. As the USB Communication Failure (App Note) suggests:
F: For troubleshooting enumeration problems remove all connections except USB to confirm a user connection is not causing a problem.
If a device will enumerate on some computers but not others, a driver install issue is likely. On Windows go to the Windows Device Manager and look for any entries that appear/disappear when you connect/disconnect the LabJack. While the LabJack is connected go to the entry, right-click, and choose Remove or Uninstall. When Windows is done uninstalling the device, disconnect it and reconnect it to go through the add-new-hardware process again. For more information, see Windows Installer Troubleshooting (App Note).
Go to the LED section of your device's datasheet. Compare your power-up LED behavior to what is described there.
If it appears the device is constantly resetting (the LED behavior will typically indicate this), it could be the watchdog. Look at the watchdog section of your device's datasheet and a power-up jumper will be mentioned to disable the watchdog.
On T-series devices a script can interfere with normal device operation severely enough to prevent enumeration. See the SPC section of your device's datasheet for a jumper to disable scripts.
7. Lastly, just in case the installation is messed up but the log doesn't show it, manually install the device drivers as described on the Windows Installer Troubleshooting page. If there are any errors, please let us know.
Thanks for the info. The most likely cause of my problem, I think, are the new energy-saving modes. Everything worked fine until I updated the driver package on my laptop. After that, many different new options appeared in the power saving settings. Now I turned them off. I'll see what happens next.
Please keep us posted, at your convenience.
I think I understood when this happens. When the laptop battery was very low (6-7%), I disconnected the LabJack from the USB port and reconnected it. Everything was fine. Next, I again disconnected LabJack from the USB port and connected the laptop's charger (maybe I first connected the charger, and then disconnected LabJack from the USB port). After 7 minutes, I reconnected LabJack to the USB port and saw that the drivers had already been removed 7 minutes ago ... All of your recommendations from message # 4 I did, removed all energy-saving modes, rebooted, turned off and turned on the driver, etc. , but nothing happens, Windows10 does not load the driver. If I do a manual search for the driver, it is located, installed, and everything starts working normally. Can you get to understand this?
I haven't been able to reproduce this.
1. When was the last Windows update performed? See this Microsoft Support link, which says device drivers may be unexpectedly removed in versions before 10.0.14393.10020.
2. Try checking the Event Viewer from Device Manager -> LabJack T7 Properties -> Events tab -> "View All Events...". Is there an event that explains why the device driver was removed? What is the output for the install event? A successful install event gives output like this:
Driver Management concluded the process to install driver labjacka64.inf_amd64_131d7197163b7204\labjacka64.inf for Device Instance ID USB\VID_0CD5&PID_0007\7&25C389C1&0&3 with the following status: 0x0.
3. How much free space is there on your hard drive?
>>I haven't been able to reproduce this.
Yes, most likely this is the problem of my computer.
>>When was the last Windows update performed? See this Microsoft Support link, which says device drivers may be unexpectedly removed in >>ersions before 10.0.14393.10020.
Thanks for the link. I followed the recommendations for resolving the problem, as indicated by the link. I will check further.
>>2. Try checking the Event Viewer from Device Manager -> LabJack T7 Properties -> Events tab -> "View All Events...". Is there an event that >>explains why the device driver was removed?
----
Device USB\VID_0CD5&PID_0007\5&23B1421D&0&1 has been deleted.
GUID class: {00000000-0000-0000-0000-000000000000}
----
>>A successful install event gives output like this:...
The message is the same
>>3. How much free space is there on your hard drive?
free space - 148 Gb
Thanks for the help. I'll try to install all the latest updates and will check further.
Thanks to your link it was possible to solve my question. I did the following:
---
takeown /f "C:\Program Files\rempl" /r /d y
icacls "C:\Program Files\rempl" /grant administrators:F /t /q
icacls "C:\Program Files\rempl" /deny system:F /t /q
---
Drivers are no longer removed. Thank you very much! Your company has the best technical support that I've ever met!