Posted Fri, 22 Dec 2023 16:58:46 GMT by Ge, Ze

The measurement runs fine in labview. It measures fine. Then random Beep and measures "0". It prints an error. The keithley is 2000, but I have seen several threads on the old forum about this error. Was there a solution? THY 
Posted Fri, 22 Dec 2023 17:02:18 GMT by Ge, Ze
Random measurement drop err. -113 Undefined Header - Tektronix and Keithley  forum link... 
Posted Tue, 26 Dec 2023 12:53:40 GMT by C, Andrea
On the old forum, user blegeyt gave helpful answer.

The old post was for model 2400 but you have different model of product.

Suggest:  use ni trace to capture the gpib bus traffic and see which exact command and error occurs.
I suggest to verify root cause more fully.

User blegeyt suggest to stop use of status byte reading and *opc, and instead *opc? and visa read with appropriate duration timeout.  He attributes the issue to usb to gpib interface or driver used by PC.
Posted Tue, 26 Dec 2023 19:52:43 GMT by Ge, Ze
Yes, I saw this thread.. My own Keithley 2400, 2700 devices do not make this error. (same logical code, sequence) Also, I work with RS232. In the event of an error in the code, the error would occur at startup in every cycle. This error sometimes occurs after 30 measurements, then after 500 measurements, and then at the 502nd measurement. Of course I used the NI trace software :-) -113 :-)

You must be signed in to post in this forum.