AnsweredAssumed Answered

Cannot receive data from 4263B LCR Meter

Question asked by awro on Sep 19, 2018
Latest reply on Sep 19, 2018 by awro
I am unable to read out data from the Agilent 4263B LCR Meter.
So far, I've managed to send commands to the instrument, which it receives, using commands from the Operation Manual, but I cannot retrieve any data by querying the instrument. After triggering the instrument, I am able to send the ":FETC?" command from MATLAB using "fprintf(s,":FETC?");, but afterwards when I attempt to retrieve the data using:
ba = s.BytesAvailable;
data = fread(s,ba,'double');
data = fscanf(s,'%f');
It returns an empty string and the warning: "Warning: Unsuccessful read: A timeout occurred before the Terminator was reached.."
My MATLAB code is attached. I am sending/receiving the commands using a Prologix GPIB-USB Controller.