Section 5 GPIB
5-20
6) MSTA measurement data (frequency from the statistic point of view)
Function that outputs statistics processing results for mean, p–p, min, and max.
Query : MSTA?
Response : n1 (, n2)
<Response data>
• Uses n1 for mean or p-p.
Value of n1 ...... Output in frequency (HZ) units.
• Uses n1 or n2 for max.
Value of n1 ...... Outputs max frequency in (HZ) units.
Value of n2 ...... Outputs min frequency in (HZ) units.
•Uses n1 or n2 for min.
Value of n1 ...... Outputs min frequency in (HZ) units.
Value of n2 ...... Outputs max frequency in (HZ) units.
Returns 0 HZ when statistics processing is OFF.
7) MTRS measurement data (transient frequency)
Reads the result obtained by the high-speed sampling function. It uses this result to calculate the deviation (∆fi) from
the standard frequency (fo) and then calculate input frequency (Xfi) by adding this to the standard frequency.
Query : MTRS? n
Response : T
1, m1
T2, m2
:
Tn, mn
<Program data>
Value of n
100, 200, 500, 1000, 2000
<Response data>
Reads n group data of i = 1 to n in the Ti, mi combination.
Using this result, the frequency fi for each measurement time i is calculated using the following formula :
∆fi=(mi/Ti)×10
9
(Hz) i=1, 2, · · · , n
To multiply the frequency resolution K times, the following combination is used.
k–1 k–1
p=0 p=0
∆fi= (∑ m
i+p
/∑ T
i+p
)×10
9
(Hz)
i=1, 2, · · · , n–k+1
The standard frequency fo is returned by the query message TRSOFS?. The input frequency Xfi is calculated by the
following formulae :
Xfi=abs (fo)+∆fi when fo ≥ 0
Xfi=abs (fo)–∆fi when fo < 0
Note that abs (fo) is the absolute value of fo.