10-23-2007 09:11 AM
10-23-2007 11:35 AM
10-23-2007 03:43 PM
10-23-2007 04:04 PM
10-26-2007 02:12 PM
Ok I have almost exactly what I want. I'm just having some trouble with the acquisition. I created the attached VI and it sets up the scope as I want it for the trigger but when I try to read the delay between the two channels, LabView returns this error:
Error -1074000000 occurred at tkdpo7k Error Query.vi
Possible reason(s):
Instrument reports:
402,"Operation complete"
2225,"Measurement error, No waveform to measure"
0,"No events to report - queue empty"
Complete call chain:
tkdpo7k Error Query.vi
tkdpo7k Fetch Waveform Measurement (Time).vi
tkdpo7k Read Waveform Measurement (Time).vi
Untitled 2
All the VI does is configure the A to B sequence trigger, then calls a test VI which simply creates to voltages out of a DAQ to simulate the power on reset. This works fine and the waveforms appear perfectly on the scope itself. The problem comes in when I try to do read in a time delay measurement after the trigger. I then get the above error. Any advice?
Thanks.
- John
10-26-2007 02:45 PM - edited 10-26-2007 02:45 PM
Message Edited by Varekai on 10-26-2007 02:47 PM
10-26-2007 03:10 PM
Sorry, I don't have the scope to run the VI so I don't know why the instrument might be reporting the error. Since you have the data in LabVIEW, you can use functions there to calculate the delay. One way would be to use a couple of Basic Trigger Level Detection functions on each channel. Use the Index Array function on the waveform data for this. There's an input of the Basic Trigger Level Detection called location mode. Set to time and then you can just subtract the two values.
I don't know if this will be more accurate or faster than the scope doing it. You might want to contact Tek support to discuss the measurement issue.
10-26-2007 03:51 PM
Yeah I had a feeling I'd either have to contact Tek or do it in Labview so I started doing the math on the waveform data just in case the VI wouldn't work out for me. I think that should be accurate enough for what we are doing but if the engineer I'm doing this for says otherwise I guess I'll have to have a chat with Tek. Thanks for your help Dennis!
- John