SPA Subsystem
HISTogram:HSTatisticQuery
Returned Format
<range_number>
<number_hits>
Example
HISTogram:HSTatistic
:SPA{12}:HISTogram:HSTatistic? {TOTalOTHer<range_number>}
The HISTogram:HSTatistic query returns the total number of samples or returns the number of samples in the specified range. Specify TOTal for the total number of samples, OTHer for the number of hits in "other" range, or <range_number> for the number of hits in that range.
Depending on whether the "other" range is on or off, the statistic TOTal includes or excludes the number of hits in the "other" range.
[:SPA{12}:HISTogram:HSTatistic] {TOTalOTHer <range_number>},<number_hits><NL>
0 to 10
integer number
10 DIM String$[100]
20 OUTPUT XXX;":SELECT 1"
30 OUTPUT XXX;":SPA1:HISTogram:HSTatistic? 7"
40ENTER XXX;String$
50PRINT String$
60END