Showing results for 
Search instead for 
Did you mean: 

Need help writing a program to capture the turn-on waveform of a power supply with a DSO-X 3024A Oscope

Go to solution

I'm trying to write a program that will wait until I turn on a power supply and capture the waveform at that point on an Agilent 3024 scope. Attached I have my first attempt.


Does anyone have experience doing this sort of thing and can possibly provide an example. What I've done so far kind of works except that it toggles between the trace at gound and the "wait for trigger state" every few seconds on the scope. If I turn on the power supply during this "wait or trigger state in the loop" I capture the waveform I'm trying to capture on the scope. I'm not sure why this toggling is going on.



0 Kudos
Message 1 of 3
Accepted by topic author chuck72352

What trigger level are you using?  What is the supply set for?


As far as your VI is concerned, I don't see a point in your while loop.  You should set up the scope to take a single capture, have a pop up telling you to turn on the supply, and then read the waveform when the acquisition is complete.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3

The trigger level is set for 10V on a rising edge. The supply output is 15Vdc.


I got rid of the loop as you suggested.



0 Kudos
Message 3 of 3