05-29-2020 12:45 PM
Hi,
I am attempting to perform a basic I-V sweep in the combination of Keithley 6220 and 2182A, but always got an error of “Input buffer overrun error -363” at data transfer process in my labview codes.
I believe these two instruments are well-connected, with RS232 null modem cable, trigger link and PC remote control on 6220 via GPIB. Besides, the RS232 setting of 2182A is baud rate of 19.2 k with no flow control. These configurations allow me to perform the basic operation of DC Sweep (up to 1024 data points) in KI6200.exe provided by Tektronix, indicating I certainly make some mistakes in my labview codes.
To simplify the problem, I turn to store some data points in the buffer of 2181A, as the following operation on the front panel of 2182A .
# Press “Store”->Set buffer size “50”-> Press “Enter”
I could get these data points remotely by sending the below comments:
# :SYST:COMM:SER:SEND " :TRAC:DATA? "
and then loop the below comments until the 50 data points are all read to PC.
# :SYST:COMM:SER:SEND "ENT?"
# VISA read 255 bytes
However, in the case that the stored data in 2182A buffer are greater than “75” data points, Keithley 6220 will got “Input buffer overrun error -363” immediately as I send the first command:
# :SYST:COMM:SER:SEND " :TRAC:DATA? "
I don’t know what happens. It seems that the serial port buffer of Keithley 6220 is too small to receive the large data sent from Keithley 2182A. Does anyone know how to set Keithley 6220's VISA I/O buffer size?
I have also tried to turn on the RS232 flow control (XonXoff) of 2182A but the error keeps popping.
I really want to perform the I-V measurement via Keithley 6220 and 2182A.
Any suggestion will be greatly appreciated!