4060 Series Programming Manual

2015-01-30

: Bk 4060 Series Programming Manual 4060_series_programming_manual en-us programming_manuals s

Open the PDF directly: View PDF PDF.
Page Count: 26

Download4060 Series Programming Manual
Open PDF In BrowserView PDF
PROGRAMMING MANUAL
Function/Arbitrary Waveform Generator
MODEL: 4060 Series (4063, 4064, 4065)

4060 Series Programming Manual

Table of Contents
1.1.

About Commands & Queries .........................................................................3

1.1.1.

How they are listed.................................................................................................. 3

1.1.2.

How they are described........................................................................................... 3

1.1.3.

When can they be used? ......................................................................................... 3

1.1.4.

Command Notation ................................................................................................. 3

1.2.

Table of Commands & Queries ......................................................................4

1.3.

IEEE 488.2 Common Command Introduction ..................................................5

1.3.1.

CHDR ........................................................................................................................ 5

1.3.2.

OPC .......................................................................................................................... 5

1.3.3.

IDN ........................................................................................................................... 5

1.4.

Output Command .........................................................................................6

1.5.

Basic Wave Command ...................................................................................7

1.6.

Modulation Wave Command .........................................................................9

1.7.

Sweep Wave Command ............................................................................... 12

1.8.

Burst Wave Command ................................................................................. 13

1.9.

Parameter Copy Command .......................................................................... 16

1.10. Arbitrary Wave Command ........................................................................... 16
1.11. Phase Command ......................................................................................... 17
1.12. Sync Command ........................................................................................... 18
1.13. Configuration Command ............................................................................. 18
1.14. Buzzer Command ........................................................................................ 18
1.15. Screen Saver Command ............................................................................... 19
1.16. Clock Source Command ............................................................................... 19
1.17. Frequency Counter ...................................................................................... 19
1.18. Store List Command .................................................................................... 20
1.19. Get or Send Arbitrary Wave Data Command ................................................ 21
1.20. Virtual Key Command .................................................................................. 24

2

4060 Series Programming Manual

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, 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-LowerCase 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 4060 Series arbitrary/function
waveform generators.

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.

3

4060 Series Programming Manual

1.2. Table of Commands & Queries
Short
*IDN

Long Form
*IDN

Subsystem
SYSTEM

*RST

*RST

SYSTEM

*OPC

*OPC

SYSTEM

CHDR

COMM_HEADER

BSWV

BASIC_WAVE

ARWV
BUZZ

ARBWAVE
BUZZER

SIGNAL
Data
SYSTEM
SYSTEM

S_CFG

SYSTEM_CONFIG

SYSTEM

ROSC

ROSCILLATOR

SIGNAL

MOD
OUTP

MODULATION
OUTPUT

SIGNAL
SIGNAL

CHCP

CHANNEL_COPY

SIGNAL

INVT
SCSV
SWE
SYNC

INVERT
SCREEN_SAVE
SWEEP
SYNC

SIGNAL
SYSTEM
SIGNAL
SIGNAL

BTWV

BURSTWAVE

SIGNAL

MDWV
STL
WVDT
VKEY

MODULATEWAVE
STORE_LIST
WAVE_DATA
VIRTUALKEY

SIGNAL
SIGNAL
SIGNAL
SYSTEM

What Command/Query dose
Get identification from device.
Resets instrument parameters
to default values.
Get or set the OPC bit (0) in
the Event Status Register
(ESR).
Set the format of return data
(Long, short, off)
Set or get basic wave
parameters. Turns on or off
channel signal.
Change arbitrary wave type.
Set or get buzzer State.
Set or get power on initializing
parameter way
Set or get clock source.
Set or get modulated wave
parameters.
Set or get output state.
Copy parameters from channel
one to channel two, or from
channel two to channel one.
Set or get output signal phase
state.
Set or get screen save State.
Set or get sweep wave.
Set or get in-phase signal.
Set or get burst wave
parameters.
Set or get modulate wave
parameters.
Get the list of store wave.
Get the wave data of store.
Set the virtual key.

4

4060 Series Programming 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.

CHDR

DESCRIPTION

This Command is used to change query command return format.
SHORT parameter is return short format. LONG parameter is return long
format. Off is that command header and parameter unit will not return.

COMMAND SYNTAX

Comm_HeaDeR 
:= {SHORT,LONG,OFF}

QUERY SYNTAX

Comm_HeaDeR?

RESPONSE FORMAT

SYNC 

EXAMPLE 1

Set query command format to long.
CHDR LONG

EXAMPLE 2

Read query command format.
CHDR?
Return:
COMM_HEADER LONG

1.3.2.

OPC

DESCRIPTION

The *OPC (OPeration Complete) command sets to true the OPC bit (bit
0) 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
been entirely executed.

QUERY SYNTAX

*OPC?

RESPONSE FORMAT

*OPC 1

1.3.3.

IDN

DESCRIPTION

The *IDN? Query causes the instrument to identify itself. The
response comprises manufacturer, model number, serial
number, software version and firmware version.

5

4060 Series Programming Manual
QUERY SYNTAX

*IDN?

RESPONSE FORMAT

*IDN , , , , , ,

:=“BK Precision” is used to identify instrument.
:= A model identifier less than 14 characters.
:= A nine- or 10-digit decimal code .
:= A serial numbers about software 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).

EXAMPLE 1

Reads version information.
*IDN?
Return:
*IDN BK Precision, 4065, 00-00-00-13-22, 5.01.01.10R1, 20.2.3.

1.3.4.

RST

DESCRIPTION

The *RST causes the instrument to reset all settings to default
values.

SYNTAX

*RST

1.4. Output Command
DESCRIPTION

Enable or disable the output of the [Output] connector at the
front panel corresponding to the channel.
The query returns ON or OFF.

COMMAND SYNTAX

: OUTPut 
:={C1,C2}
:= {a parameter from the table below}
Parameters Value
ON
--OFF
--Load



Description
Turn on channel
Turn off channel
Value of load
{50 (default unit is Ω), HZ (High-Z)}

QUERY SYNTAX

: OUTPut?

RESPONSE FORMAT

:OUTPut 

6

4060 Series Programming Manual
EXAMPLE 1

Turns on channel one.
C1:OUTP ON

EXAMPLE 2

Reads channel one output state.
C1:OUTP?
return:
C1:OUTP ON,LOAD,HZ

EXAMPLE 3

Set the load to 50Ω
C1:OUTP LOAD,50

1.5. Basic Wave Command
DESCRIPTION

Set or get basic wave parameters.

COMMAND SYNTAX

:BaSicWaVe 
:={C1, C2}
:= {a parameter from the table below}
Parameters Value
WVTP


Description
Type of wave
Value of frequency. This
parameter cannot be set for noise
wave.
Value of amplifier. This parameter
cannot be set for noise wave.

FRQ



AMP



OFST



Value of offset. This parameter
cannot be set for noise wave.

SYM



Value of symmetry. This
parameter is for ramp wave only.

DUTY



Value of duty cycle.
Only Pulse and Duty can set this
parameter.

PHSE



Value of phase. This parameter
cannot be set for noise wave.

STDEV



Value of noise wave Stdev. This
parameter can be set for noise
wave only.

MEAN



Value of noise wave mean. This
parameter can be set for noise
wave only.

7

4060 Series Programming Manual

WIDTH



Value of width. Parameter is valid
only when WVTP is PULSE

RISE



Value of rise. Parameter is valid
only when WVTP is PULSE

FALL



Value of fall. Parameter is valid
only when WVTP is PULSE

DLY



Value of delay. This parameter
can be set for pulse wave only.

Note: If the command doesn’t set basic wave type, the parameter will set parameters
to current device wave type by default.
where:

:={SINE, SQUARE, RAMP, PULSE, NOISE, ARB ,DC}
:= { Default unit is "HZ". Minimum value is 1e-6 HZ,
maximum value depends on the 4060 model.}
:= {Default unit is "V". Minimum value is 0.001V (50Ω)
0.002(HiZ), Maximum is 10V(50Ω) 20V(HiZ). }
:= { Default unit is "V". maximum value depends on the
amplifier setting.}
:= {If wave type is square, range is from 20% to 80%. if
wave type is pulse, range is from 0.1% to 99.9%}
 :={ 0% to 100%}
:= {-360° to 360°}
:= Maximum is .799V, minimum value is .001V. The
default unit is "V".
:= The range depends on Stdev . The default unit is "V".
:= Maximum is Pulse Period, minimum value is 0.Unit is s.

QUERY SYNTAX

:BaSicWaVe?
:={C1, C2}

RESPONSE

:BSWV , , , ,
, , 

EXAMPLE 1

change channel one current wave type to ramp.
C1:BSWV WVTP,RAMP

EXAMPLE 2

Changes current signal frequency of channel one to 2000 Hz.
C1: BSWV FRQ, 2000HZ

EXAMPLE 3

Set current signal amplifier of channel one.
C1: BSWV AMP, 3V

8

4060 Series Programming Manual
EXAMPLE 4

Reads channel basic wave parameters from device.
C1:BSWV?
Return:
C1: BSWV WVTP,SINE,FRQ,1000,AMP,3,OFST,3,PHSE,0

RELATED CMDS

ARWV, BTWV, CFG, CPL, MDWV, SWWV

1.6. Modulation Wave Command
DESCRIPTION

Set or get modulated wave parameters.

COMMAND SYNTAX

:MoDulateWaVe 
:={C1, C2}
:= {a parameter from the table below. }
Parameters

Value

STATE



AM,SRC



AM,MDSP



AM,FRQ



AM,DEPTH



DSBAM,SRC



DSBAM,MDSP



DSBAM,FRQ



FM,SRC



FM, MDSP



FM,FRQ



FM,DEVI



PM,SRC



PM,MDSP



PM,FRQ



PWM,FRQ



Description
Enable or disable modulation.
Note: if you want to set or read
modulating waveform
parameters modulation must be
enabled.
AM signal source.
AM modulation wave. Only AM
signal source is set to INT.
AM frequency. Only AM signal
source is set to INT.
AM deep. Only AM signal
source is set to INT.
DSBAM signal source
DSBAM modulation wave. Only
AM signal source is set to INT.
DSBAM frequency. Only AM
signal source is set to INT.
FM signal source
FM modulation wave. Only FM
signal source is set to INT.
FM frequency. Only FM signal
source is set to INT.
FM frequency offset. Only FM
signal source is set to INT.
PM signal source
PM modulation wave. Only PM
signal source is set to INT.
PM frequency. Only PM signal
source is set to INT.
PWM frequency. Only carry
9

4060 Series Programming Manual

PWM,DEVI



PWM,MDSP



PWM,SRC



PM,DEVI



ASK,SRC



ASK,KFRQ



FSK,KFRQ



FSK,HFRQ
FSK,SRC
CARR,WVTP
CARR,FRQ
CARR,AMP
CARR,OFST
CARR,SYM









CARR,DUTY



CARR,PHSE
CARR DLY




wave is PULSE wave.
Duty cycle deviation. Only carry
wave is Pulse
Wave.
PWM modulation wave. Only
carry wave is PULSE wave.
PWM signal source.
PM phase offset. Only PM signal
source is set to INT.
ASK signal source.
ASK key frequency. Only ASK
signal source is set to INT.
FSK frequency. Only FSK signal
source is set to INT.
FSK jump frequency
FSK signal source
Value of carrier wave type.
Value of frequency.
Value of amplifier.
Value of offset.
Value of symmetry.
Value of duty cycle.
Only Square can set this
parameter.
Value of phase.
Value of delay.

Note: If Carrier wave is Pulse or Noise you cannot set the modulation waveform. Also,
modulation parameters and carrier parameters cannot be combined into a command. They
must be sent separately. See example #8 below.
Where:

:={ON,OFF}
:= {INT,EXT}
:={SINE, SQUARE, TRIANGLE, UPRAMP,
DNRAMP, NOISE, ARB}
:= {0.001Hz to 50000Hz}
:= {0% to 120%}
:= {0.001Hz to 50000Hz}
 :={ 0.001Hz to 50000Hz}
:= {0° to 360°}
:= {0.001Hz to 50kHz }
:= {depends on carry wave duty}
:= {0.002Hz to 20000Hz}
:= {0.001Hz to 1000000Hz}
:= { the same as basic wave frequency}
:={SINE ,SQUARE, RAMP, ARB, PULSE }
10

4060 Series Programming Manual
:= { Default unit is "HZ". Minimum value is 1e-6 HZ,
maximum value depends on the 4060 model.}
:={ Default unit is "V". Minimum value is 0.001V (50Ω)
0.002(HiZ), Maximum is 10V(50Ω) 20V(HiZ). }
:={ Default unit is "V".}
:={ If wave type is square, range is from 20% to 80% . If
wave type is pulse, range is from 0.1% to 99.9%.}
:={ 0% to 100%}
:={the maximum value is 2ks}
QUERY SYNTAX

:MoDulateWaVe?
:={C1, C2}

RESPONSE FORMAT

:MoDulateWaVe 
:={return all parameter of the current modulate
wave parameters, including carrier wave.}

EXAMPLE 1

Set channel one modulation type to AM.
C1:MDWV AM

EXAMPLE 2

Set modulation shape to AM, and set AM modulating wave shape
to sine wave.
C1:MDWV AM, MDSP, SINE

EXAMPLE 3

Reads channel one modulate wave parameters that STATE is ON.
C1:MDWV?
return:
C1:MDWV STATE, ON, AM, MDSP, SINE, SRC, INT, FRQ, 100HZ,
DEPTH, 100, CARR, WVTP, RAMP, FRQ, 1000HZ, AMP, 4V, OFST,
0V, SYM, 50

EXAMPLE 4

Reads channel one modulate wave parameters that STATE is OFF.
C1:MDWV?
return:
C1:MDWV STATE,OFF

EXAMPLE 5

Set channel one FM frequency to 1000HZ
C1:MDWV FM, FRQ, 1000HZ

EXAMPLE 6

Set the Value of channel one carrier wave shape to SINE.
C1:MDWV CARR,WVTP,SINE

EXAMPLE 7

Set the Value of channel one carrier wave frequency to 1000HZ.
C1:MDWV CARR,FRQ,1000HZ
11

4060 Series Programming Manual

EXAMPLE 8

Setup a modulated signal with various parameters.
C1:MDWV STATE,ON
C1:MDWV
CARR,WVTP,SQUARE,FRQ,100000HZ,AMP,5V,OFST,2.5V,PHSE,0,D
UTY,50
C1:MDWV FM,MDSP,TRIANGLE,SRC,INT,FRQ,1000HZ,DEVI,500HZ

RELATED CMDS

ARWV, BTWV, CFG, CPL, SWWV, BSWV

1.7. Sweep Wave Command
DESCRIPTION

Set or get sweep wave parameters.

COMMAND SYNTAX

:SWeepWaVe 
:={C1, C2}
:= {a parameter from the table below. }
Parameters

Value

STATE



TIME
STOP
START
TRSR


Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 26
Language                        : en-US
Tagged PDF                      : Yes
Author                          : Chris Tabarez
Creator                         : Microsoft® Word 2013
Create Date                     : 2015:01:30 10:32:05-08:00
Modify Date                     : 2015:01:30 10:32:05-08:00
Producer                        : Microsoft® Word 2013
EXIF Metadata provided by EXIF.tools

Navigation menu