background image

Common Command Introduction

14

<channel>={C1, C2}

<parameter>={a parameter from the table below}

2.15.1 Paramters

Parameters Value

Description

STATE

<state>

Turn on or off sweep. Note: if you want to set or read

other parameters you must set STATE to ON at first.

TIME

<time>

Value of sweep time.

STOP

<stop frequency> Value of stop frequency.

START

<start frequency> Value of start frequency.

TRSR

<trigger src>

Trigger source.

TRMD

<trigger mode> State of trigger output. If TRSR is EXT, the parameter is

invalid.

SWMD

<sweep mode>

Sweep style.

DIR

<direction>

Sweep direction.

EDGE

<edge>

Value of edge. Only when TRSR is EXT, the parameter is

valid.

MTRIG

<manual trigger> Make a manual trigger. Only when TRSR is MAN, the

parameter is valid.

CARR,WVTP <wave type>

Carrier type.

CARR, FRQ <frequency>

Value of carrier frequency.

CARR, AMP <amplitude>

Value of carrier amplitude.

CARR, OFST <offset>

Value of carrier offset.

CARR, SYM <symmetry>

Value of carrier symmetry, Only Ramp can set this

parameter.

CARR,DUTY <duty>

Value of carrier duty cycle. Only Square can set this

parameter.

CARR,Phase <phase>

Value of carrier phase.

Note:

If carrier is Pulse or Noise you can’t turn on sweep.

If you want to set CARR and STATE, the first parameter has to be one of them.

where:

<state>={ON, OFF}

<time>={Default unit is "S". Value depends on the model.} <stop frequency> ={the same

with basic wave frequency}

<start frequency> ={the same with basic wave frequency}

<trigger src>={EXT, INT, MAN}

<trigger mode>={ON, OFF}

<sweep mod>={LINE, LOG}

<direction>={UP, DOWN}

<edge>={RISE, FALL} <wave type>={SINE ,SQUARE, RAMP, ARB}

<frequency> ={Default unit is "Hz". Value depends on the model.}

<amplitude> ={Default unit is "V". Value depends on the model.}

<offset> ={Default unit is "V", Value depends on the model.}

<duty>={0% to 100%.}

<symmetry>={0% to 100%}

Note:

There are some parameters Value depends on the model, You can read version

datasheet.

Query Format

<channel>:SWeepWaVe? <channel>={C1, C2}

Summary of Contents for 4060B Series

Page 1: ......

Page 2: ... 1 Paramters 16 2 17 Parameter Copy Command 17 2 18 Arbitrary Wave Command 17 2 18 1 Notes 18 2 19 Sync Command 18 2 20 Number Format Command 18 2 21 Language Command 19 2 22 Configuration Command 19 2 23 Buzzer Command 19 2 24 Screen Save Command 20 2 25 Clock Source Command 20 2 26 Frequency Counter Command 20 2 27 Invert Command 21 2 28 Coupling Command 21 2 29 Voltage Overload Command 22 2 30 ...

Page 3: ...owed 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 3 When can they be used The commands and queries listed here can be used for 4060B Series arbitrary function waveform generators 1 4 Command Notation T...

Page 4: ...ister SRE STB STB SYSTEM Gets the contents of the IEEE 488 2 defined status register TST TST SYSTEM Performs an internal self test WAI WAI SYSTEM Wait to continue command CHDR COMM_HEADER SIGNAL Sets or gets the command returned format OUTP OUTPUT SIGNAL Sets or gets output state BSWV BASIC_WAVE SIGNAL Sets or gets basic wave parameters MDWV MODULATEWAVE SIGNAL Sets or gets modulation parameters S...

Page 5: ...IGNAL Sets or gets sampling rate You can only use it in TrueArb mode HARM HARMonic SIGNAL Sets or gets harmonic information CMBN COMBINE SIGNAL Sets or gets wave combine information 2 1 IDN Description The IDN query causes the instrument to identify itself The response comprises manufacturer model serial number software version and firmware version Query Format IDN Response Format IDN device id mo...

Page 6: ...ription The ESE command sets the Standard Event Status Enable register ESE This command al lows 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 Command Syntax ESE value value 0 to 255 Query Format ESE Query Response ESE value Example The following instruction allows the ESB bit to b...

Page 7: ... 0 to 255 Query Format SRE Query Response SRE value Example The following instruction allows a 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 2 8 STB Description The STB query reads the contents of the 488 2 defined status re...

Page 8: ...cription This command is used to change the query command returned format SHORT parameter re turns short format LONG parameter returns long format OFF returns nothing Command Syntax Comm_HeaDeR parameter parameter SHORT LONG OFF Query Format Comm_HeaDeR Query Response chdr parameter Example Set query command format to long CHDR LONG Read query command format CHDR Return COMM_HEADER LONG 2 12 Outpu...

Page 9: ...n t set basic wave type WVPT parameter will be set to current wave type where type SINE SQUARE RAMP PULSE NOISE ARB DC frequency Default unit is Hz Value depends on the model amplitude Default unit is V Value depends on the model offset Default unit is V Value depends on the model duty 0 to 100 Value depends on frequency symmetry 0 to 100 phase 0 to 360 if you set 400 it will set 40 400 360 standa...

Page 10: ...th Value of width Only when wave type is Pulse you can set this parameter RISE rise Value of rise time Only when wave type is Pulse you can set this parameter FALL fall Value of fall time Only when wave type is Pulse you can set this parameter DLY delay Value of delay Only when wave type is Pulse you can set this parameter HLEV high level Value of high level If wave type is Noise or DC you can t s...

Page 11: ...you can set the parameter AM FRQ AM frequency AM frequency Only when AM signal sour ce is set to INT you can set the paramet er AM DEPTH depth AM depth Only when AM signal source is set to INT you can set the parameter DSBAM SRC src DSBAM signal source DSBAM MDSP mod wave shape DSBAM modulation wave Only when AM signal source is set to INT you can set the parameter DSBAM FRQ DSB AM frequency DSBAM...

Page 12: ...gnal source is set to INT you can set the parameter PSK SRC src PSK signal source CARR WVTP wave type Carrier wave type CARR FRQ frequency Value of carrier frequency CARR AMP amplitude Value of carrier amplitude CARR OFST offset Value of carrier offset CARR SYM symmetry Value of carrier symmetry Only ramp can set this parameter CARR DUTY duty Value of duty cycle Only square and pulse can set this ...

Page 13: ...ormat channel MoDulateWaVe channel C1 C2 RESPONSE FORMAT channel MDWV parameter parameter Return all parameter of the current modulation parameters Example Set channel one modulation type to AM C1 MDWV AM Set modulation shape to AM and set AM modulating wave type to sine wave C1 MDWV AM MDSP SINE Read channel one modulation parameters of which STATE is ON C1 MDWV Return C1 MDWV STATE ON AM MDSP SI...

Page 14: ...rrier amplitude CARR OFST offset Value of carrier offset CARR SYM symmetry Value of carrier symmetry Only Ramp can set this parameter CARR DUTY duty Value of carrier duty cycle Only Square can set this parameter CARR Phase phase Value of carrier phase Note If carrier is Pulse or Noise you can t turn on sweep If you want to set CARR and STATE the first parameter has to be one of them where state ON...

Page 15: ... where state ON OFF period Default unit is S Value depends on the model start phase 0 to 360 gate ncycle GATE NCYC trigger source EXT INT MAN delay Default unit is S Value depends on the model polarity NEG POS trig mode RISE FALL OFF edge RISE FALL circle time Value depends on the Model INF means infinite wave type SINE SQUARE RAMP PULSE NOISE ARB frequency Default unit is HZ Value depends on the ...

Page 16: ... you can t set it EDGE edge Value of edge When carrier is NOISE wave you can t set it When NCYC is chosen and TRSR is set to EXT you can set it TIME circle time Value of Ncycle number When carrier is NOISE wave you can t set it When NCYC is chosen you can set it MTRIG manual trig Manual trigger When TRSR is set to MAN it can be set CARR WVTP wave type Value of carrier type CARR FRQ frequency Value...

Page 17: ...OFF 2 17 Parameter Copy Command Description Copies parameters from one channel to another Command Syntax ParaCoPy destination channel src channel destination channel C1 C2 src channel C1 C2 Note the parameters C1 and C2 must be set to the device together Example Copy parameters from channel one to channel two PACP C2 C1 Related Commands ARWV BTWV MDWV SWWV BSWV 2 18 Arbitrary Wave Command Descript...

Page 18: ...Kaiser 45 Atan 10 Exp_fall 22 Lorentz 34 Blackman 46 Acot 11 Exp_rise 23 Gauspuls 35 Gausswin 47 Square Note About the table This table is just an example the index may depend on the model you can execute STL command to get them accurately 2 19 Sync Command Description Sets synchronization signal Command Syntax channel SYNC parameter channel C1 C2 parameter ON OFF Query Format channel SYNC channel...

Page 19: ...G LAnGuaGe parameter parameter EN CH RU Query Format LAGG LAnGuaGe Query Response LAGG parameter Example Set language to English LAGG EN Read language LAGG Return LAGG EN 2 22 Configuration Command Description Sets or gets the power on system setting Command Syntax SCFG Sys_CFG parameter parameter DEFAULT LAST Query Format SCFG Sys_CFG Query Response SCFG parameter Example Set the power on system ...

Page 20: ...ts or gets frequency counter parameters Command Syntax parameter a parameter from the table below Parameters Value Description STATE state State of frequency counter FRQ frequency Value of frequency Can t be set PW position width Value of positive width Can t be set NW negative width Value of negative width Can t be set DUTY duty Value of duty cycle Can t be set FRQDEV freq deviation Value of freq...

Page 21: ...arameter parameter a parameter from the table below Value Parameters Description TRACE trace Trace switch STATE state State of channel coupling BSCH bsch Value of base channel FDEV frq_dev Value of f frequency deviation PDEV pha_dev Value of position phase deviation FCOUP fcoup Value of frequency coupling switch FRAT frat Value of frequency coupling ratio PCOUP pcoup Value of phase coupling switch...

Page 22: ...Example Read all arbitrary data saved in the device STL Return STL M0 StairUp M1 StairDn M2 StairUD M3 Trapezia M4 ExpFall M5 ExpRise M6 LogFall M7 LogRise M8 Sqrt M9 X 2 M10 Sinc M11 Gaussian M12 Dlorentz M13 Haversine M14 Lorentz M15 Gauspuls M16 Gmonopuls M17 Cardiac M18 Quake M19 TwoTone M20 SNR M21 Hamming M22 Hanning M23 Kaiser M24 Blackman M25 GaussiWin M26 Harris M27 Bartlett M28 Tan M29 C...

Page 23: ...e amplifier OFST offset Wave offset PHASE phase Wave phase WAVEDATA wave data Wave data For all the arbitrary waveforms WVDT Mn For user define wave WVDT USER wave name wave name The name of user define wave Example Send wave1 C1 WVDT WVNM wave1 TYPE 5 LENGTH 16384B FREQ 1000 WAVEDATA xxxxxxxx Query user define wave wave1 command WVDT USER wave1 Return WVDT sPOS s Local sWVNM swave1 sLENGTH s10485...

Page 24: ... 15 STATE 1 VKEY VALUE KB_SWEEP STATE 1 Note The following table states the corresponding key on front panel 3 Paramter Value Paramter Value KB_FUNC1 28 KB_NUMBER_4 52 KB_FUNC2 23 KB_NUMBER_5 53 KB_FUNC3 18 KB_NUMBER_6 54 KB_FUNC4 13 KB_NUMBER_7 55 KB_FUNC5 8 KB_NUMBER_8 56 KB_FUNC6 3 KB_NUMBER_9 57 KB_SINE 34 KB_POINT 46 KB_SQUARE 29 KB_NEGATIVE 4 KB_ RAMP 24 KB_LEFT 44 KB_PULSE 19 KB_RIGHT 40 KB...

Page 25: ...ery Format SYSTem COMMunicate LAN SMASk Examples Set subnet mask to 255 0 0 0 SYSTem COMMunicate LAN SMASk 255 0 0 0 Get subnet mask SYSTem COMMunicate LAN SMASk Return 255 0 0 0 2 35 Gateway Command Description The Command can set and get system Gateway Command Syntax SYSTem COMMunicate LAN GATeway parameter1 parameter2 parameter3 parameter4 parameter1 a integer value between 0 and 223 parameter2...

Page 26: ...ue3 parameter value4 HARMPHASE value5 value1 ON OFF value2 EVEN ODD ALL value3 an integer value parameter HARMAMP HARMDBC value4 an integer value value5 an integer value Query Format channel HARMonic channel C1 C2 Examples Set the channel one harmonic switch on C1 HARMHARMSTATE ON Get the channel one harmonic information C1 HARM Return C1 HARM HARMSTATE ON HARM TYPE EVEN HARMORDER 2 HARMAMP 0V HAR...

Page 27: ... instrument via our website www bk precision com Exclusions This warranty does not apply in the event of misuse or abuse of the product or as a result of unauthorized alterations or repairs The warranty is void if the serial number is altered defaced or removed B K Precision Corp shall not be liable for any consequential damages including without limitation damages resulting from loss of use Some ...

Page 28: ...ors and accessories that you are using with the device Customers not on an open account must include payment in the form of a money order or credit card For the most current repair charges please refer to the service and support section on our website Return all merchandise to B K Precision Corp with prepaid shipping The flat rate repair charge for Non Warranty Service does not include return ship...

Reviews: