
5-2
System Commands
DATE
System Commands
SYSTem subsystem commands control the way in which query responses are formatted, send
and receive setup strings, and enable reading and writing to the advisory line of the analyzer.
You can also set and read the date and time in the analyzer using the SYSTem subsystem
commands.
DATE
Command
:SYSTem:DATE <day>,<month>,<year>
This command sets the date in the analyzer, and is not affected by the *RST common com-
mand.
<day>
Specifies the day in the format <1. . . .31>.
<month>
Specifies the month in the format <1, 2, . . . .12> | <JAN, FEB, MAR . . . .>.
<year>
Specifies the year in the format <yyyy> | <yy>. The values range from 1992 to 2035.
Example
The following example sets the date to July 1, 1997.
10 OUTPUT 707;":SYSTEM:DATE 7,1,97"
Query
:SYSTem:DATE?
The query returns the current date in the analyzer.
Returned Format
[:SYSTem:DATE] <day> <month> <year>><NL>
Example
The following example queries the date.
10 DIM Date$ [50]
20 OUTPUT 707;":SYSTEM:DATE?"
30 ENTER 707; Date$
DSP
Command
:SYSTem:DSP <string>
This command writes a quoted string, excluding quotation marks, to the advisory line of the
instrument display. If you want to clear a message on the advisory line, send a null (empty)
string.
<string>
An alphanumeric character array up to 92 bytes long.
Example
The following example writes the message, “Test 1” to the advisory line of the analyzer.
10 OUTPUT 707;":SYSTEM:DSP ""Test 1"""
Query
:SYSTem:DSP?
The query returns the last string written to the advisory line. This may be a string written
with a SYSTem:DSP command, or an internally generated advisory.
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...