27-4
System Commands
DEBug
DEBug
Command
:SYSTem:DEBug {{ON|1}[,<output_mode>[,"<file_name>"
[,<create_mode>]]] | {OFF|0}}
The :SYSTem:DEBug command turns the debug m ode on and off. This mode
enables the tracing of incoming GPIB commands. If you select CREate mode,
a new file is created, and/or an existing file is overwritten. If you select APPend
mode, the information is appended to an existing file. The :SYSTem:DEBug
command shows any header and/or parameter errors.
The default create mode is CREate, the default output mode is FileSCReen, and
the default file name is c:\scope\data\debug.txt. In debug mode, the File View
button lets you view the current debug file, or any other debug file. This is a
read-only mode.
<output_mode>
{FILE | SCReen | FileSCReen}
<file_name>
An MS-DOS compatible name of the file, a maximum of 254 characters long
(including the path name, if used). The file name assumes the present working
directory if a path does not precede the file name.
<create_mode>
{CREate | APPend}
Examples
This example turns on the debug/trace mode and creates a debug file.
10 OUTPUT 707;":SYSTEM:DEBUG ON,FILE,
"C:\scope\data\pacq8xx.txt",CREATE"
20 END
The created file resembles:
Debug information file C:\scope\data\pacq8xx.txt
Date: 1 NOV 2001
Time: 09:59:35
Model: 54830B
Serial#: sn ?
>:syst:err? string$<NL>
<:SYSTEM:ERROR 0,"No error"$
>:ACQuire:BEST FLATness$<NL>
?
^
?-113, Undefined header
>:syst:err? string$<NL>
<:SYSTEM:ERROR -113,"Undefined header"$
>:syst:err? string$<NL>
<:SYSTEM:ERROR 0,"No error"$
This example appends information to the debug file.
Содержание Infiniium 8000A
Страница 1: ...Agilent Technologies Infiniium 8000A Programmer s Reference ...
Страница 2: ......
Страница 20: ...Contents 16 ...
Страница 21: ...1 Introduction to Programming ...
Страница 43: ...2 LAN and GPIB Interfaces ...
Страница 53: ...3 Message Communication and System Functions ...
Страница 58: ...3 6 ...
Страница 59: ...4 Status Reporting ...
Страница 64: ...4 6 Status Reporting Status Reporting Data Structures Figure 4 2 Status Reporting Data Structures ...
Страница 78: ...4 20 Figure 4 3 Status Reporting Decision Chart ...
Страница 79: ...5 Programming Conventions ...
Страница 84: ...5 6 Programming Conventions The Command Tree Figure 5 1 Command Tree ...
Страница 85: ...5 7 Programming Conventions The Command Tree Figure 5 2 Command Tree Continued ...
Страница 86: ...5 8 Programming Conventions The Command Tree Figure 5 3 Command Tree Continued ...
Страница 87: ...5 9 Programming Conventions The Command Tree Figure 5 4 Command Tree Continued ...
Страница 88: ...5 10 Programming Conventions The Command Tree Figure 5 5 Command Tree Continued ...
Страница 89: ...5 11 Programming Conventions The Command Tree Figure 5 6 Command Tree Continued ...
Страница 94: ...5 16 ...
Страница 95: ...6 Sample Programs ...
Страница 149: ...7 Acquire Commands ...
Страница 176: ...7 28 Acquire Commands SRATe AUTO ...
Страница 177: ...8 Bus Commands ...
Страница 187: ...9 Calibration Commands ...
Страница 195: ...10 Channel Commands ...
Страница 223: ...11 Common Commands ...
Страница 247: ...12 Digital Commands ...
Страница 254: ...12 8 ...
Страница 255: ...13 Disk Commands ...
Страница 300: ...13 46 Disk Commands STORe Obsolete ...
Страница 301: ...14 Display Commands ...
Страница 322: ...14 22 ...
Страница 323: ...15 External Trigger Commands ...
Страница 343: ...16 Function Commands ...
Страница 382: ...16 40 ...
Страница 383: ...17 Hardcopy Commands ...
Страница 391: ...18 Histogram Commands ...
Страница 403: ...19 InfiniiScan ISCan Commands ...
Страница 421: ...20 Limit Test Commands ...
Страница 429: ...21 Marker Commands ...
Страница 452: ...21 24 ...
Страница 453: ...22 Mask Test Commands ...
Страница 499: ...23 Measure Commands ...
Страница 636: ...23 138 Measure Commands VUPPer ...
Страница 637: ...24 Pod Commands ...
Страница 642: ...24 6 ...
Страница 643: ...25 Root Level Commands ...
Страница 645: ...25 3 STORe SETup STORe WAVeform TER Trigger Event Register VIEW ...
Страница 674: ...25 32 ...
Страница 675: ...26 Self Test Commands ...
Страница 679: ...27 System Commands ...
Страница 694: ...27 16 ...
Страница 695: ...28 Time Base Commands ...
Страница 708: ...28 14 ...
Страница 709: ...29 Trigger Commands ...
Страница 822: ...29 114 ...
Страница 823: ...30 Waveform Commands ...
Страница 893: ...31 Waveform Memory Commands ...
Страница 902: ...31 10 ...
Страница 903: ...32 Error Messages ...
Страница 914: ...32 12 ...