WaveStation SCPI Command Reference M anual
Wave Station SCPI (Standard Commands for Programmable Instruments) Command Reference Manual March, 2012
LeCroy Corporation 700 Chestnut Ridge Road Chestnut Ridge, NY, 10977-6499 Tel: (845) 578-6020, Fax: (845) 578 5985 Internet: www.lecroy.com © 2012 by LeCroy Corporation. All rights reserved. LeCroy and 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. Manufactured under an ISO 9000 Registered Quality Management System. Visit www.lecroy.
WaveStation SCPI Command Reference Manual TABLE OF CONTENTS Introduction to the SCPI Language ..................................................................................................................5 About Commands & Queries ......................................................................................................................5 Command Notation ....................................................................................................................................
WaveStation SCPI Command Reference Manual Introduction to the SCPI Language About Commands & Queries This section lists and describes the remote control Commands and Queries used for accessing the LeCroy WaveStation Series Function/Abitrary Waveform Generators. All commands and queries can be locally or remotely executed. This reference manual provides a description for each command or query along with syntax and other information for clarification purposes.
WaveStation SCPI Command Reference Manual Table of Commands & Queries Short *IDN Long Form *IDN Subsystem SYSTEM *OPC *OPC SYSTEM ARWV ARBWAVE Data SYSTEM BSWV BASIC_WAVE SIGNAL BTWV BURSTWAVE SIGNAL BUZZ CHDR INVT BUZZER COMM_HEADER INVERT SYSTEM MDWV MODULATEWAVE SIGNAL OUTP PACP OUTPUT CHANNEL_COPY SIGNAL SIGNAL ROSC SCFG ROSCILLATOR SYSTEM_CONFIG SIGNAL SYSTEM SCSV SCREEN_SAVE SYSTEM STL STORE_LIST SIGNAL SWWV SWEEP SIGNAL VKEY SYNC SYSTEM_FRONT_PANEL SYNC SYSTEM SI
WaveStation SCPI Command Reference Manual 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 keyword command length is usually 3 characters.
WaveStation SCPI Command Reference Manual IDN – Identification Command DESCRIPTION The *IDN? Query returns the instruments identification data. The response includes manufacturer, model, serial number, software, and firmware version. QUERY SYNTAX *IDN? RESPONSE FORMAT *IDN ,,,,, := “WST” is used to identify instrument. := A model identifier (less than 14 characters). := A nine- or 10-digit decimal code.
WaveStation SCPI Command Reference Manual OPC – Operation Complete Command DESCRIPTION The *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 executes completely.
WaveStation SCPI Command Reference Manual ARWV – Arbitrary Wave Command DESCRIPTION Changes the arbitrary waveform type. COMMAND SYNTAX : ARbWaVe , := {C1,C2} : 2 to 60 (The following table provides index number meanings.) : See the following table.
WaveStation SCPI Command Reference Manual BSWV – Basic Wave Command DESCRIPTION This command sets or retrieves basic waveform parameters. COMMAND SYNTAX : BaSicWaVe := {C1,C2} := {A parameter from the following table} Parameters Value Description WVTP FRQ AMP OFST SYM DUTY PHSE WAR MEAN DLY Sets the type of waveform.
WaveStation SCPI Command Reference Manual := The maximum value is 2.222V and the minimum value is 0.4mV. The default unit is in “V”. := The range depends on the variance setting. The default unit is in “V”. := The maximum delay value is the Pulse Period and the minimum value is 0. Units are in S.
WaveStation SCPI Command Reference Manual BTWV – Burst Wave Command DESCRIPTION Sets the waveform type to a Burst waveform or sets specific Burst waveform parameters. Note: The carrier waveform cannot be set to Noise when using a Burst waveform set to NCycle. COMMAND SYNTAX : BursTWaVe := {C1,C2} := {A parameter from the following table.
WaveStation SCPI Command Reference Manual CARR, MEAN Only applicable when the carrier waveform is set to Noise, this parameter sets the mean. Note: Tables specifically covering command arguments are listed in the order in which they are functionally processed for convenience. Where: := {ON,OFF} := {The default unit is in “S”. 1µs to 500s} := {0 to 360} := {GATE,NCYC} := {EXT,INT,MAN} := {The default unit is in “S”.
WaveStation SCPI Command Reference Manual EXAMPLE 3 Queries the C2 Burst waveform status. C2: BTWV? Return: C2: BURSTWAVE STATE,ON,PRD,0.01S,STPS,0,TRIG,IN,TRMD,OFF,TIME,1,DLAY,2.4e07S,GATE_NCYC,NCYC,PLRT,NEG,CARR,WVTP,SINE,FRQ,1000HZ,AMP,4V,OFST,0 V,PHSE,0 EXAMPLE 4 Retrieves the C2 modulate waveform parameter confirming that the STATE is OFF.
WaveStation SCPI Command Reference Manual BUZZ – Buzzer Command DESCRIPTION Turns the instrument’s Buzzer on or off. COMMAND SYNTAX BUZZer := {ON,OFF} QUERY SYNTAX BUZZer? RESPONSE FORMAT BUZZer EXAMPLE 1 Turn on the buzzer.
WaveStation SCPI Command Reference Manual CHDR – Command Header Command DESCRIPTION This Command is used to change the query command return format. The SHORT parameter retrieves the query data in its short form, while the LONG parameter retrieves the query data in its long form. The OFF parameter retrieves no query results. COMMAND SYNTAX Comm_HeaDeR := {SHORT,LONG,OFF} QUERY SYNTAX Comm_HeaDeR? RESPONSE FORMAT SYNC EXAMPLE 1 Set the query command format to LONG.
WaveStation SCPI Command Reference Manual INVT – Phase Command DESCRIPTION Sets or retrieves the phase parameter. COMMAND SYNTAX INVerT := {OFF,ON} QUERY SYNTAX INVerT? RESPONSE FORMAT INVERT EXAMPLE 1 Set the signal to inverse value.
WaveStation SCPI Command Reference Manual MDWV – Modulate Wave Command DESCRIPTION This command sets the waveform type to a Modulated waveform. The command also can set or retrieve modulated waveform parameters. COMMAND SYNTAX : MoDulateWaVe := {C1,C2} := {A parameter from the following table.
WaveStation SCPI Command Reference Manual Tables specifically covering command arguments are listed in the order in which they are functionally processed for convenience. Where: := {ON,OFF} := {INT,EXT} := {SINE,SQUARE,TRIANGLE,UPRAMP,DNRAMP,NOISE,ARB} := {0.002Hz to 20000Hz} := {0 to 120} := {0.002Hz to 20000Hz} := {0 to basic waveform frequency / 2} := {0.
WaveStation SCPI Command Reference Manual EXAMPLE 2 Set the modulation shape to AM, and set the AM type to a Sine wave. C1: MDWV AM, MDSP, SINE EXAMPLE 3 Read the C1 modulate waveform parameters confirming that STATE is ON. C1: MDWV? Return: C1: MDWV STATE,ON,AM,MDSP,SINE,SRC,INT,FRQ,100HZ,DEPTH,100,CARR,WVTP,RAMP,FR Q,1000HZ,AMP,4V,OFST,0V,SYM,50 EXAMPLE 3 Read the C1 modulate waveform parameters confirming that STATE is OFF.
WaveStation SCPI Command Reference Manual OUTP - Output Command DESCRIPTION Enable or disable the output connector on the front panel for a specified channel. The query returns an On or Off value.
WaveStation SCPI Command Reference Manual PACP – Channel Parameter Copy Command DESCRIPTION Copy the channel and all corresponding parameter data to the other channel. COMMAND SYNTAX PAraCoPy , := {C1,C2} := {C1,C2} Note: The source and destination channels must be different. EXAMPLE 1 Copy channel parameters from C1 to C2.
WaveStation SCPI Command Reference Manual ROSC – Clock Source Command DESCRIPTION Sets or retrieves the clock source. COMMAND SYNTAX ROSCillator := {INT, EXT} QUERY SYNTAX ROSCillator? RESPONSE FORMAT ROSC EXAMPLE 1 Use the systems internal clock source.
WaveStation SCPI Command Reference Manual SCFG – Configuration Command DESCRIPTION This command determines whether or not to load the default or last settings when powering on the WaveStation. COMMAND SYNTAX Sys_CFG := {DEFAULT,LAST} QUERY SYNTAX Sys_CFG? RESPONSE FORMAT Sys_CFG EXAMPLE 1 Set the system to recall the last settings used when powering up.
WaveStation SCPI Command Reference Manual SCSV – Screen Save Command DESCRIPTION Sets the instrument screen saver time or turns it Off. Screen saver time value is in minutes. COMMAND SYNTAX SCreen_SaVe := {OFF,1,5,15,30,60,120,300, The default unit is minutes} QUERY SYNTAX SCreen_SaVe? RESPONSE FORMAT SCreen_SaVe EXAMPLE 1 Set the screen saver time to 5 minutes.
WaveStation SCPI Command Reference Manual STL – Store list command DESCRIPTION This command is used to retrieve the names of waveforms saved to WaveStation memory. If a memory bank is empty and does not have a corresponding waveform saved to it, the command returns an EMPTY string. Note: M50~ M59 are available user-defined memory locations on the instrument. The name parameter only returns defined locations. If locations are undefined, the name is returned as “EMPTY”.
WaveStation SCPI Command Reference Manual SWWV – Sweep Wave Command DESCRIPTION Sets or retrieves Sweep waveform parameters. COMMAND SYNTAX : SWeepWaVe := {C1,C2} := {A parameter from the following table.
WaveStation SCPI Command Reference Manual := {LINE,LOG} := {UP,DOWN} := {ON,OFF} := {SINE,SQUARE,RAMP,ARB} := {The default unit is in “HZ”. The minimum value is 1xe-6 HZ, maximum value depends on the model.} := {The default unit is in “V”. The C1 minimum value is 0.004V, maximum is 6V. The C2 minimum value is 0.004V, maximum is 20V.} := {The default unit is in “V”. The maximum value depends on your WaveStation model.
WaveStation SCPI Command Reference Manual VKEY – Virtual key command DESCRIPTION This command is used to send keystrokes to your device. COMMAND SYNTAX VirtualKEY VALUE,,STATE, := {A parameter from the following table.
Operator's or Getting Started Manual SYNC – Sync Command DESCRIPTION This command synchronizes the channel output on the rear of the instrument to the channel output on the front of the instrument. COMMAND SYNTAX : SYNC := {C1,C2} := {ON,OFF} QUERY SYNTAX : SYNC? RESPONSE FORMAT : SYNC EXAMPLE 1 Set the sync to C1 and ON C1: SYNC ON EXAMPLE 2 Retrieve the sync state of C1.
WaveStation SCPI Command Reference Manual Thank you for purchasing a WaveStation Arbitrary Waveform Generator 920595 RevA 32