SIGLENT SDG Series, SDG1000 Series Remote Control Manual

Remote Control Manual
SDG1000 Series Function/Arbitrary Waveform Generator
RC02010-E02A
Remote Control Manual
Catalogue
1.1. About Commands & Queries ......................................................................... 1
1.1.1. How they are listed? ............................................................................... 1
1.1.2. How they are described? ........................................................................ 1
1.1.3. When can they be used? ........................................................................ 1
1.1.4. Command Notation ................................................................................. 2
1.2. Table of Commands & Queries ...................................................................... 3
1.3. IEEE 488.2 Common Command Introduction ............................................... 5
1.3.1 IDN .......................................................................................................... 5
1.3.2 OPC ........................................................................................................ 6
1.3.3 CLS ......................................................................................................... 6
1.3.4 ESE ......................................................................................................... 7
1.3.5 ESR ......................................................................................................... 8
1.3.6 RST ......................................................................................................... 8
1.3.7 SRE ......................................................................................................... 9
1.3.8 STB ....................................................................................................... 10
1.3.9 TST ....................................................................................................... 11
1.3.10 WAI ....................................................................................................... 11
1.3.11 DDR ...................................................................................................... 12
1.3.12 CMR ...................................................................................................... 13
1.4. Comm_Header Command ........................................................................... 14
1.5. Output Command ......................................................................................... 15
1.6. Basic Wave Command................................................................................. 16
1.7. Modulate Wave Command .......................................................................... 18
1.8. Sweep Wave Command .............................................................................. 22
1.9. Burst Wave Command ................................................................................. 24
1.10. Parameter Copy Command ......................................................................... 27
1.11. Arbitrary Wave Command ............................................................................ 28
1.12. Sync Command............................................................................................ 29
1.13. Number Format Comand ............................................................................. 30
1.14. Language Command ................................................................................... 31
1.15. Configuration Command .............................................................................. 31
1.16. Buzzer Command ........................................................................................ 32
1.17. Screen Save Command ............................................................................... 32
1.18. Clock Source Command .............................................................................. 33
1.19. Store list command ...................................................................................... 34
1.20. Virtual key command ................................................................................... 35
1.21. Index............................................................................................................. 36
Remote Control Manual
Introduction to the SCPI Language
1.1. About Commands & Queries
This section lists and describes the remote control commands and queries recognized by the instrument. All commands and queries can be executed in either local or remote state.
The description for each command or query, with syntax and other information, begins on a new page. The name (header) is given in both long and short form at the top of the page, and the subject is indicated as a command or query or both. Queries perform actions such as obtaining information, and are recognized by the question mark (?) following the header.
1.1.1. How they are listed?
The descriptions are listed in alphabetical order according to their short form.
1.1.2. How they are described?
In the descriptions themselves, a brief explanation of the function performed is
given. This is followed by a presentation of the formal syntax, with the header given in Upper-and-Lower-Case characters and the short form derived from it in ALL UPPER-CASE characters. Where applicable, the syntax of the query is given with the format of its response.
1.1.3. When can they be used?
The commands and queries listed here can be used for SDGxxxx Series digital instruments.
1
Remote Control Manual
1.1.4. Command Notation
The following notation is used in the commands: < > Angular brackets enclose words that are used placeholders, of which there are two types: the header path and the data parameter of a command. := A colon followed by an equals sign separates a placeholder from the description of the type and range of values that may be used in a command instead of the placeholder. { } Braces enclose a list of choices, one of which one must be made. [ ] Square brackets enclose optional items. … An ellipsis indicates that the items both to its left and right may be repeated a number of times.
2
Remote Control Manual
data
1.2. Table of Commands & Queries
Short Long Form Subsystem What Command/Query does
*IDN *IDN SYSTEM Get identification from device.
*OPC *OPC SYSTEM Get or set the OPC bit (0) in the
Event Status Register (ESR).
*CLS *CLS SYSTEM Clears all the status data
registers.
*ESE *ESE SYSTEM set or get the Standard Event
Status Enable register.
*ESR *ESR SYSTEM reads and clears the contents
of the Event Status Register.
*RST *RST SYSTEM Initiates a device reset.
*SRE *SRE SYSTEM Set the Service Request
Enable register.
*STB *STB SYSTEM Get the contents of the 488.1
defined status register.
*TST *TST SYSTEM Get performs an internal
self-test.
*WAI *WAI SYSTEM wait to continue command
CHDR COMM_HEADER SYSTEM Set the format of Return
Long, short, off.
BSWV BASIC_WAVE SIGNAL Set or get basic wave
parameters.
ARWV ARBWAVE Data
SYSTEM
BUZZ BUZZER SYSTEM Set or get buzzer State.
Change arbitrary wave type.
SCFG SYSTEM_CONFIG SYSTEM Set or get power on initializing
parameter way
ROSC ROSCILLATOR SIGNAL Set or get clock source.
OUTP OUTPUT SIGNAL Set or get output state.
PACP CHANNEL_COPY SIGNAL Copy parameters from channel
one to channel two, or from
channel two to channel one.
SCSV SCREEN_SAVE SYSTEM Set or get screen save State.
SWWV SWEEP SIGNAL Set or get sweep wave.
SYNC SYNC SIGNAL Set or get in-phase signal.
BTWV BURSTWAVE SIGNAL Set or get burst wave
parameters.
MDWV MODULATEWAVE SIGNAL Set or get modulate wave
parameters.
3
Remote Control Manual
NBFM NUMBER_FORMAT SYSTEM Set Data Format.
STL STORE_LIST SIGNAL Get the all of device wave date
name.
VKEY VIRTUALKEY SYSTEM Set the virtual key.
DDR DDR SYSTEM Reads and clears the Device
Dependent Register
CMR CMR SYSTEM Reads and clears the
Command error Register
4
Remote Control Manual
1.3. IEEE 488.2 Common Command Introduction
IEEE standard defines the common commands used for querying the basic information of
the instrument or executing basic operations. These commands usually start with "*" and
the length of the keywords of the command is usually 3 characters.
1.3.1 IDN
DESCRIPTION
QUERY SYNTAX
RESPONSE FORMAT
EXAMPLE
The *IDN? Query causes the instrument to identify itself. The
response comprises manufacturer, scope model, serial number,
software version and firmware version.
*IDN?
*IDN, <device id>,<model>,<serial number>,<software
version>,<firmware version> <device id>=“WST”is used to identify instrument.
<model>:= A model identifier less than 14 characters.
<software version>:= A serial numbers about software version.
<firmware version>:= two digits giving the major release level
followed by a period, then one digit giving the minor release level
followed by a period and a single-digit update level (xx.y.z).
Reads version information.
*IDN?
Return:
*IDN WST,WaveStation 3162,120465,5.01.02.05,02-00-00-21
-24(Return may differ from each version)
5
Remote Control Manual
1.3.2 OPC
DESCRIPTION
COMMAND SYNTAX
QUERY SYNTAX
RESPONSE FORMAT
RELATED COMMANDS
The *OPC (Operation Complete) command sets to true the OPC
bit (bit 0) in the standard Event Status Register (ESR).
This command has no other effect on the operation of the
device because the instrument starts parsing a command
or query only after it has completely processed the previous
command or query.
The *OPC? query always responds with the ASCII character 1
because the device only responds to the query when the
previous command has been entirely executed.
*OPC
*OPC?
*OPC 1
*WAI
1.3.3 CLS
DESCRIPTION
COMMAND SYNTAX
EXAMPLE
RELATED COMMANDS
The *CLS command clears all the status data registers.
*CLS
The following command causes all the status data registers to be
cleared:
*CLS
ALL_STATUS, CMR, DDR, *ESR, EXR, *STB, URR
6
Remote Control Manual
1.3.4 ESE
DESCRIPTION
COMMAND SYNTAX
QUERY SYNTAX
RESPONSE FORMAT
EXAMPLE
RELATED COMMANDS
The *ESE command sets the Standard Event Status Enable
register (ESE). This command allows one or more events in the
ESR register to be reflected in the ESB summary message bit(bit
5) of the STB register.
The *ESE? query reads the contents of the ESE register.
*ESE <value>
<value> : = 0 to 255
*ESE?
*ESE <value>
The following instruction allows the ESB bit to be set if a user
request (URQ bit 6, i.e. decimal 64) and/or a device dependent
error (DDE bit 3, i.e. decimal 8) occurs. Summing these values
yields the ESE register mask 64+8=72.
*ESE?
Return:
*ESE 72
*ESR
7
Remote Control Manual
1.3.5 ESR
DESCRIPTION
QUERY SYNTAX
RESPONSE FORMAT
EXAMPLE
RELATED COMMANDS
The *ESR? query reads and clears the contents of the Event
Status Register (ESR). The response represents the sum of the
binary values of the register bits 0 to 7. The table below gives an
overview of the ESR register structure.
*ESR?
*ESR <value>
<value> : = 0 to 255
The following instruction reads and clears the contents of the
ESR register:
*ESR? Return
*ESR 0
ALL_STATUS, *CLS, *ESE
1.3.6 RST
DESCRIPTION
COMMAND SYNTAX
EXAMPLE
RELATED COMMANDS
The *RST command initiates a device reset. The *RST sets all
eight traces to the GND line and recalls the default setup.
* RST
This example resets the signal generator:
*RST
*CAL, *RCL
8
Remote Control Manual
1.3.7 SRE
DESCRIPTION
COMMAND SYNTAX
QUERY SYNTAX
RESPONSE FORMAT
EXAMPLE
The *SRE command sets the Service Request Enable register
(SRE). This command allows the user to specify which summary
message bit(s) in the STB register will generate a service
request. Refer to the table on page 167 for an overview of the
available summary messages.
A summary message bit is enabled by writing a ‘1’ into the
corresponding bit location. Conversely, writing a ‘0’ into a given
bit location prevents the associated event from generating a
service request (SRQ). Clearing the SRE register disables SRQ
interrupts.
The *SRE? query Returns a value that, when converted to a
binary number, represents the bit settings of the SRE register.
Note that bit 6 (MSS) cannot be set and its Returned value is
always zero.
*SRE <value>
<value> : = 0 to 255
*SRE?
*SRE <value>
The following instruction allows an SRQ to be generated as soon
as the MAV summary bit (bit 4, i.e. decimal 16) or the INB
summary bit (bit 0, i.e. decimal 1) in the STB register, or both,are
set. Summing these two values yields the SRE mask 16+1 = 17.
*SRE?
Return:
*SRE 17
9
Remote Control Manual
1.3.8 STB
DESCRIPTION
QUERY SYNTAX
RESPONSE FORMAT
EXAMPLE
RELATED COMMANDS
The *STB? query reads the contents of the 488.1 defined status
register (STB), and the Master Summary Status (MSS).
The response represents the values of bits 0 to 5 and 7 of the
Status Byte register and the MSS summary message.
The response to a *STB? query is identical to the response of a
serial poll except that the MSS summary message appears in bit
6 in place of the RQS message. Refer to the table on page 167
for further details of the status register structure.
*STB?
*STB <value>
<value> : = 0 to 255
The following reads the status byte register:
*STB?
Return:
*STB 0
ALL_STATUS, *CLS, *PRE, *SRE
10
Loading...
+ 26 hidden pages