12-12-2017 03:45 AM
This error happens time to time halting the test software. Error happens after few thousand calls to .vi
(5000x to 10000x calls). vi configures instrument to make a two point sweep.
vi is from Keithley 24xx library with very minor modifications (attached).
Power cycling the laptop & instrument clears the error. No other way.
Error -1073807305 occurred at VISA Read in Keithley 2450
Possible reason(s):
VISA: (Hex 0xBFFF0037) Device reported an input protocol error during transfer.
Environment:
Labview 8.5
Windows10 on HP laptop Elite8460p
NI-VISA 17.0 installed.
Keithley 2450 connected via USB2.0
(same program controls also another Keithley2000 via 2nd USB port with prolific USB to COM adapter)
Thanks for any suggestions how to solve this issue!
proot
12-12-2017 06:38 AM
Forgot to mention:
The Keithley 2450 has firmware 1.6.1a.
12-12-2017 08:35 AM - edited 12-12-2017 08:36 AM
I don't think it has anything to do with the instruments, look at your laptop power settings. I've had these mysterious program terminations on a few PCs with Win7 and Win10, always with USB or USB-GPIB.
Do you have the USB suspend disabled? Here's how - https://helpdeskgeek.com/how-to/prevent-windows-from-powering-off-usb-device/
I also used the High Performance power setting. Once I fixed the USB suspend issue everything ran for several months without issue.