08-13-2013 08:35 AM
I seem to be having difficulty querying for the maximum and minimum measurements on my TDS 7054 o'scope. I have both meaurements on and if I query MEASU:MEAS1:TYP? it returns MAX and returns MIN for MEAS2. yet when i try to query the actual value MEASU:MEAS1:MAX? it returns 99.000+36 which of course cannot be true. The strangest part is that the code works for the DPO4104. Any Idea what I'm doing wrong? I've attached 2 sets of code, 1 is how I turn the measurements on on the scope, the other is trying to query for max and min.
Solved! Go to Solution.
08-13-2013 09:25 AM
You should be using ":MEASU:MEAS%d:DAT?" to get your data (put the number in for the %d). You are actually requesting the maximium max value the scope has recorded. It can keep some statistics on measurements. Here are the commands I use to get the data (again, replace %d with the measurement number):
:MEASU:MEAS%d:DAT? :MEASU:MEAS%d:UNI?
The first command requests the actual data of the measurement and the second requests the units of the measurement.
08-13-2013 11:01 AM
thank you for your quick reply
DAT is not an acceptable command on these scopes, but if i use VALue instead it works like you said it should.
Thanks again.
01-29-2014 12:48 AM
"MIN" is not acceptable for your scope, you must use "MINI"
01-29-2014 06:41 AM