SPA Subsystem
TINTerval:TSTatistic
|
| TINTerval:TSTatistic | |
Query | :SPA{12}:TINTerval:TSTatistic? {TMINimum | ||
|
| TMAXimumTAVerageTOTalTTOTal<interval_number>} | |
|
| The TINTerval:TSTatistic query returns either the time or the number of | |
|
| samples associated with the requested statistic. The statistics you can | |
|
| request are: | |
|
| ∙ TMINimum - overall minimum interval time | |
|
| ∙ TMAXimum - overall maximum interval time | |
|
| ∙ TAVerage - overall average interval time | |
|
| ∙ TOTal - total number of samples | |
|
| ∙ TTOTal - overall total time of all interval samples | |
|
| ∙ <interval_number> - number of hits in given interval | |
|
| If TMINimum, TMAXaximum, TAVErage, or TTOTal are not currently valid, | |
|
| the real value 9.9E37 is returned. | |
Returned Format | [:SPA{12}:TINTerval:TSTatistic] { { {TMINimum TMAXimum | ||
|
| TAVerage TTOTal } <time_number>} { {TOTal | |
|
| <interval_number>}, <number_hits>} }<NL> | |
<interval_ | 0 to 7 | ||
number> |
|
| |
<number_hits> | integer number | ||
<time_number> | real number | ||
|
|
|
|
Example | 10 | DIM String$[100] | |
|
| 20 | OUTPUT XXX;":SELECT 1" |
|
| 30 | OUTPUT XXX;":SPA1:TINTerval:TSTatistic? 3" |
|
| 40 | ENTER XXX;String$ |
|
| 50 | PRINT String$ |
|
| 60 | END |
|
|
|
|