B&K Precision 4052, 4055 Programming Manual

PROGRAMMING MANUAL
Function/Arbitrary Waveform Generator
MODEL: 4050 Series (4052, 4053, 4054, 4055)
Table of Contents
1.2. Table of Commands & Queries ____________________________________ 3
1.3. IEEE 488.2 Common Command Introduction ______________________ 4
1.6. Modulate Wave Command ________________________________________ 8
1.8. Burst Wave Command ___________________________________________ 15
1.10. Arbitrary Wave Command _____________________________________ 18
1.11. Phase Command ______________________________________________ 20
1.12. Sync Command ________________________________________________ 20
1.13. Configuration Command _______________________________________ 21
1.14. Buzzer Command _____________________________________________ 21
1.15. Screen Save Command _________________________________________ 21
1.17. Frequency Counter ____________________________________________ 22
1.18. Store list command ____________________________________________ 24
1.19. Get arbitrary wave data command ______________________________ 25
1.20. Virtual key command __________________________________________ 27
1.21. I n dex __________________________________________________________ 1

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-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.1.3. When can they be used?

The commands and queries listed here can be used for 4050 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
1
2
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.
Short
Long Form
Subsystem
What Command/Query dose
*IDN
*IDN
SYSTEM
Get identification from dev ic e .
*OPC
*OPC
SYSTEM
Get or set the OPC bit (0) in the Event Status Register (ESR).
CHDR
COMM_HEADER
Set the format of return data (Long, short, off)
BSWV
BASIC_WAVE
SIGNAL
Set or get basic wave parameters. Turns on or off channel signal.
ARWV
ARBWAVE
Data SYSTEM
Change arbitrary wave type.
BUZZ
BUZZER
SYSTEM
Set or get buzzer State.
S_CFG
SYSTEM_CONFIG
SYSTEM
Set or get power on initializing parameter way
ROSC
ROSCILLATOR
SIGNAL
Set or get clock source.
MOD
MODULATION
SIGNAL
Set or get modulated wave parameters.
OUTP
OUTPUT
SIGNAL
Set or get output state.
CHCP
CHANNEL_COPY
SIGNAL
Copy parameters from channel one to channel two, or from channel two to channel one.
INVT
INVERT
SIGNAL
Set or get output signal phase state.
SCSV
SCREEN_SAVE
SYSTEM
Set or get screen save State.
SWE
SWEEP
SIGNAL
Set or get sweep wave.
SYNC
SYNC
SIGNAL
Set or get in-phase signal.
BTWV
BURSTWAV E
SIGNAL
Set or get burst wave parameters.
MDWV
MODULATEWAVE
SIGNAL
Set or get modulate wave parameters.
STL
STORE_LIST
SIGNAL
Get the list of store wave.
WVDT
WAVE_DATA
SIGNAL
Get the wave data of store .
VKEY
VIRTUALKEY
SYSTEM
Set the virtu a l key.

1.2. Table of Commands & Queries

3
4

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 <parameter> <parameter>:= {SHORT,LONG,OFF}
QUERY SYNTAX Comm_HeaDeR?
RESPONSE FORMAT SYNC <parameter>
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 de vi c e 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, m o de l number, serial number, software version and firmware version.
QUERY SYNTAX *IDN?
RESPONSE FORMAT *IDN ,<device id>,< m o de l >,<serial
number>,<software>,<version>,<firmware version> <device id>=“BK Precision” is used to identify instrument. <model>:= A m o de l ide ntifier less than 14 characters. <serial number>:= A nine- or 10-digit decimal code . <software version>:= A serial numbers about software version.
<firmware 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,4054,00-00-00-13-22,1.01.01.10R1,20.234.3.
5
6
Parameters
Value
Description
ON
---
Turn on channel
OFF
---
Turn off channel
LOAD
<lo ad >
Value of loa d

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 <channel>: OUTPut <parameter> <channel>:={C1,C2}
<parameter >:= {a parameter from the table belo w}
where: <load>:= {50(default unit is ohm), HZ}
QUERY SYNTAX <channel>: OUTPut?
RESPONSE FORMAT <channel>:OUTPut <load>
EXAMPLE 1 Turns on channel one.
C1:OUTP ON
EXAMPLE 2 Reads channel one ou tp ut state.
C1:OUTP?
return:
C1:OUTP ON,LOAD,HZ
EXAMPLE 4 Set the load to 50Ω C1:OUTP LOAD,50
Loading...
+ 23 hidden pages