![API 8512 Series Operation & Installation Manual Download Page 34](http://html.mh-extra.com/html/api/8512-series/8512-series_operation-and-installation-manual_2953475034.webp)
MANUAL IM635
Command Operation
Page 34
TEMP?
30.0
TIME?
Function:
reads execution time
Syntax:
TIME?
Argument(s): none
Remarks:
This function returns the current execution time from the start of the command message, in
msecs.
Return Value: msecs
integer32
Example(s):
CMDSTATS 0; TIME?; DELAY 10; TIME
1;11
TIMESTAMP
TIMESTAMP?
Function:
sets/reads timestamp timer
Syntax:
TIMESTAMP [
clear
]
TIMESTAMP?
Argument(s):
clear
byte flag
Remarks:
These functions can be used to time long periods, such as the elapsed time between a series of
commands. TIMESTAMP records the current system 1ms tick counter, and TIMESTAMP? returns
the time since the last TIMESTAMP command. Sending TIMESTAMP with a parameter of 0 erases
the current timestamp, causing the TIMESTAMP? query to return the value of the system tick
counter directly.
Return Value: ticks
integer32
Example(s):
TIMESTAMP; DELAY 10; TIMESTAMP?; TIMESTAMP 0;TIMESTAMP?
10; 5065915
REPEAT
Function:
Enables command repetition/looping
Syntax:
REPEAT
count
Argument(s):
count
word, 1-65535
Remarks:
This function causes the remainder of the current command message to be repeated count
number of times. Any commands included prior to REPEAT are executed a single time.
Return Value: none
Example(s):
ATTN 1 0; REPEAT 50; INCR 1; DELAY 100
// repeats INCR and DELAY 50 times
SYSTEST
Function:
performs a low-level system test
Syntax:
SYSTEST
select
Argument(s):
select
test select, varies by platform
WDT
// test the watchdog timer function
STACK
// test the stack over/underflow reset function
ALL
// test aux hardware board
FP
// front-panel (if installed)
Remarks:
This command performs a low-level test on the selected hardware. NOTE: These tests should be
used with great caution, and should typically NOT be performed with any attached RF
devices/hardware, as they may exercise them in an invalid fashion. They are typically used in
serial console mode only. Consult the factory prior to performing any of these tests.
Return Value: various status messages
Example(s):
>systest
//runs system test and outputs results