Query reference clocks (time base) statuses.
Query syntax
:ROSCillator:STATE?
Query response format:
<used_ref_status>
, <int_ref_status>
, <ext_ref_status>
Where
<used_ref_status>
is one of INT
, EXT
or FAIL
<int_ref_status>
is one of OK
, FAIL
<ext_ref_status>
if one of 1MHz
, 5MHz
, 10MHz
, FAIL
Description
This query provides extensive information about currently used reference clocks and the state of internal and external reference clock signals. The response contains 3 fields separated by commas.
First field indicates which time base is currently in use: internal (INT
), external (EXT
) or none (FAIL
).
Second field indicates status of internal time base reference: OK
or FAIL
.
Third field indicates whether external reference signal is connected (1MHz
, 5MHz
or 10MHz
) or not (FAIL
).
Example:
SEND → :ROSC:STATE?
READ ← EXT, INT OK, EXT 10MHz