Unauthorized duplication of Teledyne LeCroy documentation materials other than for internal sales
and distribution purposes is strictly prohibited. However, clients are encouraged to distribute and
duplicate Teledyne LeCroy documentation for their own internal educational purposes.
WaveStation and Teledyne LeCroy are registered trademarks of Teledyne LeCroy, Inc. Windows is a
registered trademark of Microsoft Corporation. Other product or brand names are trademarks or
requested trademarks of their respective holders. Information in this publication supersedes all earlier
versions. Specifications are subject to change without notice.
922829 Rev C
November 2013
Command Reference
TABLE OF CONTENTS
Introduction to the WaveStation SCPI ................................................................................................. 3
How Listings Are Organized ............................................................................................................. 3
USB ................................................................................................................................................... 5
WVCSV - Get .CSV File Command .................................................................................................. 29
2 922829 Rev C
Command Reference
Introduction to the WaveStation SCPI
This manual describes the Standard Commands for Programmable Instruments (SCPI) that may be used
to control the Teledyne LeCroy WaveStation® 2000 and WaveStation 3000 Series Function/Arbitrary
Waveform Generators. All commands and queries can be executed locally or remotely. Most
commands can be sent as queries to retrieve current settings.
How Listings Are Organized
The commands are listed in alphabetical order according to their short form. Each command or query
is described with syntax, valid arguments, and examples. The command name (header) is given in short
form at the top of the page. Queries are recognized by the question mark (?) following the header.
A brief explanation of the function performed is given, followed by a presentation of the formal syntax
with the long form header given in upper- and lower-case characters and the short form derived from
it in all upper-case characters. Either form may be used in commands and queries.
IMPORTANT: Tables list command data parameters and valid values where there are many.
Parameters are listed in the order in which they are functionally processed for convenience.
Where applicable, the query syntax also is given with the format of its response.
In some cases, examples are given at the bottom of descriptions, following the lists of values.
Command Notation
The following notation is used in this manual to describe the command syntax:
< > Angular brackets enclose words that are used as 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 values
that may be used in a command instead of the placeholder.
{ } Braces enclose lists of values, one of which must be selected.
[ ] Square brackets enclose optional items.
… An ellipsis indicates that the items both to its left and right may be repeated a number of
times.
The letters used in the short command format are capitalized in the long format (e.g., BaSic_WaVe),
although they do not need to be capitalized in this fashion when writing commands.
922829 Rev C 3
WaveStation SCPI
Table of Commands & Queries
Short Long Subsystem What It Does
*IDN? *IDN SYSTEM Retrieves device identification infor mati on.
*OPC *OPC SYSTEM Sets the Event Status Register (ESR) OPC bit to TRUE (1).
*CLS *CLS SYSTEM Clears all status data registers
*ESE *ESE SYSTEM Sets the Standard Event Status Enable register (ESE)
*ESR? *ESR? SYSTEM Reads and clears the contents of the Event Status Register
(ESR)
*RST *RST SYSTEM Initiates a device reset.
*SRE *SRE SYSTEM Sets the Service Request Enable register (SRE)
*STB? *STB? SYSTEM Reads the contents of the 488.1 defined status register (STB),
and the Master Summary Status (MSS)
*TST *TST SYSTEM Performs an internal self-test.
*WAI *WAI SYSTEM Wait to continue command.
ARWV ARBWAVE SYSTEM Sets the instrument to an arbitr ary w aveform or retrieves Arbitrary
Waveform settings.
BSWV BASIC_WAVE SIGNAL Sets or retrieves basic wave parameters.
BTWV BURSTWAVE SIGNAL Sets instrument to a burst waveform or retrieves current Burst
Wave settings.
BUZZ BUZZER SYSTEM Sets or retrieves buzzer status.
CHDR COMM_HEADER Sets or retrieves the query return format.
INVT INVERT SIGNAL Sets or retrieves the phase of the output signal .
MDWV MODULATEWAVE SIGNAL Sets instrument to a modulated waveform or retrieves current
Modulate Wave settings.
OUTP OUTPUT SIGNAL Sets or retrieves output state.
PACP CHANNEL_COPY SIGNAL Copies parameters from one channel to the other
ROSC ROSCILLATOR SIGNAL Sets or retrieves the clock source.
SCFG SYSTEM_CONFIG SYSTEM Sets or r etrieves the st ate used ( last or default) w hen powering on
the WaveStation.
SCSV SCREEN_SAVE SYSTEM Sets screen saver on/off or retrieves screen saver statu s.
4 922829 Rev C
Command Reference
Short Long Subsystem What It Does
STL STORE_LIST SIGNAL Retrieves all waveform names stored in WaveStation’s device
memory.
SWWV SWEEP SIGNAL Sets instrument to sweep a waveform or retrieves Sweep Wave
settings.
SYNC SYNC SIGNAL Sends a Sync pulse upon occurrence of the specified functio n.
VKEY VIRTUAL_KEY SYSTEM Sends equivalent keyboard function to device.
WVCSV WAVE_CSV Saves .CSV file to user-defined memory location.
Configuring for Remote Control
Remote control is accomplished through the exchange of program messages between the WaveStation
and a controller computer using the selected interface:
• The GPIB interface utilizes standard IEEE 488.1 and IEEE 488.2 messages.
• The USB interface utilizes Teledyne LeCroy's VICP protocol, which emulates IEEE 488.2 and
includes standard operation bits in a header defined by the VICP protocol.
GPIB
Install the standard WaveStation USB2-GPIB adapter. Follow the rules in Program Messages when
writing your control files.
USB
Install Teledyne LeCroy’s ‘VICP Passport’ and NI-VISA on the controller machine. NI-VISA contains the
USB drivers needed to form the interface between the WaveStation and the controller. NI-VISA can be
downloaded free from www.ni.com/visa. You may use either the NI-VISA run-time or the full
download. The run-time download is significantly smaller.
The VICP Passport extends VISA to support Teledyne LeCroy's VICP protocol. The VICP passport may be
downloaded from www.teledynelecroy.com. Also see the application brief LAB_WM827 Understanding
VICP and the VICP Passport on Teledyne LeCroy's website for more information.
922829 Rev C 5
WaveStation SCPI
LabView Driver
Either the USB or GPIB interface can be utilized with the free LabView Driver to remote control the
WaveStation using LabView projects. To install the driver:
1. Download the driver from teledynelecroy.com/support/softwaredownload/ under Waveform
Generator Downloads > Software Utilities.
2. Copy the .zip archive to C:\Program Files 86\ NI\LabView2012\instr.lib on the PC hosting
LabView.
3. Unzip the archive and open the .lvproj file. There are three example LabView projects in this
folder that you can use to set up your own LabView workflow.
4. In the LabView software:
• Select USB or GPIB interface, depending on your connection type.
• In VISA resource, select the connected WaveStation Unit.
Waveform files saved in the WaveStation PC Software must be saved in SendWave CSV format to be
exchanged with LabView.
6 922829 Rev C
Command Reference
C1, C2
Channels 1 and 2
M1 to Mxx
Memory Units 1 through 59 (WS 2000) or 67 (WS 3000)
Program Messages
Program messages are composed of commands or queries separated by semicolons. Do not use a
terminator of any kind, including NULL terminators.
<command/query>; . . . . . ;<command/query>
Command/Query Syntax
The general form of a command or a query is an optional header path, followed by a command
header, optionally followed by one or several parameters (shown as <data> in the following
construct):
[header_path:]<header>[?] [<data>,...,<data>]
NOTE: There is a space between the header and the first parameter.
Commas separate parameters.
The question mark [?] is optional and turns the command into a query.
WaveStation does not distinguish between upper- and lowercase characters.
Header Path
Commands or queries that apply to a subsection of the WaveStation, such as a single input channel,
must have their headers prefixed with a path name indicating the recipient of the command. The
header path normally consists of an abbreviated path name followed by a colon ( : ) immediately
preceding the command header.
C2:ARWV NAME,ATAN
Header Path Name WaveStation Reference
We have included the header path in the command syntax in this manual for convenience.
922829 Rev C 7
WaveStation SCPI
Header
The header is the mnemonic form of the operation to be performed by the oscilloscope. Most headers
have a more easily recognized long form and a short form for better transfer and decoding speed. The
two can be used interchangeably:
Comm_HeaDeR is equivalent to CHDR
Some command or query mnemonics are imposed by the IEEE 488.2 standard. All these mnemonics
begin with an asterisk *. They comprise the first group of commands listed in this manual.
Data Parameters
When a command uses additional data values, they are expressed as ASCII data that can take the form
of character, numeric, or block data. Macro parameters are not implemented.
Character Data
These are simple alphanumeric words or abbreviations indicating a specific action.
In commands where you can specify many parameters, or where not all parameters are applicable at
the same time, the format requires pairs of character data values. The first value names the parameter
to be modified, while the second gives its value.
C1:BSWV TYPE,SINE,FRQ,1000,AMP,3,OFST,3
Numeric Data
The numeric data type is used to enter quantitative information. Numbers can be entered as integers,
fractions, or exponents:
C2:BURSTWAVE STATE,ON,DLAY,2.4e-07S
8 922829 Rev C
Command Reference
G
1E9
Giga-
MA
1E6
Mega-
P
1E-12
pico-
F
1E-15
femto-
A
1E-18
atto-
Numeric values can be followed with multipliers and units modifying the value of the numeric
expression. The following table of mnemonics is recognized by WaveStation:
Multiplier Exponential Notation
EX 1E18 Exa-
PE 1E15 Peta-
T 1E12 Tera-
K 1E3 Kilo-
M 1E-3 milli-
U 1E-6 micro-
N 1E-9 nano-
Suffix
Block Data
These are binary data values used to transfer waveforms between the WaveStation to the controller.
Buffer size limitations apply to block data:
• If data exceeding the WaveStation 512 byte input buffer limited is received, the excess is
discarded.
• If data exceeding the output queue is transmitted, commands that are not interpreted and
excess data are discarded.
922829 Rev C 9
WaveStation SCPI
SCPI Command Reference
*IDN? - Identification Query
DESCRIPTIONThe *IDN? query retrieves the instrument’s identification data. Response includes
manufacturer, model, serial number, software and firmware versions.
SYNTAX
RESPONSE
<device id>:= WST is used to identify instrument.
<model>:= A model identifier (less than 14 characters).
<serial number>:= A nine- or 10-digit decimal code.
<software version>:= Software version.
<firmware version>:= Two digits giving the major release level followed by a
DESCRIPTIONThe *OPC (OPeration Complete) command sets the OPC bit to TRUE in the
standard Event Status Register (ESR).
The *OPC? query always responds with the ASCII character 1 because the device
only responds to the query when the previous command has executed completely.
SYNTAX
QUERY SYNTAX
RESPONSE
RELATED *WAI
10 922829 Rev C
*OPC
*OPC?
*OPC 1
Command Reference
*CLS – Clear Status Command
DESCRIPTION The *CLS command clears all the status data registers.
SYNTAX
RELATED ALL_STATUS, CMR, DDR, *ESR, EXR, *STB, URR
*CLS
*ESE – Event Status Register Command
DESCRIPTIONThe *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.
SYNTAX
<value> : = 0 to 255
QUERY SYNTAX
RESPONSE
EXAMPLE 1 The following instruction allows the ESB bit to be set if a user request
*ESE <value>
*ESE?
*ESE <value>
(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.
Return:
RELATED*ESR
*ESE?
*ESE 72
*ESR? – Event Status Register Query
DESCRIPTIONThe *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.
SYNTAX
RESPONSE
<value> : = 0 to 255
RELATED ALL_STATUS, *CLS, *ESE
*ESR?
*ESR <value>
922829 Rev C 11
WaveStation SCPI
*RST – Reset Command
DESCRIPTION The *RST command initiates a device reset. The *RST sets all eight traces to the
GND line and recalls the default setup.
SYNTAX
*RST
RELATED *CAL, *RCL
*SRE – Service Request Enable Register Command
DESCRIPTIONThe *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.
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.
SYNTAX
<value> : = 0 to 255
*SRE <value>
QUERY SYNTAX
RESPONSE *
*SRE?
SRE <value>
EXAMPLE 1The 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:
12 922829 Rev C
*SRE 17
Command Reference
*STB? – Status Register Query
DESCRIPTIONThe *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.
SYNTAX
RESPONSE
<value> : = 0 to 255
RELATEDALL_STATUS, *CLS, *PRE, *SRE
*STB?
*STB <value>
*TST? – Test Query
DESCRIPTIONThe *TST? query performs an internal self-test, the response indicating whether
the self-test has detected any errors.
SYNTAX
RESPONSE
Where:
0 = self-test successful
1 = self-test failed
RELATED*CAL
*TST?
*TST {0|1}
*WAI – Wait Command
DESCRIPTION The *WAI (WAIt to continue) command is required by the IEEE 488.2 standard but
has no effect on the WaveStation, as the signal generator only starts processing a
command when the previous command has been entirely executed.
Indices 36-59 are reserved for user-defined waveforms up to 16K; indices 60-67 are for user-defined
waveforms up to 512K.
BSWV - Basic Wave Command
DESCRIPTION Sets or retrieves basic waveform parameters.
SYNTAX
<channel>:BaSicWaVe <parameter>
<channel>:= {C1|C2}
<parameter>:= {a parameter from the table below}
IMPORTANT: If the command doesn’t specify wave type (WVTP), the remaining parameters are
applied to the waveform type already selected on your WaveStation.
SYM <symmetry> Where <symmetry> :={0 to 100}. Parameter valid only when WVTP is RAMP.
DUTY <duty cycle>
PHSE <phase> Where <phase>:= {0 to 360}. If WVTP is NOISE, parameter is invalid.
STDEV
<standard
deviation>
Where <frequency>:= {default unit is Hz; minimum value 1xe-6 Hz, maximum
value depends on the model}. If WVTP is NOISE, parameter is invalid.
Where <amplifier>:= {default unit is V;
WS2000 Channel 1 min. 0.004V, max. 6V; Channel 2 min. 0.004V, max. 20V
WS3000 Channel 1 and 2 min. 2mVpp, max. 20Vpp}.
If WVTP is NOISE, parameter is invalid.
Where <offset>:= {default unit is V; maximum value depends on the
WaveStation model}. If WVTP is NOISE, parameter is invalid.
Where <duty cycle>:= {if WVTP is SQUARE, 20% to 80%; if WVTP is PULSE,
0.1% to 99.9%}.
Where <standard deviation>:= {default unit is V; min. 0.5mV; WS2000 max.
1.625V, WS3000 max. 1.599V}. Parameter is v alid only w hen WVTP is NOISE.
922829 Rev C 15
WaveStation SCPI
Parameters Value Description
MEAN <mean>
WIDTH <width> Value of width. Parameter is valid only when WVTP is PULSE.
RISE <rise> Value of rise. Parameter is valid only when WVTP is PULSE.
FALL <fall> Value of fall. Parameter is valid only when WVTP is PULSE.
DLY <delay>
QUERY SYNTAX<channel>:BaSicWaVe?
<channel>:= {C1|C2}
Parameter is valid only when WVTP is NOISE. Where <mean>:= { default unit is
V; range depends on <standard deviation>}.
Where <delay>:= {default unit is S; minimum 0, maximum is Pulse Period}.
Parameter is valid only when WVTP is PULSE.
IMPORTANT: Set STATE ON before setting other parameters. Specify carrier wave type before listing
other CARR parameters (e.g., C1:BTWV STATE,ON,CARR,WVTP,<value>....). Once set, you do not need
to repeat CARR; it is shown here to indicate which parameters can follow it.
Parameters Value Description
STATE {ON|OFF} To set or read other Burst Wave parameters, first set STATE ON.
PRD <period> Where <period>:= {default unit is S; WS2000 1µs to 500S; WS3000 1µs to
1000S}. Parameter is invalid when CARR,WVTP is NOISE or GATE_NCYC
is GATE. Parameter is valid only when TRSR is INT.
STPS <start phase> Where <start phase>:= {0 to 36 0}. Parameter is inv alid when CARR,WVTP is
NOISE or PULSE.
GATE_NCYC {GATE|NCYC} Configures burst waveform either gated or N-cycled. Parameter is invalid
when CARR,WVTP is NOISE.
TRSR {EXT, INT, MAN} Sets trigger source EXTernal, INTernal, or MANual. Parameter is valid only
when GATE_NCYC is NCYC.
DLAY <delay> Where <delay>:= {default unit is S; min. 0; max. depends on the Burst
period}. Parameter is valid only when GATE_NCYC is NCYC.
PLRT {NEG|POS} Sets polarity NEGative or POSitive. Parameter is valid only when
GATE_NCYC is GATE.
TRMD <trigger mode> Where <trigger mode>:= {RISE, FALL, OFF}. Parameter is invalid when
TRSR is EXT. Parameter is valid only when GATE_NCYC is NCYC.
EDGE {RISE|FALL} Use rising or fallin g edge. Parameter is invalid w hen CARR,WVTP is NOISE.
Parameter is valid only when GATE_NCYC is NCYC.
TIME <cycle time> Where <cycle time>:= {1 to 50000}. Parameter is valid only when
GATE_NCYC is NCYC.
MTRIG Triggers the device once. Parameter is valid only when TRSR is MAN.
CARR,WVTP <wave type>
(CARR,)FRQ <frequency>
Where carrier <wave type>:= {SINE, SQUARE, RAMP, PULSE, NOISE,
ARB}. CARR,WVTP cannot be NOISE if GATE_NCYC is NCYC.
Where carrier wave <frequency>:= {default unit is Hz; minimum 1xe-6 Hz,
maximum depends on the WaveStation mo del}.
922829 Rev C 17
WaveStation SCPI
Parameters Value Description
Where carrier wave <amplifier>:= {default unit is V;
(CARR,)AMP <amplifier>
(CARR,)OFST <offset>
(CARR,)SYM <symmetry> Where carrier wave <symmetry>:= {0% to 100%}.
(CARR,)DUTY <duty cycle>
(CARR,)PHSE <phase> Where carrier wave <phase>:= {0 to 360}.
(CARR,)RISE <rise> Value of carrier wave rising edge. Parameter valid only when CARR,WVTP
(CARR,)FALL <fall> Value of carrier wave falling edge. Parameter valid only when CARR,WVTP
(CARR,)DLY <delay>
(CARR,)STDEV
(CARR,)MEAN <mean> Parameter is valid only when CARR,WVTP is NOISE.
<standard
deviation>
WS2000 Channel 1 min. 0.004V max. 6V, Channel 2 min. 0.004V max. 20V
WS3000 Channel 1 and 2 min. 2mVpp max. 20Vpp}.
Where carrier wave <offset>:= {default unit is V; maximum value depends on
the WaveStation model}.
Where carrier wave <duty cycle>:= {if CARR,WVTP is SQUARE, 20% to
80%; if CARR,WVTP is PULSE, 0.1% to 99.9%}.
is PULSE.
is PULSE.
Where carrier wave <delay>:= {default unit is S; minimum 0, maximum is
value of Pulse Period}. Parameter is valid only when CARR,WVTP is
PULSE.
Parameter is valid only when CARR,WVTP is NOISE.
QUERY SYNTAX <channel>:BursTWaVe?
RESPONSE
<channel>:BursTWaVe <type>,<state>,<period>
EXAMPLE 1 Set Channel 1 burst waveform period to one second.
C1:BTWV PRD,1S
EXAMPLE 2 Read Channel 2 burst waveform parameters (and STATE is ON).
EXAMPLE 3 Read Channel 2 burst wave parameters (and STATE is OFF).
C2:BTWV?
Return:
C2:BURSTWAVE STATE,OFF
18 922829 Rev C
Command Reference
BUZZ - Buzzer Comma nd
DESCRIPTION Turns on/off the instrument’s buzzer.
SYNTAX
QUERY SYNTAX
RESPONSE
BUZZer {ON|OFF}
BUZZer?
BUZZer {ON|OFF}
CHDR - Command Header Command
DESCRIPTIONChanges the command/query return format. SHORT returns the short format;
LONG returns the long format; OFF retrieves no query results.
SYNTAX
QUERY SYNTAX
RESPONSE
EXAMPLE 1 Use the long format when returning data.
EXAMPLE 2 Read current command format.
Comm_HeaDeR {SHORT,LONG,OFF}
Comm_HeaDeR?
CHDR {SHORT,LONG,OFF}
CHDR LONG
CHDR?
Return:
COMM_HEADER LONG
INVT - Phase Command
DESCRIPTION Sets phase or retrieves current Phase settings.
SYNTAX
QUERY SYNTAX
RESPONSE
INVerT {ON|OFF}
INVerT?
INVERT {ON|OFF}
922829 Rev C 19
WaveStation SCPI
MDWV - Modulate Wave Command
DESCRIPTION Sets a modulated waveform or retrieves current Modulate Wave settings.
SYNTAX
<channel>:MoDulateWaVe <parameter>,<value>,…
<channel>:= {C1|C2}
<parameter>:= {a parameter from the table below }
<value>:- {a value from the table below)
IMPORTANT: This command cannot be used if Basic wave type is NOISE. To configure wave
modulation, first set STATE ON and specify AM, DSBAM, FM, PM, PWM, ASK, FSK or CARR before
setting related parameters (e.g., C1:MDWV STATE,ON,FM,<parameter>,<value>). Once set, you do not
need to repeat AM, DSBAM, FM, PM, PWM, ASK, FSK or CARR; it is shown here to indicate which
parameters can follow it.
Parameters Value Description
STATE {ON|OFF}
(AM,)SRC {INT|EXT} Specifies INTernal or EXTernal AM signal source.
(AM,)MDSP <wave shape>
(AM,)FRQ <frequency>
(AM,)DEPTH <depth>
(DSBAM,)SRC {INT|EXT} Specifies INTernal or EXTernal DSBAM signal source.
(DSBAM,)MDSP <wave shape>
(DSBAM,)FRQ <frequency>
(FM,)SRC {INT|EXT} Specifies internal or external FM signal source.
(FM,)MDSP <wave shape>
(FM,)FRQ < frequency>
(FM,)DEVI <frequency offset>
(PM,)SRC, {INT|EXT} Specifies internal or external PM signal source.
Turns on/off wave modulation. First set STATE ON before setting other
Modulate Wave parameters.
Where AM <wave shape>:= {SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}. Parameter is valid only when AM,SRC is INT.
Where AM <frequency>:= {WS2000 0.002Hz to 20000Hz; WS3000
0.001Hz to 50000Hz}. Parameter is valid only when AM,SRC is INT.
Where AM <depth>:= {0 to 120}. Parameter is valid only when AM,SRC is
INT.
Where DSBAM <wave shape>:= {SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}. Parameter is valid only when DSBAM,SRC is
INT.
Where DSBAM wave <frequency>:= {default unit is Hz; minimum is 1xe-6
Hz, maximum depends on the WaveS tation model}. Parameter is valid only
when DSBAM,SRC is INT.
Where FM <wave shape>:= {SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}. Parameter is valid only when FM,SRC is INT.
Where FM <frequency>:= {WS2000 0.002Hz to 20000Hz; WS3000
0.001Hz to 50000Hz} Parameter is valid only when FM,SRC is INT.
Where FM <frequency offset>:= {0 to basic wave frequency/2}. Parameter
is valid only when FM,SRC is INT.
20 922829 Rev C
Command Reference
Parameters Value Description
(PM,)MDSP <wave shape>
(PM,)FRQ <frequency>
(PM,)DEVI <phase offset>
(PWM,)FRQ <frequency>
(PWM,)DEVI
(PWM,)MDSP <wave shape>
(PWM,)SRC {INT|EXT} Sets pulse wave signal source to INTernal or EXTernal.
(ASK,)SRC {INT|EXT} Sets ASK signal source to INTernal or EXTernal.
(ASK,)KFRQ
(FSK,)KFRQ <key frequency>
(FSK,)HFRQ <hop frequency> Where FSK <hop frequency>:= {same as basic waveform frequency}.
(FSK,)SRC {INT|EXT} Sets FSK signal source to INTernal or EXTernal.
(CARR,)WVTP <wave type> Where carrier <wave type>:= {SINE, SQUARE, RAMP, ARB, PULSE}.
(CARR,)FRQ <frequency>
(CARR,)AMP <amplifier>
(CARR,)OFST <offset> Where carrier wave <offset>:= {default unit is V}.
(CARR,)SYM <symmetry> Where carrier wave <symmetry>:= {0% to 100%}.
(CARR,)DUTY <duty cycle>
(CARR,)PHSE <phase> Where carrier wave <phase>:= {0 to 360}.
(CARR,)RISE <rise> Value of rise.
(CARR,)FALL <fall> Value of fall.
(CARR,)DLY <delay> Value of delay.
<duty cycle
deviation>
<ASK key
frequency>
Where PM <wave shape>:= {SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}. Parameter is valid only when PM,SRC is INT.
Where PM <frequency>:= {WS2000 0.002Hz to 20000Hz; WS3000
0.001Hz to 50000Hz}. Parameter is va lid only when PM,SRC is INT.
Where PM <phase offset>:= {0 to 360}. Parameter is valid only when
PM,SRC is INT.
Where pulse wave < frequency>:= {0Hz to 4kHz}. Parameter is valid only
when CARR,WVTP is PULSE.
Where pulse wave <duty cycle dev iation >:= {depends on carrier waveform
duty cycle}. Parameter is valid only when CARR,WVTP is PULSE.
Where pulse <wave shape>:= {SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}. Parameter is valid only when CARR,WVTP is
PULSE.
Where <ASK key frequency>:= {WS2000 0.002Hz to 20000Hz; WS3000
0.001Hz to 1MHz}. Parameter is valid only when ASK,SRC is INT.
Where FSK <key frequency>:= {WS2000 0.002Hz to 50000Hz; WS3000
0.001Hz to 1MHz}. Parameter is valid only when FSK,SRC is INT.
Where carrier wave <frequency>:= {default unit is Hz; minimum value is
1xe-6 Hz, maximum value depends on the WaveStation model}.
Where carrier wave <amplifier>:= {default unit is V; Channel 1 minimum
0.004V, maximum 6V; Channel 2 minimum 0.004V, maximum is 20V).
Where carrier wave <duty cycle>:= {if CARR,WVTP is SQUARE, 20% to
80%; if CARR,WVTP is PULSE, 0.1% to 99.9%}.
922829 Rev C 21
WaveStation SCPI
QUERY SYNTAX<channel>:MoDulateWaVe?
<channel>:= {C1|C2}
RESPONSE
<channel>:MoDulateWaVe <parameter>,<value>,…
<parameter>:= {any parameters set for the modulated waveform}
EXAMPLE 1Set Channel 1 modulation to AM, and AM wave shape to SINE wave.
C1:MDWV STATE,ON,AM,MDSP,SINE
EXAMPLE 2 Set Channel 1 FM frequency to 1000Hz.
C1:MDWV STATE,ON,FM,FRQ,1000HZ
EXAMPLE 3 Read Channel 1 Modulate Waveform parameters (and STATE is ON).
DESCRIPTIONSets clock source to INTernal system clock or EXTernal clock, or retrieves the
current source.
SYNTAX
QUERY SYNTAX ROSCillator?
RESPONSE
ROSCillator {INT|EXT}
ROSCillator {INT|EXT}
SCFG - Configuration Command
DESCRIPTIONDetermines whether to use default settings or last saved settings when powering
on the WaveStation.
SYNTAX
QUERY SYNTAX Sys_CFG?
RESPONSE
Sys_CFG {DEFAULT|LAST}
Sys_CFG {DEFAULT|LAST}
SCSV - Screen Save Command
DESCRIPTIONSets idle time before turning on screen saver, or disables screen saver. Unit is
minutes.
SYNTAX
<value>:= {OFF,1,5,15,30,60,120,300}
QUERY SYNTAX
RESPONSE
EXAMPLE Turn on screen saver after five minutes of idle time.
SCreen_SaVe <value>
SCreen_SaVe?
SCreen_SaVe <value>
SCSV 5
24 922829 Rev C
Command Reference
STL? - Store List Query
DESCRIPTIONRetrieves the names of waveforms saved to WaveStation memory units. If a
user-defined memory unit (M50-M59 on WaveStation 2000 models and M36-M67
on WaveStation 3000 models) does not have a saved waveform, the query returns
the string “EMPTY”.
DESCRIPTION Sets sweep parameters or retrieves current Sweep Wave settings.
SYNTAX
<channel>:SWeepWaVe <parameter>,<value>…
<channel>:= {C1|C2}
<parameter>:= {a parameter from the table below}
<value>:= {a value from the table below}
IMPORTANT: Carrier wave type cannot be PULSE or NOISE. Set STATE ON and specify carrier wave type
before other CARR parameters (e.g., C1:SWWV STATE,ON,CARR,WVTP,SINE,…). Once set, you do not
need to repeat CARR before other parameters; it is shown here to indicate which parameters can
follow it.
Parameters Value Description
STATE {ON|OFF} Turns on/off sweep. To set other Sweep Wave parameters, first set
STATE ON.
TIME <time> Sweep time where <time>:= {0.001S to 500S}.
STOP <stop frequency> Where <stop frequency> may be the same as the basic wave frequency.
922829 Rev C 25
WaveStation SCPI
Parameters Value Description
START <start frequency> Where <start frequency> may be the same as the basic wave frequency.
TRSR {EXT, INT, MAN} Sets trigger source to EXTernal, INTernal, or MANual.
TRMD {ON|OFF} Turns on/off trigger output. Parameter is invalid if TRSR is EXT.
SWMD {LINE|LOG} Sets sweep mode to LINEear or LOGarithmic
DIR {UP|DOWN} Sweep direction.
EDGE {RISE|FALL} Use rising or falling edge. Parameter is valid only when TRSR is EXT.
MTRIG Triggers the device once. Para meter is va lid only when TRSR is MAN.
CARR,WVTP <wave type> Where carrier <wave type>:= {SINE, SQUARE, RAMP, ARB}.
(CARR,)FRQ <frequency>
(CARR,)AMP <amplifier>
(CARR,)OFST <offset>
(CARR,)SYM <symmetry> Where carrier wave <symmetry>:= {0% to 100%}.
(CARR,)DUTY <duty cycle>
(CARR,)PHSE <phase> Where carrier wave <phase>:= {0 to 360}.
Where carrier wave <frequency>:= {default unit is Hz; minimum 1xe-6 Hz,
maximum depends on the WaveStation model}.
Where carrier wave <amplifier>:= {default unit is V;
WS2000 Channel 1 min. 0.004V, max. 6V; Channel 2 min. 0.004V, max. 20V
WS3000 Channel 1 and 2 min. 2mVpp, max. 20Vpp}.
Where carrier wave <offset>:= {default unit is V; maximum depends on the
WaveStation model}.
Where carrier wave <duty cycle>:= {20 to 80}. Parameter is valid only when
CARR,WVTP is SQUARE.
QUERY SYNTAX<channel>:SWeepWaVe?
<channel>:= {C1|C2}
RESPONSE <parameter>:= {all current Sweep Wave parameters}
EXAMPLE 1 Set Channel 1 sweep time to one second.
C1:SWWV STATE,ON,TIME,1S
EXAMPLE 2 Read Channel 2 Sweep Wave parameters (when STATE is ON).
DESCRIPTIONSaves a .CSV format waveform file from an outside source to a user-defined
memory location on the WaveStation. The number of data points In the file is
limited by your WaveStation model (16k for WaveStation 2000 and 512k for
WaveStation 3000).
<csvdata>:= List of Amplitude values (Volts) expressed in decimal format from
the .CSV file, using Amplitude as header. Values must be less than
the Voltage limit for your WaveStation model.
TIP: To avoid manually entering all the values in the .CSV file in the command, use a high-level
language such as C or LabView to generate the command automatically from a .CSV file saved on a
specific path (e.g., C:\Documents\WaveStation\3000\Wave1.csv). Go to teledynelecroy.com for
example LabView code.
EXAMPLEIf a .CSV file has the content:
Amplitude,0,0.0012,0.0023,0.0035,…
Then the final SCPI command transferred over USBTMC is: