B&K 4070A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of B&K 4070A, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of B&K 4070A one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of B&K 4070A. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of B&K 4070A should contain:
- informations concerning technical data of B&K 4070A
- name of the manufacturer and a year of construction of the B&K 4070A item
- rules of operation, control and maintenance of the B&K 4070A item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of B&K 4070A alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of B&K 4070A, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the B&K service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of B&K 4070A.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the B&K 4070A item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    User’s Manual Model 4070A 21.5MHz Multi Function Arbitrary Waveform Generator[...]

  • Page 2

    [...]

  • Page 3

    B&K Precision Model 4070A User’s Manual B + K Precision Corp. ALL RIGHTS RESERVED PRODUCT AND DOCUMENTATION NOTI CE: B + K Precision reserves the right to change this product and its documentation without prior notice. Information furnished by B + K Precision is believed to be accurate and reliable. However, B+K Precision assumes no responsib[...]

  • Page 4

    Table of Contents 1.0 Introduction 1.1 Description .................................................................................................................................................................. 2 1.2 Feature summary ..................................................................................................................[...]

  • Page 5

    5.26 Voltage Controlled Oscillator (VCO) mode ........................................................................................................... 39 6.0 Remote operation 6.1 Introduction ...........................................................................................................................................................[...]

  • Page 6

    BK Prec ision 4070A User Manual Rev.2 .2 1 1.0 Introduction Figure 1.0 - 1: The BK Precision model 4070A This manual contains operating instructions for the BK Precision Model 4070A Signal Generation and Processing Engine. Complete specifications for the Model 4070A are given in Chapter 9.[...]

  • Page 7

    BK Prec ision 4070A User Manual Rev.2 .2 2 1.1 Description Figure 1.1 - 1: 4070A front panel The Model 4070A is a versatile signal source capable of generating a variety of waveforms, including CW and wideband sweeps from D.C. to 21.5 MHz in steps of .01 Hz. The signals are generated using direct digital waveform synthesis (DDS) techniqu es for hig[...]

  • Page 8

    BK Prec ision 4070A User Manual Rev.2 .2 3 Included with the Arbitrary Waveform Generator is a full featured Function Generator and Pulse Generator. The function generator offers a set of pre - stored waveforms, which are generated using the Arbitrary Waveform system. The Pulse Generator allows the user to generate pulse waveforms with varying ampl[...]

  • Page 9

    BK Prec ision 4070A User Manual Rev.2 .2 4 2.0 Installation and setup. This section discusses how to properly connect the 4070A to you r equipment. The following diagrams identify the connectors and show typical hookups. Figure 2.0 - 1: Front Panel Connectors 1. SYNC out connector This connector provide s a TTL/CMOS signal, +5V logic level useful f[...]

  • Page 10

    BK Prec ision 4070A User Manual Rev.2 .2 5 3. External Modulation In connector The External Modulation In connector, located on the rear of the 4070A , accepts an external analog signal as illustrated here: Figure 2.0 - 3: Connecting an external signal On this connector, the user supplies a base band signal (below 50 KHz) that is used to modulate a[...]

  • Page 11

    BK Prec ision 4070A User Manual Rev.2 .2 6 4. External Trigger/Gating/FSK/BPSK input The External Trigger/Gating/FSK/BPSK In connector accepts an external digital signal on the rear of the unit as illustrated here: Figure 2.0 - 4: Driving the Ext Trigger/Gating/FSK/BPSK input On this connector the user supplies a digital signal, which serves a vari[...]

  • Page 12

    BK Prec ision 4070A User Manual Rev.2 .2 7 Figure 2.0 - 5: Rear panel connectors 5. External Reference Input / Ext Arb. Clock connector This connector accepts an external sample clock for the Arbitrary Waveform Generator when the unit is in External Clock or Lock Slave modes. The signal level on this input must be between 0V and +5V and is intended[...]

  • Page 13

    BK Prec ision 4070A User Manual Rev.2 .2 8 3.0 Operating controls and keys. 3.1 Mode key The Mode key is used to change the operating mode of the 4070A. When pressed, the LCD display is cleared and the question Mode? is displayed. The Mode key acts as a shift type key in that the mean ing of each button on the front panel changes to that described [...]

  • Page 14

    BK Prec ision 4070A User Manual Rev.2 .2 9 NOTE: Care must be taken when specifying an output offset voltage and level such that the output does not clip. The loaded output cannot swing higher than +6.0V or lower than - 6.0V. Therefore: ¦ Offset voltage ¦ + 1/2 * Vp - p < 6.0 The 4070A can be used as a variable voltage source by setting the ou[...]

  • Page 15

    BK Prec ision 4070A User Manual Rev.2 .2 10 3.8 Clear key While the cursor is within a numeric field, the Clear key erases all digits within the field, allowing the user to start over when entering a value. This key is also used to select the "Other" mode after the Mode key is pressed once. By selecting Other Mode, a menu of extended mode[...]

  • Page 16

    BK Prec ision 4070A User Manual Rev.2 .2 11 4.0 Operating guide Turn 4070A on . After a display of the hardware and software versions and serial number, the unit enters the Basic Sinewave mode of operation. The 4070A defaults to generating a 1.0 MHz sinewave at a level of +10.0 dBm. 4.1 Changing frequency To change the frequency, press the Right Fi[...]

  • Page 17

    BK Prec ision 4070A User Manual Rev.2 .2 12 4.5 Changing values For each operating mode, the LCD display shows a number of fields that hold operating parameters for the selected mode (i.e. sweep start frequency, stop frequency, etc.). To change the value of a parameter, you m ust first move the cursor to the desired field on the display. To do this[...]

  • Page 18

    BK Prec ision 4070A User Manual Rev.2 .2 13 5.0 Mode descr iptions The following pages describe each operating mode of the 4070A. The meaning of each parameter that appears on the LCD display is described in detail. 5.1 Basic Sinewave (CW) Mode Introduction The Basic Sinewave (CW) mode generates a sine wave of fixed frequency and level. This mode c[...]

  • Page 19

    BK Prec ision 4070A User Manual Rev.2 .2 14 5.2 Internal AM Mode Introduction The Internal AM mode generates an amplitude - modulated sign al form with fixed carrier and modulating frequencies. An internally generated sinusoid is used as a modulating signal to vary the amplitude of a carrier sinusoid. The modulation waveform is not suppressed carri[...]

  • Page 20

    BK Prec ision 4070A User Manual Rev.2 .2 15 5.3 External AM Mode Introduction External AM mode generates amplitude - modulated signal of fixed carrier frequency, were externally supplied signal is used as a modulating signal to vary signal modulated frequency and depth. Modulated frequency, output level, input gain and DC offset values could be man[...]

  • Page 21

    BK Prec ision 4070A User Manual Rev.2 .2 16 5.4 Internal FM Mode Introduction Internal FM mode generates frequency - modulated signal of fixed amplitude. It used internally generated signal to modulate frequency of carrier signal. Modulated and modu lating frequency, output level, deviation, and DC offset values could be manually entered from the f[...]

  • Page 22

    BK Prec ision 4070A User Manual Rev.2 .2 17 5.5 External FM Mode Introduction External FM mode generates frequency - modulated signal of fixed amplitude were externally supplied signal is used as a modulating signal to vary frequency of the carrier signal. Modulated frequency, level, peak deviation and DC offset values could be manually entered fro[...]

  • Page 23

    BK Prec ision 4070A User Manual Rev.2 .2 18 5.6 Internal PM Mode Introduction Internal PM mode generates phase - modulated signal of fixed amplitude. It used interna lly generated signal to modulate phase of carrier signal. Modulated and modulating frequency, output level, deviation, and DC offset values could be manually entered on the keypad in t[...]

  • Page 24

    BK Prec ision 4070A User Manual Rev.2 .2 19 5.7 External PM Mode Introduction External PM mode generates phase - modulated signal of fixed amplitude were externally supplied signal is used as a modulating signal to vary phase of the carrier signal. Modulated frequency, level, peak dev iation and DC offset values could be manually entered from the f[...]

  • Page 25

    BK Prec ision 4070A User Manual Rev.2 .2 20 5.8 Sweep Mode Introduction The Sweep mode continuously changes the frequency of a fixed amplitude sinusoid between a specified start frequency and stop frequency. The user can set sweep time as well. The frequency may be stepped between the start and stop frequency linearly. A sweep direction, up or down[...]

  • Page 26

    BK Prec ision 4070A User Manual Rev.2 .2 21 5. Up / Down sweep In this field select the direc tion of the sweep. An up sweep begins at the start frequency and ends at the end frequency. A down sweep begins at the end frequency and ends at the start frequency. To set Up type sweep, press 0 . To set down type sweep, press 1 . Pressing any arrow key o[...]

  • Page 27

    BK Prec ision 4070A User Manual Rev.2 .2 22 5.9 Internal FSK Mode Introduction Internal FSK mode generates a frequency shift keyed signal of fixed amplitude. Internal timer is used as modulatin g signal to toggle the output signal frequency between mark frequency and space frequency. Mark and Space frequencies, output level, modulating shift freque[...]

  • Page 28

    BK Prec ision 4070A User Manual Rev.2 .2 23 5.10 External FSK Mode Introduction External FSK Frequency Shift Key generates a frequency shift keyed signal of fixed amplitude. External signal is used to toggle the output signal frequency between mark frequency and the space frequency. Mark and space frequencies, level and DC offset values could be ma[...]

  • Page 29

    BK Prec ision 4070A User Manual Rev.2 .2 24 5.11 Burst Mode Introduction The Burst mode generates a sinusoid burst of fixed frequency and level for a specifie d duration. Both continuous and triggered bursts may be generated. In the continuous burst mode, the 4070A continuously gates the output sinusoid on and off according to the values entered in[...]

  • Page 30

    BK Prec ision 4070A User Manual Rev.2 .2 25 5.12 Internal SSB Mode Introduction Internal SSB mode generates a Single Sideband modulated signal of fixed carrier frequency. Internally generated signal is used to modulate either Upper sideband or Lower sideband of a carrier signal. Modulating, carrier frequencies and output level with DC offset values[...]

  • Page 31

    BK Prec ision 4070A User Manual Rev.2 .2 26 5.13 External SSB Mode Introduction External SSB mode generates a Single Sideband (SSB) modulated signal of fixed carrier frequency. External signal is used to modulate either Upper sideband or Lower sideband of a carrier signal . Carrier frequency, output level with DC offset values could be manually ent[...]

  • Page 32

    BK Prec ision 4070A User Manual Rev.2 .2 27 5.16 DTMF Generation Mode Introduction Dual Tone Multi Frequency generation mode generates the Touch - tone dialing tones according ANSI T1.401 - 1988 Section 7.2 standard. The user can specify dialing digits “0” to “9” alone with ext ra DTMF codes “A” thru “D”. A start delay can be specif[...]

  • Page 33

    BK Prec ision 4070A User Manual Rev.2 .2 28 Several keys on the front panel are used to generate DTMF digits other than “0” to “9”. They are listed here: To generate the "#" DTMF digit, press the minus ( - ) key. To generate t he " ∗ " DTMF digit, press the period ( . ) key. To generate the "A" DTMF digit, pr[...]

  • Page 34

    BK Prec ision 4070A User Manual Rev.2 .2 29 5.17 DTMF Detection Mode Introduction Dual Tone Multi Frequency detection mode decodes and displays the Touch - tone dialing tones according to ANSI T1.401 - 1988 Section 7.2 standard. Input test signal could be applied to the Exter nal Mod Input for DTMF decoding. Once a DTMF digit has been detected, it [...]

  • Page 35

    BK Prec ision 4070A User Manual Rev.2 .2 30 5.18 Power & Voltage Measurement Mode Introduction The Powe r & Voltage Measurement mode measures the signal level on the Ext Mod In connector and displays the power and voltage level on the LCD display. The Power Measurement mode applies to frequencies in the DC to 50 KHz range. An internal lowpa[...]

  • Page 36

    BK Prec ision 4070A User Manual Rev.2 .2 31 5.19 Arbitrary Mode In Arbitrary generator mode the user could design custom waveform on PC, then download it to 4070A memory over RS - 232 serial port to synthesize signal. Continuous or trigger triggering modes are available. Signal Clock, output level and DC offset values could be manually entered from[...]

  • Page 37

    BK Prec ision 4070A User Manual Rev.2 .2 32 5.22 Int ernal BPSK Mode Introduction The Internal BPSK mode generates a phase shift keyed signal of fixed amplitude. An internal timer is used as a modulating signal to switch the output phase between 0 and 180 degrees at a specified rate. The modulation is s uppressed carrier; i.e. no carrier energy is [...]

  • Page 38

    BK Prec ision 4070A User Manual Rev.2 .2 33 5.23 External BPSK Mode Introduction The External BPSK mode generates a phase shift ke yed signal of fixed amplitude. The logic level on the Ext FSK In connector is used as a modulating signal to shift the output phase between 0 and 180 degrees. The modulation is suppressed carrier; i.e. no carrier energy[...]

  • Page 39

    BK Prec ision 4070A User Manual Rev.2 .2 34 5.24 Dualtone Generation Mode Introduction The Dualtone Generation mode generates an output signal, which is the sum of two sinusoids of eq ual amplitude. The frequency of each sinusoid may be individually specified with 1 Hz resolution. In addition, a phase offset may be specified which offsets the phase[...]

  • Page 40

    BK Prec ision 4070A User Manual Rev.2 .2 35 Ext Gating Input This TTL compatible input can be used to gate the output signal on or off. Logic high voltage turns off the output. For further information on the Ext Gati ng Input, refer to section 2.0. Dualtone Examples The following table lists the parameters for some common Dualtone. Name Frequency 1[...]

  • Page 41

    BK Prec ision 4070A User Manual Rev.2 .2 36 5.25 Data Modulation Mode Introduction The data modulation mode will digitally modulate a binary message of up to 960 bits (60 words) in length. Data is digitally modulated using FSK modulation at an adjustable baud rate. The mark and space frequencies may be independently specified from 0 Hz to 21.5 MHz [...]

  • Page 42

    BK Prec ision 4070A User Manual Rev.2 .2 37 NOTE: For wideband FSK (where the difference between Mark and Space frequencies is > 1.0 MHz), the output level may shift slightly between the mark and space frequencies. The 4070A has internal leveling circuitry is disabled in this mo de, in order to offer higher FSK modulation rates. NOTE: The level [...]

  • Page 43

    BK Prec ision 4070A User Manual Rev.2 .2 38 NOTE : For more information on the Hexadecimal format, please refer to the User’s Manual chapter on Hexadecimal Format. Triggering the Trans mission The Data Modulation mode starts by setting the output frequency to 0 Hz and awaiting a trigger condition. When a trigger condition occurs, the unit will tu[...]

  • Page 44

    BK Prec ision 4070A User Manual Rev.2 .2 39 5.26 Voltage Controlled Oscillator (VCO) Mode Introduction The Voltage Controlled Oscillator mode generates signal, where frequency could be vary between two specified va lues using externally supplied - 5.0V/+5.0V voltage. The control input bandwidth is DC to 35 KHz. Start, End frequencies, output level [...]

  • Page 45

    BK Prec ision 4070A User Manual Rev.2 .2 40 6.0 Remote Operation 6.1 Introduction The Remote Operation feature allows the user to control all operations of the 4070A with a terminal or computer. Commands and responses use ASCII c haracters; permitting a "dumb" terminal to be used to control the 4070A. Each key on the front panel keypad ha[...]

  • Page 46

    BK Prec ision 4070A User Manual Rev.2 .2 41 You now have a terminal connection established with the 4070A. Hit the “?” key. You should see a command menu in response. If you do not see this menu, check the fol lowing: • On the 4070A, press Mode then Offset and verify that the baud rate is set to 9600. • Verify that you are using the correct[...]

  • Page 47

    BK Prec ision 4070A User Manual Rev.2 .2 42 6.6 Remote Control Commands The diagram below gives the f ront panel keys and their associated ASCII codes. Sending these characters to the 4070A has the same effect as pressing the associated button on the front panel. NOTE: To familiarize yourself with the remote operation of the 4070A, it is helpful to[...]

  • Page 48

    BK Prec ision 4070A User Manual Rev.2 .2 43 V - Report hardware and software versions This command reports the hardware and softwa re version. A hexadecimal serial number, and a program memory checksum are also reported by this command: BK Precision model: 4070A Software Version: c.2 Hardware Version: 1.0 S/N: F45E3412AC56 PM Checksum: 0017829BB903[...]

  • Page 49

    BK Prec ision 4070A User Manual Rev.2 .2 44 F0 - 9 - Move cursor to field 0 to 9 This command is used to move the cursor directly to the specified field number. Each parameter field on the LCD display has an associated number with it, star ting with 1 and increasing as you move from left to right, then top to bottom. For example, the Sweep mode has[...]

  • Page 50

    BK Prec ision 4070A User Manual Rev.2 .2 45 6.7 Remote Control Examples The following are some examples of ASCII character command sequences: Example 1 B F1 3.141Z N 2.3Z F0 NOTE: You do not need spaces between the characters. They were added here only to make the commands more readable. This command sequence breaks down as follows: B - Set 4070A t[...]

  • Page 51

    BK Prec ision 4070A User Manual Rev.2 .2 46 7.0 Arbitrary Waveform Mode 7.1 Quick Start Guide This guide will show you how to download and generate SINE.FLT, an example waveform in floating point format. This file is on the supplied compact disk in the disc 4070A arb examples directory. 1 . Connect a serial port on you PC to the serial port con[...]

  • Page 52

    BK Prec ision 4070A User Manual Rev.2 .2 47 7.2 Introduction to the Arbitrary Waveform System 7.2.1 Description of the Arbitrary Waveform Generator The Arbitrary Mode lets the user design custom waveforms on a PC and download them to the 4070A for generation including Arbitrary Wa veform system is a fully featured Function Generator. Function gener[...]

  • Page 53

    BK Prec ision 4070A User Manual Rev.2 .2 48 7.2. 2 Feature Summary Arbitrary Waveform Generator: • True Arbitrary Waveform Generation. Every point is generated, regardless of clock rate • Sample rate variable from 0 to 40 Mega - samples/Second in .01 Hz steps • 32,768 maximum waveform points • 12 bit vertical reso lution • Continuous/Trig[...]

  • Page 54

    BK Prec ision 4070A User Manual Rev.2 .2 4 9 7.4 Arbitrary Waveform Mode Figure 7.4 - 1: Arbitrary Waveform Mode display 1. Int Clock / Ext Clock / Lock M aster Lock slave mode In this field select the clocking mode for the arbitrary waveform system: Internal Clock - The sample clock is generated internally. The clock frequency is entered directly [...]

  • Page 55

    BK Prec ision 4070A User Manual Rev.2 .2 50 7.5 Function Generator Mode Figure 7.5 - 1: Function Generator Mode display 1. Waveform In this field select the desired function generator waveform. You may select from among the following: 0. Positive Ramp 1. Negative Ramp 2. Triangle 3. Random (noise) 4. Positive Exponential 5. Inverted Positive Expone[...]

  • Page 56

    BK Prec ision 4070A User Manual Rev.2 .2 51 7.6 Pulse Generator Mode 1. Positive Only This field, when set to “Y”, does not let the output signal go below 0V. This feature is handy when driving circuitry that cannot accept negative voltages. This feature eliminat es having to readjust the offset voltage to obtain a positive only signal every ti[...]

  • Page 57

    BK Prec ision 4070A User Manual Rev.2 .2 52 7.7 Downloading arbitrary waveforms To download Arbitrary Waveform data to the 4070A, you must connect the serial port on your computer to the RS - 232 port on the back of the 4070A. For more detail information on this, refer to the chapter 6.2 . On the host computer, you may use the supplied DOS program [...]

  • Page 58

    BK Prec ision 4070A User Manual Rev.2 .2 53 7.7.2 Using your own program You may use your own application program to send the arbitrary waveform data to the 4070A. To download a waveform to the 4070A, you need to send the following to the 4070A through the serial port: 1. A two character header consisting of a) The “W” character. This tells the[...]

  • Page 59

    BK Prec ision 4070A User Manual Rev.2 .2 54 7.8 Data Formats 7.8.1 Floating Point Format A flo ating point number consists of a mantissa and an optional exponent. Downloading floating point values is slower because it can take many characters to represent a single numeric value. This format has an advantage, however, because it is so flexible. Many[...]

  • Page 60

    BK Prec ision 4070A User Manual Rev.2 .2 55 7.8.2 Time & Value Floating Point Format This format use s the same numerical format as Floating Point except that a Time, or Point Number value precedes each Point Value. Since the 4070A does not need the Time or Point Number, specifying this format causes the 4070A to skip every other number it enco[...]

  • Page 61

    BK Prec ision 4070A User Manual Rev.2 .2 56 7.8.3 Digital Format The Digital format was implemented as an easy way to design purely digital waveforms, i.e. waveforms that are either high or low. The digital format provides a very efficient way of representing waveforms that assume only a high or low value. If the value of the data point is 0, then [...]

  • Page 62

    BK Prec ision 4070A User Manual Rev.2 .2 57 7.8.4 Integer Format This format represents a full - scale output with a base 10 number that ranges from - 2047 to +2047 as follows: - 2047 ---- - 1024 --- 0 ---- 1024 ---- 2047 - 1.0 - .5 0.0 +.5 +1.0 Rules for Integer format: 1. The 4070A expects all Integer values to be between - 2047 and +2047. If a n[...]

  • Page 63

    BK Prec ision 4070A User Manual Rev.2 .2 58 7.8.5 Hexadecimal Format This format sends the same two's complement data that Binary format uses, except that each nibble (4 bits) of the hex value is represented by an ASCII character. Each data point is a 16 - bit valu e, which is sent to the 4070A as 4 ASCII characters. Each ASCII character repre[...]

  • Page 64

    BK Prec ision 4070A User Manual Rev.2 .2 59 7.8.6 Binary Format This is the fastest way to send points to the 4070A since it transfers the data point with only 2 characters. (It is also the least forgiving as far as getting the data sent correctly). Each data point is a 16 - bit word, which is sent to the 4070A in two bytes. The high byte is sent f[...]

  • Page 65

    BK Prec ision 4070A User Manual Rev.2 .2 60 7.9 Multiple Units Locking 7.9.1 Introduction to Multiple Arb Locking With this featu re, users may lock several arbitrary waveform generators together to generate multiple simultaneous signals, which are locked together in frequency. The user may then adjust a phase - offset field to obtain a desired pha[...]

  • Page 66

    BK Prec ision 4070A User Manual Rev.2 .2 61 More on Phase Offsets Phase Offsets are accomplished with a reset signal shared by all units. This signal tells all units to jump to a particular waveform point at the same time. By changing which point in the waveform is jumped to, the starting phase of the waveform may be adjusted. The 4070A has a phase[...]

  • Page 67

    BK Prec ision 4070A User Manual Rev.2 .2 62 7.10 Example Arb Program ARB.BAS ARB.BAS is a program written in Microsoft Qui ck Basic, which calculates the points of a sinewave and downloads them to the 4070A as an arbitrary waveform. The program can generate the waveform in all of the supported formats (Floating Point, Integer, Hexadecimal, and Bina[...]

  • Page 68

    BK Prec ision 4070A User Manual Rev.2 .2 63 ' ------------------------------- Main Loop -------------------------------- ' This loop calculates each point of the arbitrary waveform. ' It then calls one of several subroutines (depending on what format you ' would like the data in) to send the data to the 4070A NUMPOINTS = 80 &apo[...]

  • Page 69

    BK Prec ision 4070A User Manual Rev.2 .2 64 '************************************************************************* ***** ' Subroutines ' ' These subroutines take a value in PointVal (which ranges from - 1.0 to +1.0) ' and converts it to various data formats, (i.e. Floating Point, Binary, ' ASCII Hex, and Integer) a[...]

  • Page 70

    BK Prec ision 4070A User Manual Rev.2 .2 65 IF PointNumber = 1 THEN PRINT #1, "WF" ' Put header info before 1st data point IF PointNumber = 2 THEN PRINT #1, "p" ' Set SYNC Out bit for second point PRINT #1, PointVal ' Send Floating point number to 4070A RETURN ' ------------------------- Send Integer data to [...]

  • Page 71

    BK Prec ision 4070A User Manual Rev.2 .2 66 PRINT #1, a ' Send i nteger value to 4070A RETURN '------------------------- Send ASCII Hex data to 4070A ---------------------- ' This format sends the same two's complement data that Binary format uses, ' except that each nibble (4 bits) of the hex value is represented by '[...]

  • Page 72

    BK Prec ision 4070A User Manual Rev.2 .2 67 IF PointVal < 0 THEN PointVal = PointVal + 2: j = 32768! a = INT(PointVal * j) ' Get a number 0 to 65535 a = INT(a / 16) ' Mask off lower 4 bits ($FFF0) a = a * 16 IF PointNumber = 2 THEN a = a OR &H8 ' Set SYNC Out bit for second point a$ = HEX$(a) ' Convert the integer to hexa[...]

  • Page 73

    BK Prec ision 4070A User Manual Rev.2 .2 68 ' first and then the high byte. ' The 4070A expects the high byte first so we must reverse the two so we ' get the proper byte order (i.e. high byte then low byte) high = INT(a / 256) ' Get the High byte of the 16 bit value low = a MOD 256 ' Get the Low byte of the 16 bit value a [...]

  • Page 74

    BK Prec ision 4070A User Manual Rev.2 .2 69 8.0 DC Operation Option Description The DC Operation Option allows the user to power the 4070A from a DC voltage source in the 9 - 36 VDC range. The user may easily switch between the AC Line supply a nd a DC source. This option is most useful for service and remote applications where AC power is not avai[...]

  • Page 75

    BK Prec ision 4070A User Manual Rev.2 .2 70 Main Output Frequency: DC to 21.5 MHz, .01 Hz steps Level: 4 mVp -p to 10.000 Vp - p, 1 mV steps (into 50 Ω ) or - 44.0 dBm to +24.0 dBm, .1 dBm steps (into 50 Ω ) Level Acc uracy: ± 1% Flatness: ± . 2 dB (DC - 10 MHz), + 0.4dB (10MHz – 21.5MHz) @5vpp (into 50 Ω ) DC offset: 0V to ± 6.0 V, 1 mV[...]

  • Page 76

    BK Prec ision 4070A User Manual Rev.2 .2 71 10.0 Software CD Description The compact disk which accompanies this manual contains a number of useful utilities and example programs, which are in directory /disc 4070A. Below is a list of the directories on this disk and a description of the files within each. Within each directory is a file called REA[...]

  • Page 77

    BK Prec ision 4070A User Manual Rev.2 .2 72 Appendix A Example remote control host program This chapter contains an example program written in Microsoft QuickBasic for remotely controlling the 4070A. It ca n be used as a starting point for writing your own remote control applications. The program illustrates several basic techniques for remotely co[...]

  • Page 78

    BK Prec ision 4070A User Manual Rev.2 .2 73 '------------------------------------------------------------------------------ '------------------------------------------------------------------------------ ' Program Start '------------------------------------------------------------------------------ '------------------------[...]

  • Page 79

    BK Prec ision 4070A User Manual Rev.2 .2 74 '----------- Set a frequency and level on the 4070A -------------- ' Send the following command string to the 4070A: ' A F1 18.432Z F2 0.0Z F0 ' These characters have the following meaning: ' A - Reset the 4070A to Sinewave mode ' F1 - Move cursor to field 1 (the frequency fi[...]

  • Page 80

    BK Prec ision 4070A User Manual Rev.2 .2 75 '------------------------------------------------------------------------------ '------------------------------------------------------------------------------ ' SUBROUTINES '------------------------------------------------------------------------------ '--------------------------[...]

  • Page 81

    BK Prec ision 4070A User Manual Rev.2 .2 76 '------------------------------------------------------------------------------ ' Flush all Rx chars from Port 1 buffer '------------------------------------------------------------------------------ FlushBuff1: IF LOC(1) = 0 THEN GOTO DoTimeout1 a$ = INPUT$(LOC(1), #1) ' Get all waiti[...]

  • Page 82

    BK Prec ision 4070A User Manual Rev.2 .2 77 Appendix B Television Remote Control Example This chapter contains an example program written in Microsoft QuickBasic for controlling the 4070A remotely. It is used here to drive an infrared LED to issue commands to a TV or a VCR. It uses the 4070A in Burst mode to emulate the same waveforms used in many [...]

  • Page 83

    BK Prec ision 4070A User Manual Rev.2 .2 78 ' ------------------------------------------------------------------------------ ' ------------------------------------------------------------------------------ ' Program Start ' ------------------------------------------------------------------------------ ' --------------------[...]

  • Page 84

    BK Prec ision 4070A User Manual Rev.2 .2 79 ' ----------- Make sure a 4070A is attached to the serial port -------------- ' If we send the 4070A a control E character, it will respond with a control C. We use ' this feature to see if a 4 070A is attached. If a 4070A cannot be found, wait until ' one is attached. ' User can [...]

  • Page 85

    BK Prec ision 4070A User Manual Rev.2 .2 80 GetCommand: CLS PRINT : PRINT PRINT " 1. Power on/off" PRINT " 2. Channel Up" PRINT " 3. Cha nnel Down" PRINT " 4. Volume Up" PRINT " 5. Volume Down" PRINT PRINT " ESC To exit program" PRINT PRINT " Please select a command >" Command[...]

  • Page 86

    BK Prec ision 4070A User Manual Rev.2 .2 81 Limited Two - Year Warranty B&K Precision Corp. warrants to the original purchaser that its product and the component parts thereof, will be free from defects in workmanship and materials for a per iod of two years from the data of purchase. B&K Precision Corp. will, without charge, repair or repl[...]

  • Page 87

    BK Prec ision 4070A User Manual Rev.2 .2 82 Service Informatio n Warranty Service: Please return the product in the original packaging with proof of purchase to the below address. Clearly state in writing the performance problem and return any leads, connectors and accessories that you are using with the device. Non - Warranty Service: Return the p[...]

  • Page 88

    22820 Savi Ranch Pkwy Yorba Linda, CA 92887 USA TEL: 714 - 921 - 9095 FAX: 714 - 921 - 6422 www.bkprecision.com PN: 481 - 376 - 9 - 001 Printed in the U.S.A.  2002 B&K Precision Corp.[...]