AnsweredAssumed Answered

Transient capacitance decay measurement using E4980A

Question asked by aprasadnbu on Dec 4, 2011
Latest reply on Dec 9, 2011 by MarkH
I am trying to study the transient decay of capacitance of a liquid crystal cell using Agilent E4980A( option 005,001,710,710).
I have written a program in MATLAB 7.5b to list sweep the capacitance measurement at desired voltage. The list sweep is part is working but but I am having an problem in fetching the data from the LCR meter to the PC.
If the nos of points in list sweep is more than 16 the the following error message is being displayed on the LCR meter
"E-410: Query INTERRUPTED"
and MATLAB shows an error message
"Warning: The input buffer was filled
before the EOI line was asserted."

The program i am trying is given below. Please help.

close all;
clear all;
% Create a VISA-USB object.
obj1 = instrfind('Type', 'visa-usb', 'RsrcName', 'USB0::2391::2313::MY46203223::0::INSTR', 'Tag', '');

% Create the VISA-USB object if it does not exist
% otherwise use the object that was found.
if isempty(obj1)
    obj1 = visa('AGILENT', 'USB0::2391::2313::MY46203223::0::INSTR');
    obj1 = obj1(1);
% Communicating with instrument object, obj1.
fprintf(obj1, '*RST');
fprintf(obj1, '*CLS');
fprintf(obj1, ':LIST:SEQuence:TSTamp:CLEar');
fprintf(obj1, 'FORM ASCII');
fprintf(obj1, ':APER SHORT');
fprintf(obj1, ':func:imp:type CPG');
fprintf(obj1, 'TRIG:SOUR BUS');
fprintf(obj1, ':LIST:CLEar:ALL');
fprintf(obj1, 'LIST:MODE SEQ');
fprintf(obj1, 'LIST:STIM:TYPE VOLT,NONE');
fprintf(obj1, ...
'LIST:VOLT 20,20,20,20,20,20,20,20,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3,0.3');
fprintf(obj1, 'DISP:PAGE LIST');
fprintf(obj1, 'INIT:CONT ON');
fprintf(obj1, ':TRIG:IMM');
fprintf(obj1, '*WAI'); 
data1 = query(obj1,':FETC?')
fprintf(obj1, '*WAI');
data2 = query(obj1,':LIST:SEQuence:TSTamp:DATA?')
fprintf(obj1, '*WAI');  
% Disconnect from instrument object, obj1.
fprintf(obj1, '*RST');
fprintf(obj1, '*CLS');
% Clean up all objects.