B&K 4071 user manual Remote Operation, Connecting, Checking your connection with Hyper Terminal

Page 45

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 characters; permitting a "dumb" terminal to be used to control the 4071.

Each key on the front panel keypad has an ASCII letter associated with it. Sending this letter to the 4071 through the serial port has the same effect as pressing that key on the keypad. In addition, there are extra commands that are only available from the terminal port. These commands let you perform such tasks as disabling the keypad, printing a help screen, resetting the 4071, etc. Section 6.5 describes each command.

When a key is pressed on the front panel of the 4071, its associated ASCII character is echoed out to the serial port. This enables a control program to monitor and act upon front panel key press.

6.2 Connecting

To use the remote control feature, you must attach the serial port on your computer or terminal to the RS-232 connector on the rear of the 4071. On PC serial port is a male 9 pin or 25-pin connector. The wiring is different for each type of connector. For the 9-pin type serial port cable is wired 1:1 (straight through). Although all pins can be wired, only pins 2, 3 and 5 need be connected. See the figure below:

Figure 6.2-1: RS-232 hookup to a PC's 9-pin connector

The easiest way to cable to a 25-pin type connector is to install a 25-pin to 9-pin adapter and use a 1:1 wired cable. These adapters are available at most computer supply stores.

To test the connection, run a terminal program and set the serial port parameters to 9600 baud, 1 start bit, 8 data bits, 1 stop bit, and no parity. When the 4071 is powered up, a text message is printed to the terminal. If you don’t see it, check your cabling. See the following section for instructions on checking your connection on a PC using Hyper Terminal. Also, press Mode then Offset and verify that the 4071 baud rate is set to 9600.

6.3 Checking your connection with Hyper Terminal.

A terminal program supplied with every Windows NT4.0/W2k/XP/95/98/Me operating system called Hyper Terminal can be used to test the serial port connection between your computer and the 4071. This will verify that your cabling is good. After installing the cable, run Hyper Terminal from the Windows 95 start menu as follows:

Launch the program by clicking on:

Start-Programs-Accessories-Communications-HyperTerminal

Enter new name for the 4071 connection session and hit OK.

In “Connect to” window choose COM port, which is connected to 4071, and hit OK.

You will then be presented with a Port Settings menu.

Set the parameters as follows:

Bits per second: 9600

Data bits: 8

Parity: None

Stop Bits: 1

Flow Control: None

40

BK Precision 4071 User Manual Rev.2.2

Image 45
Contents User’s Manual Page +K Precision Corp Model User’s ManualTable of Contents Remote operation Warranty informationArbitrary waveform system DC Operation OptionIntroduction Description Modes Feature summaryInstallation and setup Sync out connectorSIG Out connector External Modulation In connector External Trigger/Gating/FSK/BPSK input External Arb Sync In / Out connector External Reference Input / Ext Arb. Clock connectorRS232 Interface connector Line in connectorOperating controls and keys Mode keyField arrow 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 Operating guide Operating mode selectionChanging frequency 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 Mode Parameters External AM ModeExternal AM Input gain 000,000.00 Hz PEP level -10.0 dBm Input GainInternal FM Mode Parameters Internal FM ModeInt FM 1,000 Hz Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm Peak Frequency DeviationExternal FM Mode External FM Mode ParametersExternal FM Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm Internal PM Mode Parameters Internal PM ModePeak Phase Deviation 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 Sweep time Up / Down sweepInternal FSK Mode Parameters Internal FSK ModeMark Frequency Space FrequencyExternal FSK Mode Parameters External FSK ModeExt FSK Mark 1,000,000.00 Hz Space 2,000,000.00 Hz 10.0 dBm Ext FSK InputBurst Mode Introduction Burst Mode Trig Ton 10,000 mS 000,000.00 Hz Off 10.0 dBmBurst frequency Internal SSB Mode Parameters Internal SSB ModeInt SSB 1,000 Hz Upper Sideband 000,000.00 Hz 10.0 dBm Upper/Lower Sideband selectionsExternal SSB Mode External SSB Mode ParametersExternal SSB Upper Sideband 000,000.00 Hz 10.0 dBm Dtmf generation # Duration 200 mS Delay Level -10.0 dBm Dtmf Generation ModeDtmf Generation Mode Parameters BackgroundDtmf Duration Dtmf DelayDtmf Detection Mode Parameters Dtmf Detection ModeDtmf detection on Ext Mod input 3 # a Dtmf detected digitsPower & Voltage Measurement Mode Parameters Power & Voltage Measurement ModePower Level 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 10,000 Hz F2 Ton 000 mS Toff 10.0 Dualtone Generation ModeDualtone Examples Using the Data Modulation Mode Data Modulation ModeData Modulation Mode Parameters Baud RateExample Message Downloading Modulation Message DataSaving the Message Triggering the TransmissionVCO Mode Parameters Voltage Controlled Oscillator VCO ModeStart End 1,000,000.00 Hz 10.0 dBm End FrequencyConnecting Remote OperationChecking your connection with Hyper Terminal Remote Control Programming Rules Remote Control OperationReset 4071 to Sine wave mode Remote Control Commands× Ø Returns CK1.0 Enable, Disable front panel keys and rotary knob E1,0 Enable, Disable LCD echo to terminalReport hardware and software versions Linear Trig Up Time 10,000 mS Stp 31,500,000.00 HzF0-9 Move cursor to field 0 to ? or H Print help menuExample Remote Control ExamplesArbitrary Waveform Mode Quick Start GuidePin 9-pin cable Pin 25 pin cable adapter Description of the Arbitrary Waveform Generator Introduction to the Arbitrary Waveform SystemFeature Summary Switching ModesFunction Generator Pulse GeneratorInt Clock / Ext Clock / Lock Master Lock slave mode Arbitrary Waveform ModePhase Continuous/Triggered modeFunction Gen Wave Pos Ramp Rep Freq 100,000 Hz 000 mV Function Generator ModeWaveform Repetition FrequencyPulse Generator Mode Positive OnlyDuty Cycle Downloading arbitrary waveforms Using WAVELOAD.EXESaving Arbitrary Waveforms Cwaveload /COMx /y /baudz filename.extUsing your own program Data Formats Floating Point FormatRules for Floating Point format Example #2 Time & Value Floating Point FormatDigital Format Rules for Integer format 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 Phase Resolution More on Phase OffsetsStarting Address = Number of waveform points * Phase Offset Waveform Size RestrictionsProgram Listing ARB.BAS Example Arb ProgramClose System Subroutines Return Print #1, a Send integer value to Return Return DC Operation Option Wiring DiagramOperating Modes 4071 SpecificationsRemote Software CDAppendix a Hardware SetupCLS CLS Print Print Subroutines END SUB Appendix B Television Remote Control ExampleCLS 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