4 System
4.11 System Remote Commands (Remote Commands Only)
4.11.6 SCPI activity history (Remote Query only)
Instrument remote operation usage via SCPI can be monitored using
:SYSTem:METRics:SCPI?. The monitoring occurs for SCPI control from any I/O
channel (GPIB, USB, or LAN). The information of the usage pertains to the activity
since the instrument application was started; the information does not persist after
the application is terminated, or the instrument has been rebooted.
Remote
Command
:SYSTem:METRics:SCPI?
Example
:SYST:METR:SCPI?
Notes The return value is a string with the format “YYYY-MM-DD<space>HH:MM:SS”, in instrument local
time
The following commands are excluded from the history accounting:
–
*IDN?
–
*OPT?
–
:SYSTem:DATE?
–
:SYSTem:TIME?
–
:SYSTem:PON:TIME?
–
Queries in the :SYSTem:ERRor subsystem
–
Queries in the :SYSTem:LKEY subsystem
–
Queries in the :SYSTem:METRics subsystem
–
Queries in the :SYSTem:MODule subsystem
If no SCPI activity has occurred since the instrument was booted (instrument application started), the
return value will be the time the instrument application started. The instrument application start time
can be obtained with :SYSTem:METRics:STIMe?
4.11.7 Instrument start time (Remote Query only)
To determine if instrument activity has occurred, :SYSTem:METRics:STIMe? can
be used to determine the instrument application start time.
Remote
Command
:SYSTem:METRics:STIMe?
Example
:SYST:METR:STIM?
Notes The return value is a string with the format “YYYY-MM-DD<space>HH:MM:SS”, in instrument local
time
1895 Short Range Comms & IoT Mode User's &Programmer's Reference