B&K 4071 user manual Downloading Modulation Message Data, Example Message

Page 42

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 order to offer higher FSK modulation rates.

NOTE: The level specified is a 50O loaded level. This is the level of the signal, which will appear across a 50O load connected to the SIG Out connector. Into an open circuit, the output swing will be twice the value entered.

Offset

You can enter an offset voltage for the output signal. For more information on output offsets refer to section 4.4.

Ext Trigger Input

In Data Modulation mode this input functions as an external trigger input. Logic low-to-high transition on this input will trigger the transmission. This input has an internal pull down resistor so that the input is held at a logic low when this input is left unconnected. See section 2.0 for more information on the External Trigger Input.

Downloading Modulation Message Data

To download the modulation data, you must send an ASCII message to the 4071 through the serial port. To do this, first cable the PC’s serial port to the 4071 as shown in the Remote Operation section of this manual.

The following example has you generate an ASCII disk file and download it to the 4071. If the file already has the “W M” header, you may use the WAVELOAD.EXE utility with the “no header” option (/N) to send the file to the 4071. (See the chapter on Downloading Arbitrary Waveforms for more information on WAVELOAD.EXE).

You may also write your own program to send the data to the 4071. If you wish to use your own program, be sure to set the serial port parameters to1 start bit, 8 data bits, 1 stop bit, and no parity. The baud rate of your program must also match that of the 4071. To inspect or change the 4071 baud rate, press the Mode key and then the Offset key.

Modulation Data is sent to the 4071 in Hexadecimal format. (For more information on hexadecimal numbers, refer to the chapter on Hexadecimal Format in this manual). The message consists of a two character header. Bit count word, and the modulation data words. It does not matter what mode the 4071 is in when the data is downloaded, however you must switch to Internal FSK mode in order to transmit the message.

Example Message:

The message is best explained by example. An example message is:

W M 0012 FE96 AA20 X

It breaks down as follows:

W- This is the first character. It tells the 4071 to download data from the user

M- This character tells the 4071 that the data is MODULATION data (as opposed to an arbitrary wave form)

0012 - This is the bit count. In this case, the message is 18 bits long (0012 in Hexadecimal is 18 in base 10) 960 bits maximum.

FE96 - This is the first 16 bits (one word) of the binary message. The first bit to be transmitted is the MSB of this word.

AA20 - This is the second 16 bits of the binary message. Since the message is only 18 bits long, only the MSB and the next lower bit will be sent (in this case a 1 then a 0). After the last bit is sent, the 4071 turns off the carrier and awaits another trigger condition.

X- This character denotes the end of the data and is optional. If the “X” character is missing, the 4071 will assume all data has been sent after 1-second time -out.

The 18-bit message for the data FE96 AA20 is sent as follows:

1111

1110

1001

0110

10

First bit transmitted

Last bit transmitted

Since this message is only 18 bits long, the last 14 bits of AA20 are ignored.

37

BK Precision 4071 User Manual Rev.2.2

Image 42
Contents User’s Manual Page Model User’s Manual +K Precision CorpTable of Contents Arbitrary waveform system Warranty informationRemote operation DC Operation OptionIntroduction Description Feature summary ModesInstallation and setup Sync out connectorSIG Out connector External Modulation In connector External Trigger/Gating/FSK/BPSK input RS232 Interface connector External Reference Input / Ext Arb. Clock connectorExternal Arb Sync In / Out connector Line in connectorField arrow keys Mode keyOperating controls and keys Recall / Store keyTrigger key Numeric keys 0 to 9,É, ê, è, ç keys One Touch Mode Keys Clear keyMHz/dBm, KHz/Vp-p/Sec, Hz/mVp-p/mS keys Changing frequency Operating mode selectionOperating guide Changing levelChanging values Modifying an existing valueEntering a new value Mode descriptions Basic Sinewave CW ModeSinewave Mode 000,000.00 Hz 10.0 dBm Internal AM Mode External AM Input gain 000,000.00 Hz PEP level -10.0 dBm External AM ModeExternal AM Mode Parameters Input GainInt FM 1,000 Hz Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm Internal FM ModeInternal FM Mode Parameters Peak Frequency DeviationExternal FM Mode External FM Mode ParametersExternal FM Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm Peak Phase Deviation Internal PM ModeInternal PM Mode Parameters Int PM 1,000 Hz Pk dev 180 deg 000,000.00 Hz 10.0 dBmExternal PM Mode External PM Mode ParametersExternal PM Pk dev 180 deg 000,000.00 Hz 10.0 dBm Sweep Mode Up / Down sweep Sweep timeMark Frequency Internal FSK ModeInternal FSK Mode Parameters Space FrequencyExt FSK Mark 1,000,000.00 Hz Space 2,000,000.00 Hz 10.0 dBm External FSK ModeExternal FSK Mode Parameters Ext FSK InputBurst Mode Introduction Burst Mode Trig Ton 10,000 mS 000,000.00 Hz Off 10.0 dBmBurst frequency Int SSB 1,000 Hz Upper Sideband 000,000.00 Hz 10.0 dBm Internal SSB ModeInternal SSB Mode Parameters Upper/Lower Sideband selectionsExternal SSB Mode External SSB Mode ParametersExternal SSB Upper Sideband 000,000.00 Hz 10.0 dBm Dtmf Generation Mode Parameters Dtmf Generation ModeDtmf generation # Duration 200 mS Delay Level -10.0 dBm BackgroundDtmf Delay Dtmf DurationDtmf detection on Ext Mod input 3 # a Dtmf Detection ModeDtmf Detection Mode Parameters Dtmf detected digitsPower Level Power & Voltage Measurement ModePower & Voltage Measurement Mode Parameters Voltage LevelArbitrary Mode Remote ModeOther mode Internal Bpsk Mode Internal Bpsk Mode ParametersInt Bpsk 1,000 Hz 000,000.00 Hz 10.0 dBm External Bpsk Mode External Bpsk Mode ParametersExternal Bpsk 000,000.00 Hz 10.0 dBm Dualtone Generation Mode 10,000 Hz F2 Ton 000 mS Toff 10.0Dualtone Examples Data Modulation Mode Parameters Data Modulation ModeUsing the Data Modulation Mode Baud RateDownloading Modulation Message Data Example MessageTriggering the Transmission Saving the MessageStart End 1,000,000.00 Hz 10.0 dBm Voltage Controlled Oscillator VCO ModeVCO Mode Parameters End FrequencyConnecting Remote OperationChecking your connection with Hyper Terminal Remote Control Operation Remote Control Programming Rules× Ø Remote Control CommandsReset 4071 to Sine wave mode Returns CK1.0 Enable, Disable front panel keys and rotary knob E1,0 Enable, Disable LCD echo to terminalReport hardware and software versions F0-9 Move cursor to field 0 to Stp 31,500,000.00 HzLinear Trig Up Time 10,000 mS ? or H Print help menuRemote Control Examples ExampleArbitrary Waveform Mode Quick Start GuidePin 9-pin cable Pin 25 pin cable adapter Introduction to the Arbitrary Waveform System Description of the Arbitrary Waveform GeneratorFunction Generator Switching ModesFeature Summary Pulse GeneratorPhase Arbitrary Waveform ModeInt Clock / Ext Clock / Lock Master Lock slave mode Continuous/Triggered modeWaveform Function Generator ModeFunction Gen Wave Pos Ramp Rep Freq 100,000 Hz 000 mV Repetition FrequencyPulse Generator Mode Positive OnlyDuty Cycle Saving Arbitrary Waveforms Using WAVELOAD.EXEDownloading arbitrary waveforms Cwaveload /COMx /y /baudz filename.extUsing your own program Data Formats Floating Point FormatRules for Floating Point format Time & Value Floating Point Format Example #2Digital Format Integer Format Rules for Integer formatHexadecimal Format Rules for Hexadecimal formatExample The data value E468 is handled as follows Binary Format Rules for Binary formatExample Multiple Units Locking ArbGenerator Starting Address = Number of waveform points * Phase Offset More on Phase OffsetsPhase Resolution Waveform Size RestrictionsExample Arb Program Program Listing ARB.BASClose System Subroutines Return Print #1, a Send integer value to Return Return Wiring Diagram DC Operation Option4071 Specifications Operating ModesSoftware CD RemoteHardware Setup Appendix aCLS CLS Print Print Subroutines END SUB Television Remote Control Example Appendix BCLS Make sure a 4071 is attached to the serial port Print Limited Two-Year Warranty Service Information Savi Ranch Pkwy Yorba Linda, CA 92887 USA TEL