beautypg.com

Teledyne LeCroy WaveStation SCPI Command Reference Manual User Manual

Page 28

background image

WaveStation SCPI

Parameters

Value

Description

START

Where 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. Parameter is valid only when TRSR is MAN.

CARR,WVTP

Where carrier := {SINE, SQUARE, RAMP, ARB}.

(CARR,)FRQ

Where carrier wave := {default unit is Hz; minimum 1xe-6 Hz,

maximum depends on the WaveStation model}.

(CARR,)AMP

Where carrier wave := {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}.

(CARR,)OFST

Where carrier wave := {default unit is V; maximum depends on the

WaveStation model}.

(CARR,)SYM

Where carrier wave := {0% to 100%}.

(CARR,)DUTY

Where carrier wave := {20 to 80}. Parameter is valid only when

CARR,WVTP is SQUARE.

(CARR,)PHSE

Where carrier wave := {0 to 360}.

QUERY SYNTAX

:SWeepWaVe?

:=

{C1|C2}

RESPONSE

:= {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).

C2:SWWV?

Return:

C2:SWWV STATE,ON,TIME,1S,STOP,100HZ,START,100HZ,

TRSR,MAN,TRMD,OFF,SWMD,LINE,DIR,UP,CARR,WVTP,SQUARE,

FRQ,1000HZ,AMP,4V,OFST,0V,DUTY,50

EXAMPLE 3

Read Channel 2 Sweep Wave parameters (when STATE is OFF).

C2:SWWV?

Return:

C2:SWWV STATE,OFF

26

922829 Rev C