DeviceSetupFailure Automation Analog Capture

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: