Jump to content
  • 0

Impedance Analyser - Export consecutive passes


AML

Question

Hello

I'm new to the waveforms environment. I'm using the impedance-analyser module along with a Discovery 2 and would like to run continuous impedance analysis on samples where the impedance will change over time. Consequently, I would like to save/export the data from each consecutive sweep across my chosen frequency range (as I leave it to run). Currently, it would seem like only the most recent pass gets stored.

How could I go about saving/exporting each pass? Apologies if this is the wrong part of the forum for this question.

Kind regards

AML 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @AML

You could use a Script like this to automate analysis and export:

image.png.3b9d7184b3a028335c06ac1cbc155549.png

for(var i = 0; i < 100 & wait(1.5); i++){ // wait 1.5 seconds
    Impedance.single() // start
    if(!Impedance.wait()) throw "Stopped" // wait to finish
    print(i)
    Impedance.Export("~/Desktop/imp/"+i+".csv") // see Help/Script and Impedance/File/Export for more info
}

 

If you are interested only for measurements at a specific frequency: set Constant frequency, specify required Steps and rate using the Settle under Options (or use Averaging).

image.png.0c818f976f7276aaf7ae8f0fe4be5c31.png

Edited by attila
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...