AnsweredAssumed Answered

Programming Lists on N3300A DC Electronic Load

Question asked by ruben on Apr 5, 2011
Latest reply on Jul 11, 2011 by MattC

I am programming a measurement from a list through the Linux-GPIB package and Python, below you will see the code. My problem comes when I try to read the buffer. If I use 'FETC:ARR:VOLT?', it just deliver an instantaneus measurement but if I use 'FETC:CURR:ARR ARRAY1' the electronic load shows: ERR -113, Undefined header [operation not allowed for this device]. How could I read back the voltage values corresponding to the nine points showed in the list?

Thanks a lot in advance,

import gpib
from time import sleep

def lista():
     self = gpib.find('eload')
     gpib.write(self,'CURR:MODE LIST')
     gpib.write(self,'LIST:CURR 1,0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2')
     gpib.write(self,'LIST:CURR:SLEW 1E+6')
     gpib.write(self,'LIST:CURR:RANG 10')
     gpib.write(self,'LIST:CURR:TLEV 0')
     gpib.write(self,'LIST:DWEL 0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1')
     gpib.write(self,'SENS:SWE:POIN 1')
     gpib.write(self,'SENS:SWE:TINT 0.05')
     gpib.write(self,'SENS:SWE:OFFS 0')
     gpib.write(self,'LIST:STEP ONCE')
     gpib.write(self,'INIT:NAME LIST')
     gpib.write(self,'INIT:NAME ACQ')
     gpib.write(self,'TRIG:SEQ2:COUN 9')
     gpib.write(self,'TRIG:TIM 2')
     gpib.write(self,'TRIG:SOUR TIM')
     print 'Pausa para realizar la adquisicion'
     res =,512)
        print res