Page 81
'------------------------------------------------------------------------------ |
' | Flush all Rx chars from Port 1 buffer |
'------------------------------------------------------------------------------ |
FlushBuff1:
IF LOC(1) = 0 THEN GOTO DoTimeout1
a$ = INPUT$(LOC(1), #1) ' Get all waiting chars in Rx buffer
'Now wait for a time-out time to make sure no new stuff is coming in. DoTimeout1:
CALL Delay(.8) | ' Do a 800 mS delay |
IF LOC(1) <> 0 THEN GOTO FlushBuff1 | ' If something came in during |
RETURN | | ' our time-out, flush it |
| |
'------------------------------------------------------------------------------ | |
' | Wait for x mS |
' Function to delay x number of mS. | |
'------------------------------------------------------------------------------ | |
SUB Delay (X%) STATIC | | |
start! = TIMER | | ' Returns no. of secs since midnight. |
| | ' Example: 65445.15 |
DelayLoop: | | ' Do a x mS delay |
IF TIMER < start! + X% / 1000 THEN GOTO DelayLoop |
END SUB | | |
'------------------------------------------------------------------------------ | |
' | Wait for a keypress |
'------------------------------------------------------------------------------ | |
SUB Pause STATIC | | |
DO | | |
LOOP UNTIL INKEY$ <> "" | ' Wait for keypress to continue |
END SUB
76
BK Precision 4071 User Manual Rev.2.2
Contents
User’s Manual
Page
+K Precision Corp
Model User’s Manual
Table of Contents
Remote operation
Warranty information
Arbitrary waveform system
DC Operation Option
Introduction
Description
Modes
Feature summary
Installation and setup
Sync out connector
SIG Out connector
External Modulation In connector
External Trigger/Gating/FSK/BPSK input
External Arb Sync In / Out connector
External Reference Input / Ext Arb. Clock connector
RS232 Interface connector
Line in connector
Operating controls and keys
Mode key
Field arrow keys
Recall / Store key
Trigger key
Numeric keys 0 to 9,
É, ê, è, ç keys
One Touch Mode Keys
Clear key
MHz/dBm, KHz/Vp-p/Sec, Hz/mVp-p/mS keys
Operating guide
Operating mode selection
Changing frequency
Changing level
Changing values
Modifying an existing value
Entering a new value
Mode descriptions
Basic Sinewave CW Mode
Sinewave Mode 000,000.00 Hz 10.0 dBm
Internal AM Mode
External AM Mode Parameters
External AM Mode
External AM Input gain 000,000.00 Hz PEP level -10.0 dBm
Input Gain
Internal FM Mode Parameters
Internal FM Mode
Int FM 1,000 Hz Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm
Peak Frequency Deviation
External FM Mode
External FM Mode Parameters
External FM Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm
Internal PM Mode Parameters
Internal PM Mode
Peak Phase Deviation
Int PM 1,000 Hz Pk dev 180 deg 000,000.00 Hz 10.0 dBm
External PM Mode
External PM Mode Parameters
External PM Pk dev 180 deg 000,000.00 Hz 10.0 dBm
Sweep Mode
Sweep time
Up / Down sweep
Internal FSK Mode Parameters
Internal FSK Mode
Mark Frequency
Space Frequency
External FSK Mode Parameters
External FSK Mode
Ext FSK Mark 1,000,000.00 Hz Space 2,000,000.00 Hz 10.0 dBm
Ext FSK Input
Burst Mode Introduction
Burst Mode Trig Ton 10,000 mS 000,000.00 Hz Off 10.0 dBm
Burst frequency
Internal SSB Mode Parameters
Internal SSB Mode
Int SSB 1,000 Hz Upper Sideband 000,000.00 Hz 10.0 dBm
Upper/Lower Sideband selections
External SSB Mode
External SSB Mode Parameters
External SSB Upper Sideband 000,000.00 Hz 10.0 dBm
Dtmf generation # Duration 200 mS Delay Level -10.0 dBm
Dtmf Generation Mode
Dtmf Generation Mode Parameters
Background
Dtmf Duration
Dtmf Delay
Dtmf Detection Mode Parameters
Dtmf Detection Mode
Dtmf detection on Ext Mod input 3 # a
Dtmf detected digits
Power & Voltage Measurement Mode Parameters
Power & Voltage Measurement Mode
Power Level
Voltage Level
Arbitrary Mode
Remote Mode
Other mode
Internal Bpsk Mode
Internal Bpsk Mode Parameters
Int Bpsk 1,000 Hz 000,000.00 Hz 10.0 dBm
External Bpsk Mode
External Bpsk Mode Parameters
External Bpsk 000,000.00 Hz 10.0 dBm
10,000 Hz F2 Ton 000 mS Toff 10.0
Dualtone Generation Mode
Dualtone Examples
Using the Data Modulation Mode
Data Modulation Mode
Data Modulation Mode Parameters
Baud Rate
Example Message
Downloading Modulation Message Data
Saving the Message
Triggering the Transmission
VCO Mode Parameters
Voltage Controlled Oscillator VCO Mode
Start End 1,000,000.00 Hz 10.0 dBm
End Frequency
Connecting
Remote Operation
Checking your connection with Hyper Terminal
Remote Control Programming Rules
Remote Control Operation
Reset 4071 to Sine wave mode
Remote Control Commands
× Ø
Returns C
K1.0 Enable, Disable front panel keys and rotary knob
E1,0 Enable, Disable LCD echo to terminal
Report hardware and software versions
Linear Trig Up Time 10,000 mS
Stp 31,500,000.00 Hz
F0-9 Move cursor to field 0 to
? or H Print help menu
Example
Remote Control Examples
Arbitrary Waveform Mode
Quick Start Guide
Pin 9-pin cable Pin 25 pin cable adapter
Description of the Arbitrary Waveform Generator
Introduction to the Arbitrary Waveform System
Feature Summary
Switching Modes
Function Generator
Pulse Generator
Int Clock / Ext Clock / Lock Master Lock slave mode
Arbitrary Waveform Mode
Phase
Continuous/Triggered mode
Function Gen Wave Pos Ramp Rep Freq 100,000 Hz 000 mV
Function Generator Mode
Waveform
Repetition Frequency
Pulse Generator Mode
Positive Only
Duty Cycle
Downloading arbitrary waveforms
Using WAVELOAD.EXE
Saving Arbitrary Waveforms
Cwaveload /COMx /y /baudz filename.ext
Using your own program
Data Formats
Floating Point Format
Rules for Floating Point format
Example #2
Time & Value Floating Point Format
Digital Format
Rules for Integer format
Integer Format
Hexadecimal Format
Rules for Hexadecimal format
Example The data value E468 is handled as follows
Binary Format
Rules for Binary format
Example
Multiple Units Locking
Arb
Generator
Phase Resolution
More on Phase Offsets
Starting Address = Number of waveform points * Phase Offset
Waveform Size Restrictions
Program Listing ARB.BAS
Example Arb Program
Close System
Subroutines
Return
Print #1, a Send integer value to
Return
Return
DC Operation Option
Wiring Diagram
Operating Modes
4071 Specifications
Remote
Software CD
Appendix a
Hardware Setup
CLS
CLS Print Print
Subroutines
END SUB
Appendix B
Television Remote Control Example
CLS
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