B&K 4071 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 4071, 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 4071 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 4071. 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 4071 should contain:
- informations concerning technical data of B&K 4071
- name of the manufacturer and a year of construction of the B&K 4071 item
- rules of operation, control and maintenance of the B&K 4071 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 4071 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 4071, 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 4071.

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 4071 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 4071 31.5MHz Multi Function Arbitrary Waveform Generator[...]

  • Page 2

    [...]

  • Page 3

    B&K Precision Model 4071 User’s Manual B + K Precision Corp. ALL RIGHTS RESERVED PRODUCT AND DOCUMENTATION NOTIC E: 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 responsibi[...]

  • 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 Precision 4071 User Manual Rev.2.2 1 1.0 Introduction Figure 1.0 - 1: The BK Precision model 4071 This manual contains operating instructi ons for the BK Precision Model 4071 Signal Generation and Processing Engine. Complete specifications for the Model 4071 are given in Chapter 9.[...]

  • Page 7

    BK Precision 4071 User Manual Rev.2.2 2 1.1 Description Figure 1.1 - 1: 4071 front panel The Model 4071 is a versatile signal source capable of generating a variety of waveforms, including CW and wideband sweeps from D.C. to 31.5 MHz in steps of .01 Hz. The signals are generated using direct digital waveform synthesis (DDS) tech niques for high acc[...]

  • Page 8

    BK Precision 4071 User Manual Rev.2.2 3 Included with the Arbitrary Waveform Generator are 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 Precision 4071 User Manual Rev.2.2 4 2.0 Installation and setup. This section discusses how to properly connect the 4071 to y our equipment. The following diagrams identify the connectors and show typical hookups. Figure 2.0 - 1: Front Panel Connectors 1. SYNC out connector This connector provi des a TTL/CMOS signal, +5V logic level useful for d[...]

  • Page 10

    BK Precision 4071 User Manual Rev.2.2 5 3. External Modulation In connector The External Modulation In connector, located on the rear of the 40 71, 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 an ou[...]

  • Page 11

    BK Precision 4071 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/Gat ing/FSK/BPSK input On this connector the user supplies a digital signal, which serves a variet[...]

  • Page 12

    BK Precision 4071 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 to[...]

  • Page 13

    BK Precision 4071 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 4071. 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 meaning of each button on the front panel change s to that described by t[...]

  • Page 14

    BK Precision 4071 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 4071 can b e used as a variable voltage source by setting the outpu[...]

  • Page 15

    BK Precision 4071 User Manual Rev.2.2 10 3.8 Clear key While the cursor is within a numeric field, the Clear key erases all digits wi thin 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 modes [...]

  • Page 16

    BK Precision 4071 User Manual Rev.2.2 11 4.0 Operating guide Turn 4071 on . After a display of the hardware and software versions and serial number , the unit enters the Basic Sinewave mode of operation. The 4071 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 Field[...]

  • Page 17

    BK Precision 4071 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 must first m ove the cursor to the desired field on the display. To do this, p[...]

  • Page 18

    BK Precision 4071 User Manual Rev.2.2 13 5.0 Mode descriptions The following pages describe each operating mode of the 4071. 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 sinewave of fixed fr equency and level. This mode could [...]

  • Page 19

    BK Precision 4071 User Manual Rev.2.2 14 5.2 Internal AM Mode Introduction The Internal AM mode generates an amplitude - modulated signal 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 carrier; [...]

  • Page 20

    BK Precision 4071 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, ou tput level, input gain and DC offset values could be manua[...]

  • Page 21

    BK Precision 4071 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 m odulating frequency, output level, deviation, and DC offset values could be manually entered from the fron[...]

  • Page 22

    BK Precision 4071 User Manual Rev.2.2 17 5.5 External FM Mode Introduction External FM mode generates frequency - modulated signal of fixed amplitude we re 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 from [...]

  • Page 23

    BK Precision 4071 User Manual Rev.2.2 18 5.6 Internal PM Mode Introduction Internal PM mode generates phase - modulated signal of fixed amplitude. It used internal ly 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 this[...]

  • Page 24

    BK Precision 4071 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 devia tion and DC offset values could be manually entered from the fron[...]

  • Page 25

    BK Precision 4071 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, c[...]

  • Page 26

    BK Precision 4071 User Manual Rev.2.2 21 5. Up / Down sweep In this field select the direction 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 or ro[...]

  • Page 27

    BK Precision 4071 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 modulating sig nal to toggle the output signal frequency between mark frequency and space frequency. Mark and Space frequencies, output level, modulating shift frequency[...]

  • Page 28

    BK Precision 4071 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 fr equency and the space frequency. Mark and space frequencies, level and DC offset values could be manu[...]

  • Page 29

    BK Precision 4071 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 4071 continuously gates the output sinusoid on and off according to the values entered in the[...]

  • Page 30

    BK Precision 4071 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 co[...]

  • Page 31

    BK Precision 4071 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 entere[...]

  • Page 32

    BK Precision 4071 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 specified[...]

  • Page 33

    BK Precision 4071 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 the " ∗ " DTMF digit, press the period ( . ) key. To generate the "A" DTMF digit, press [...]

  • Page 34

    BK Precision 4071 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 wil[...]

  • Page 35

    BK Precision 4071 User Manual Rev.2.2 30 5.18 Power & Voltage Measurement Mode Introduction The Power & 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 50KHz range. An internal lowpass fi[...]

  • Page 36

    BK Precision 4071 User Manual Rev.2.2 31 5.19 Ar bitrary Mode In Arbitrary generator mode the user could design custom waveform on PC, then download it to 4071 memory over RS - 232 serial port to synthesize signal. Continuous or trigger triggering modes are available. Signal Clock, output level and DC o ffset values could be manually entered from t[...]

  • Page 37

    BK Precision 4071 User Manual Rev.2.2 32 5.22 Internal BPSK Mod e 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 suppressed carr ier; i.e. no carrier energy is pre[...]

  • Page 38

    BK Precision 4071 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 is[...]

  • Page 39

    BK Precision 4071 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 of[...]

  • Page 40

    BK Precision 4071 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 Gatin g Input, refer to section 2.0. Dualtone Examples The following table lists the parameters for some common Dualtone. Name Frequency 1 Fr[...]

  • Page 41

    BK Precision 4071 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 m odulated using FSK modulation at an adjustable baud rate. The mark and space frequencies may be independently specified from 0 Hz to 31.5 MHz wi[...]

  • Page 42

    BK Precision 4071 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 4071 has internal leveling circuitry is disabled in this mode, in orde r to offer higher FSK modulation rates. NOTE: The level spec[...]

  • Page 43

    BK Precision 4071 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 Transmission T he 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 turn [...]

  • Page 44

    BK Precision 4071 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 values using ext ernally supplied - 5.0V/+5.0V voltage. The control input bandwidth is DC to 35 KHz. Start, End frequencies, output level and[...]

  • Page 45

    BK Precision 4071 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 4071 with a terminal or computer. Commands and responses use ASCII ch aracters; permitting a "dumb" terminal to be used to control the 4071. Each key on the front panel keypad has an [...]

  • Page 46

    BK Precision 4071 User Manual Rev.2.2 41 You now have a terminal connection established with the 4071. Hit the “?” key. You should see a command menu in response. If you do not see this menu, check the following: • On t he 4071, press Mode then Offset and verify that the baud rate is set to 9600. • Verify that you are using the correct COM [...]

  • Page 47

    BK Precision 4071 User Manual Rev.2.2 42 6.6 Remote Control Commands The diagram below gives the front panel keys and their a ssociated ASCII codes. Sending these characters to the 4071 has the same effect as pressing the associated button on the front panel. NOTE: To familiarize yourself with the remote operation of the 4071, it is helpful to run [...]

  • Page 48

    BK Precision 4071 User Manual Rev.2.2 43 V - Report hardware and software versions This command reports the hardware, software versions. A hexadecimal serial nu mber, and a program memory checksum are also reported by this command: BK Precision model: 4071 Software Version: c.2 Hardware Version: 1.0 S/N: F45E3412AC56 PM Checksum: 0017829BB903 K1.0 [...]

  • Page 49

    BK Precision 4071 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, starting with 1 and increasing as you mov e from left to right, then top to bottom. For example, the Sweep mode has se[...]

  • Page 50

    BK Precision 4071 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 4071 to Si[...]

  • Page 51

    BK Precision 4071 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 407 1 arb examples directory. 1 . Connect a serial port on you PC to the serial port connec[...]

  • Page 52

    BK Precision 4071 User Manual Rev.2.2 47 7.2 Introduction to the Arbitra ry 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 4071 for generation including Arbitrary Waveform system is a fully featured Function Gener ator. Function generato[...]

  • Page 53

    BK Precision 4071 User Manual Rev.2.2 48 7.2.2 Feature Summary Arbitrary Waveform Generator: • True Ar bitrary 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 resolution • Continuous/Triggere[...]

  • Page 54

    BK Precision 4071 User Manual Rev.2.2 49 7.4 Arbitrary Waveform Mode Figure 7.4 - 1: Arbitrary Waveform Mode display 1. Int Clock / Ext Clock / Lock Master 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 via t[...]

  • Page 55

    BK Precision 4071 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 Exponenti[...]

  • Page 56

    BK Precision 4071 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 eliminates having to readjust the offset voltage to obtain a positive only signal every time t[...]

  • Page 57

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

  • Page 58

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

  • Page 59

    BK Precision 4071 User Manual Rev.2.2 54 7.8 Data Formats 7.8.1 Floating Point Format A floating 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 sou[...]

  • Page 60

    BK Precision 4071 User Manual Rev.2.2 55 7.8.2 Time & Value Floating Point Format This format uses th e same numerical format as Floating Point except that a Time, or Point Number value precedes each Point Value. Since the 4071 does not need the Time or Point Number, specifying this format causes the 4071 to skip every other number it encounter[...]

  • Page 61

    BK Precision 4071 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 pr ovides 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 th[...]

  • Page 62

    BK Precision 4071 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 4071 expects all Integer values to be between - 2047 and +2047. If a numbe[...]

  • Page 63

    BK Precision 4071 User Manual Rev.2.2 58 7.8.5 Hexadecimal Format This format sends the same two's complement data that Binary format uses, ex cept that each nibble (4 bits) of the hex value is represented by an ASCII character. Each data point is a 16 - bit value, which is sent to the 4071 as 4 ASCII characters. Each ASCII character represent[...]

  • Page 64

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

  • Page 65

    BK Precision 4071 User Manual Rev.2.2 60 7.9 Multiple Units Locking 7.9.1 Introduction to Multiple Arb Locking With this feature, 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 phase r[...]

  • Page 66

    BK Precision 4071 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 4071 has a phase off[...]

  • Page 67

    BK Precision 4071 User Manual Rev.2.2 62 7.10 Example Arb Program ARB.BAS ARB.BAS is a program written in Microsoft Quick Basic, which calculates the points of a sinewave and downloads them to the 4071 as an arbitrary waveform. The program can generate the waveform in all of the supported formats (Floating Point, Integer, Hexadecimal, and Binary) a[...]

  • Page 68

    BK Precision 4071 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 4071 NUMPOINTS = 80 ' T[...]

  • Page 69

    BK Precision 4071 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) and [...]

  • Page 70

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

  • Page 71

    BK Precision 4071 User Manual Rev.2.2 66 PRINT #1, a ' Send integer value to 4071 RETURN '------------------------- Send ASCII Hex data to 4071 ---------------------- ' 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 AS[...]

  • Page 72

    BK Precision 4071 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 hexadec[...]

  • Page 73

    BK Precision 4071 User Manual Rev.2.2 68 ' first and then the high byte. ' The 4071 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 = lo[...]

  • Page 74

    BK Precision 4071 User Manual Rev.2.2 69 8.0 DC Operation Option Description The DC Operation Option allows the user to power the 4071 from a DC voltage source in the 9 - 36 VDC ran ge. The user may easily switch between the AC Line supply and a DC source. This option is most useful for service and remote applications where AC power is not availabl[...]

  • Page 75

    BK Precision 4071 User Manual Rev.2.2 70 Main Output Frequency: DC to 31.5 MHz, .01 Hz steps Level: 4 mVp -p to 10.0 Vp - p, 1 mV steps (into 50 Ω ) or - 44.0 dBm to +24.0 dBm, .1 dBm steps (into 50 Ω ) in Function, Arbitrary and Pulse modes. Level: 4 mVp -p to 5.0 Vp - p, 1 mV steps (into 50 Ω ) or - 44.0 dBm to +18.0 dBm, .1 dBm steps (into[...]

  • Page 76

    BK Precision 4071 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 directo ry /disc 4071. Due to similarity in firmware structure BK models 4070A and 4071 both are compatible with this software, except frequency range. Below [...]

  • Page 77

    BK Precision 4071 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 con trolling the 4071. It can be used as a starting point for writing your own remote control applications. The program illustrates several basic techniques for remotely contro[...]

  • Page 78

    BK Precision 4071 User Manual Rev.2.2 73 '------------------------------------------------------------------------------ '------------------------------------------------------------------------------ ' Program Start '------------------------------------------------------------------------------ '---------------------------[...]

  • Page 79

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

  • Page 80

    BK Precision 4071 User Manual Rev.2.2 75 '------------------------------------------------------------------------------ '------------------------------------------------------------------------------ ' SUBROUTINES '------------------------------------------------------------------------------ '-----------------------------[...]

  • Page 81

    BK Precision 4071 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 waiting [...]

  • Page 82

    BK Precision 4071 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 4071 remotely. It is used here to drive an infrared LED to issue commands to a TV or a VCR. It uses the 4071 in Burst mode to emulate the same waveforms used in many infra[...]

  • Page 83

    BK Precision 4071 User Manual Rev.2.2 78 ' ------------------------------------------------------------------------------ ' ------------------------------------------------------------------------------ ' Program Start ' ------------------------------------------------------------------------------ ' -----------------------[...]

  • Page 84

    BK Precision 4071 User Manual Rev.2.2 79 ' ----------- Make sure a 4071 is attached to the serial port -------------- ' If we send the 4071 a control E character, it will respond with a control C. We use ' this feature to see if a 4071 is attached. If a 4071 cannot be fou nd, wait until ' one is attached. ' User can abort t[...]

  • Page 85

    BK Precision 4071 User Manual Rev.2.2 80 GetCommand: CLS PRINT : PRINT PRINT " 1. Power on/off" PRINT " 2. Channel Up" PRINT " 3. Channel Down" PRINT " 4. Volume Up" PRINT " 5 . Volume Down" PRINT PRINT " ESC To exit program" PRINT PRINT " Please select a command >" CommandPol[...]

  • Page 86

    BK Precision 4071 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 period of two years from the data of purchase. B&K Precision Corp. will, without charge, repair or replace,[...]

  • Page 87

    BK Precision 4071 User Manual Rev.2.2 82 Service Information Warranty Service: Please return the product in the original p ackaging 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 prod[...]

  • Page 88

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