AnsweredAssumed Answered

Agilent N6705A DC Power Analyzer Automation

Question asked by dragosparausanu on Apr 7, 2020
Latest reply on Apr 8, 2020 by dragosparausanu

Hello. I have an Angilent N6705A DC Power Analyzer and I want to use Python to automate current measurements. I have managed to start an ELOG measurement but it only lasts 30 seconds. I cannot find how to set the duration.

I have used the following commands to start the elog measurement(taken from this guide External Data Logging ):

instrument.write("SENS:ELOG:FUNC:CURR ON, (@3)")
instrument.write("SENS:ELOG:PER 0.0001024, (@3)")
instrument.write("TRIG:TRAN:SOUR IMM, (@3)")
instrument.write("INIT:ELOG (@3)")
instrument.write("TRIG:ELOG (@3)")

After the ELOG is started, at every .11s I use FETCh:ELOG? 500, (@3) command to read the data from the device. After 30 seconds the ELOG seems to stop. I need a SCPI command to set a greater period and I canno't find it in the N6705 Programmer's Guide 


Any help is appreciated. Thanks!