beautypg.com

System command – GW Instek GDS-1000 Series Programming Manual User Manual

Page 7

background image

COMMAND

DETAILS

13

5B

System command

*IDN............................................................................

198H

13

*LRN ...........................................................................

199H

13

*RST ............................................................................

200H

14

:SYSTem:ERRor...........................................................

201H

14

:SYSTem:VERSion.......................................................

202H

14

15B

*IDN

Query

Description

Returns the oscilloscope ID: manufacturer, model
name, serial number, and firmware version.
Same as: Utility key → F4

Syntax

:idn?

Example :idn?

GW, GDS1022, P930116,
V0.21

Returns the ID for a
GDS-1022.

16B

*LRN

Query

Description

Returns the oscilloscope settings as a data string.

Syntax

:lrn?

Example :lrn?

:DISPlay:WAVeform 0;DISPCONTrast 500;GRATicule
0;:CURSor:SOURce 1;X1Position ;X2 Position ;
Y1Position ;Y2Position ;XDELTa ;YDELTa ;XDISPlay 2;YDISPlay
2;:CHANnel 1:BWLimit 0;COUPling 0;DISPlay 1;INVert 0;MATH
0;OFFSet 2.000e+00; PROBe 0;SCALe 2.000e+00 ;:
CHANnel2:BWLimit 0;COUPling 0;DISPlay 1;INVert 0;MATH
0;OFFSet 2.000e+00;PROBe 0;SCALe 2.000e+00;: CHANnel2:
BWLimit 0;COUPling 0;DISPlay 1;INVert 0;MA TH 0;OFFSet
2.000e+00;PROBe 0;SCALe 2.000e+00;: CHANnel2:BWLimit
0;COUPling 0;DIS Play 1;INVert 0;MATH 0;OFFSet
2.000e+00;PROBe 0;SCALe 2.000e+00;:CHANnel2:BWLimit
0;COUPling 0;DISPlay 1;INVert 0;MATH 0;OFFSet
2.000e+00;PROBe 0;SCALe 2.000e+00;:TIMebase:DELay 0.000e+00;
SCALe 2.500e-06;SWEep0;: AUToset;: REFResh;: RUN;:STOP

GDS-1000 Programming Manual

14

17B

*RST

Set

Description

Resets the GDS-1000 (recalls the default panel
settings).
Same as: Save/Recall key → F1

Syntax *rst

18B

:SYSTem:ERRor

Query

Description

Returns the oscilloscope system error message, if
there is any.

Syntax

< Long >

< Short >

:system:error? :syst:err?

Parameter

ID

Contents

ID

Contents

-100

command error

-102

syntax error

-220

parameter error -221 settings conflict

-222

data out of range -223 too much data

-224

illegal parameter -232 invalid format

Example :system:error?

-102

Indicates that the
command syntax is
wrong

19B

:SYSTem:VERSion

Query

Description

Returns the oscilloscope firmware version.
Same as: Utility key → F4 (only the firmware
version)

Syntax

< Long >

< Short >

:system:version?

:syst:vers?

Note

For retrieving all system information including the
firmware version, use the *idn? command.