AnsweredAssumed Answered

LCR list sweep error , SCPI command for TimeOut setting

Question asked by hadasara on Aug 23, 2016
Latest reply on Mar 12, 2017 by Raymond

Hi,

I have a problem, hope someone could please help: (The code is at the end of the question)

I use LCE meter E4980AL

and I use BenchVue Test flw to executre SCPI commands.

 

I'm trying to do a frequency sweep.

but, when I set more than a certain amount of points,  56

(max point possible is 201)

It just get stuck.

(no Error number or any explanation)

 

I think that it's related to the timeOut settings,

because when I used Command Expert and set the time out to 300000

by using this:   System.DirectIO.Timout=300000;

I didn't get an error.

but I couldn't find SCPI command to set the timeout time.

and I'm not sure if this is realy the problem....

 

here is the code:

*RST

*CLS

:FUNCtion:IMPedance:TYPE ZTD

:TRIGger:SOURce BUS

:DISP:PAGE LIST

:LIST:MODE SEQ

:LIST:CLEar:ALL

MEMory:CLEar DBUF

:LIST:FREQuency  ***** here I put the frequencies************

10 s Delay

LIST:FREQuency?

{loop}

MEMory:CLEar DBUF

:MEMory:FILL DBUF

:TRIGger:IMMediate  *******here it get stuck*******

:MEMory:READ? DBUF

 

Any ideas?

Thanks

Outcomes