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.
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