AnsweredAssumed Answered

Need help - Data Logging on N6705B Analyzer

Question asked by garygrumble on Aug 26, 2014
Latest reply on Sep 26, 2017 by karthiktu
Hi

I am hoping this is the right forum for this. I have an Agilent N6705B Power Analyzer that I started using. What I am trying to do is automate datalog of the current and voltage and at the same time change the voltage up and down. I’ve had some success but really not getting it to do what I want. Currently limited to programming in Python. After weeks of frustration, I am now stuck on “There is not a valid acquisition to fetch from” error. So I think I am coding the wrong sequence for setting up the logger.

Anyways, I wish there was a code sample that I could model after. Does anyone have code sample available for data logging and fetching min/max/avg + volt/curr? Even if it is just SCPI Commands; it would be such a huge jump start for me. Much thanks in advance!

Note I am using the AgilentN6705A.py class.

What I have tried is:
     set_dlog_duration     x
     initiate_dlog          fname
     trigger_dlog
     set_dlog_first_marker
     set_voltage          y
     VBAT.set_dlog_second_marker          x
     VBAT.abort_dlog
     VBAT.abort_acq

     VBAT.fetch_dlog_voltage   < - -error

Edited by: Gary Grumble on Aug 26, 2014 10:12 AM  

Outcomes