11-04-2014 07:30 AM
I am a beginner in labview.
I want to fetch the overvoltage of adapter output and record the waveform by tektronic oscilloscope DPO3024.
In normal condition, the output voltage is stabilized DC voltage.
But the output voltage will appear pulse voltage unexpectedly.
The test will keep several hours and the pulse voltage appear several times.
I want to count and record the pulse voltage waveform.
I download the offical driver of tektronic oscilloscope 3000 series.
I can set the appropriate trigger level to fetch the pulse, but I don't konw how to record more than one waveform.
I check the configer trigger VI but can not find any output to remind me that the waveform has been triggered.
So, is there any method to only record the pulse waveform.
11-11-2014 10:42 AM
I have not used the Series 3000 scopes, but I have used the series 7000, and the drivers seem very much alike. The library has a "Read (Multiple Waveforms).vi" which has an input that is an array of integers defining the channels to read. Inside this vi is a For Loop that fetches each waveform individually. You can read them one-by-one yourself or call the multiple waveform vi to have it do that for you.
As far as I know there is no direct way to read the trigger status. You need to see whether a waveform is available or not. If you try to read a waveform and it times out, then you know that no waveform was available because the trigger hasn't happened. The "Wait for Operation Complete.vi" after setting up the trigger and initiating an acquisition may do the same thing. Parsing a timeout error to determine trigger status is a bit awkward, but it can be made to work.
Rich