# DeviceSetupFailure Automation Analog Capture

**URL:** <https://discuss.saleae.com/t/devicesetupfailure-automation-analog-capture/3091>\
**Category:** Support\
**Created:** [October 8, 2024, 9:28am UTC](https://discuss.saleae.com/t/devicesetupfailure-automation-analog-capture/3091 "2024-10-08T09:28:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BitBob](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bitbob/32/2292_2.png) [@BitBob](https://discuss.saleae.com/u/BitBob)\
**Post date:** [October 9, 2024, 1:35am UTC](https://discuss.saleae.com/t/devicesetupfailure-automation-analog-capture/3091/2 "2024-10-09T01:35:04Z")

</div>

My guess would be you might be having some USB intermittent issues. Does it happen if PC stays ‘busy’ (i.e., actively using PC keyboard/mouse while script is running vs. console is essentially ‘idle’ other than the script?) Does the `Logic 2.exe` process hang/crash in Task Manager?

**Quick tips:**

- Make sure the Logic is only device on USB, if possible  
(no other USB devices connected/in use)
- Make sure PC is on AC vs. battery power  
(set on full/high performance, not battery/lower power optimized)
- Make sure USB port won’t go to sleep  
(Turn off all USB power saving options, so ‘always on’ and Windows won’t disable/power off port)
- Try the same script on a different PC (if possible, a different model) and see if you get the same result

**More possible links w/ ideas to try:**

- device setup failure  
[Error Message: DeviceSetupFailure | Saleae Support](https://support.saleae.com/troubleshooting/device-setup-failure)
- USB timeout (for tips on improving USB connection)  
[Error Message: ReadTimeout | Saleae Support](https://support.saleae.com/troubleshooting/device-not-able-to-keep-up)
- Longer page on some old/prior USB issues (seems more for Linux, but some ideas may help/apply in general or on Windows)  
[Device Disconnected Error](https://discuss.saleae.com/t/device-disconnected-error/1193)

---

_[View the full topic](https://discuss.saleae.com/t/devicesetupfailure-automation-analog-capture/3091)._
