B&K 4071 user manual Data Formats, Floating Point Format, Rules for Floating Point format

Page 59

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 sources of data (BASIC trig functions, spreadsheets, digital oscilloscopes, and waveform design packages) can generate data in this format.

Rules for Floating Point format:

1.The 4071 expects all floating-point values to be between -1.0 and +1.0. If a number falls outside that range, the number is set to -1.0 or +1.0. These correspond to the peak values of the waveform. If the output voltage level were set for 5V p-p, for example, then +1.0 corresponds to +2.5V and -1.0 corresponds to -2.5V (across a 50O load). For maximum signal fidelity, you should design your waveform so that the peak values “just fit” into the range of -1.0 to +1.0. You will then be using the full output range of the DAC.

2.To separate each number, you may use commas, tabs, spaces, carriage returns and/or linefeeds, semicolons,

colons or basically any character that is not among the following: 0 1 2 3 4 5 6 7 8 9

. - + e E X

3.You do not have to include an exponent (i.e. e-5). If no exponent is given, the 4071 assumes that the exponent is 0.

4.Space characters are not allowed between the mantissa and the exponent.

5.Use of the "+" character for positive values is optional.

6.To set the SYNC Out output high during a data point, put a "p" or "P" BEFORE that data point. The "P" character may have space around it if desired. SYNC Out is set low for all data points that do not have a “p” or “P” before them.

Example

A six-point waveform with SYNC Out set high on point #4:

0, .584737, 3457e-4, p .0004857e+3 -.000485 -1.0e-0 X

The “X” 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 timeout.

54

BK Precision 4071 User Manual Rev.2.2

Image 59
Contents User’s Manual Page +K Precision Corp Model User’s ManualTable of Contents DC Operation Option Warranty informationRemote operation Arbitrary waveform systemIntroduction Description Modes Feature summarySIG Out connector Installation and setupSync out connector External Modulation In connector External Trigger/Gating/FSK/BPSK input Line in connector External Reference Input / Ext Arb. Clock connectorExternal Arb Sync In / Out connector RS232 Interface connectorRecall / Store key Mode keyOperating controls and keys Field arrow keysÉ, ê, è, ç keys Trigger keyNumeric keys 0 to 9, MHz/dBm, KHz/Vp-p/Sec, Hz/mVp-p/mS keys One Touch Mode KeysClear key Changing level Operating mode selectionOperating guide Changing frequencyEntering a new value Changing valuesModifying an existing value Sinewave Mode 000,000.00 Hz 10.0 dBm Mode descriptionsBasic Sinewave CW Mode Internal AM Mode Input Gain External AM ModeExternal AM Mode Parameters External AM Input gain 000,000.00 Hz PEP level -10.0 dBmPeak Frequency Deviation Internal FM ModeInternal FM Mode Parameters Int FM 1,000 Hz Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBmExternal FM Pk dev 10,000 Hz 000,000.00 Hz 10.0 dBm External FM ModeExternal FM Mode Parameters Int PM 1,000 Hz Pk dev 180 deg 000,000.00 Hz 10.0 dBm Internal PM ModeInternal PM Mode Parameters Peak Phase DeviationExternal PM Pk dev 180 deg 000,000.00 Hz 10.0 dBm External PM ModeExternal PM Mode Parameters Sweep Mode Sweep time Up / Down sweepSpace Frequency Internal FSK ModeInternal FSK Mode Parameters Mark FrequencyExt FSK Input External FSK ModeExternal FSK Mode Parameters Ext FSK Mark 1,000,000.00 Hz Space 2,000,000.00 Hz 10.0 dBmBurst frequency Burst Mode IntroductionBurst Mode Trig Ton 10,000 mS 000,000.00 Hz Off 10.0 dBm Upper/Lower Sideband selections Internal SSB ModeInternal SSB Mode Parameters Int SSB 1,000 Hz Upper Sideband 000,000.00 Hz 10.0 dBmExternal SSB Upper Sideband 000,000.00 Hz 10.0 dBm External SSB ModeExternal SSB Mode Parameters Background Dtmf Generation ModeDtmf generation # Duration 200 mS Delay Level -10.0 dBm Dtmf Generation Mode ParametersDtmf Duration Dtmf DelayDtmf detected digits Dtmf Detection ModeDtmf Detection Mode Parameters Dtmf detection on Ext Mod input 3 # aVoltage Level Power & Voltage Measurement ModePower & Voltage Measurement Mode Parameters Power LevelOther mode Arbitrary ModeRemote Mode Int Bpsk 1,000 Hz 000,000.00 Hz 10.0 dBm Internal Bpsk ModeInternal Bpsk Mode Parameters External Bpsk 000,000.00 Hz 10.0 dBm External Bpsk ModeExternal Bpsk Mode Parameters 10,000 Hz F2 Ton 000 mS Toff 10.0 Dualtone Generation ModeDualtone Examples Baud Rate Data Modulation ModeUsing the Data Modulation Mode Data Modulation Mode ParametersExample Message Downloading Modulation Message DataSaving the Message Triggering the TransmissionEnd Frequency Voltage Controlled Oscillator VCO ModeVCO Mode Parameters Start End 1,000,000.00 Hz 10.0 dBmChecking your connection with Hyper Terminal ConnectingRemote Operation Remote Control Programming Rules Remote Control OperationReturns C Remote Control CommandsReset 4071 to Sine wave mode × ØReport hardware and software versions K1.0 Enable, Disable front panel keys and rotary knobE1,0 Enable, Disable LCD echo to terminal ? or H Print help menu Stp 31,500,000.00 HzLinear Trig Up Time 10,000 mS F0-9 Move cursor to field 0 toExample Remote Control ExamplesPin 9-pin cable Pin 25 pin cable adapter Arbitrary Waveform ModeQuick Start Guide Description of the Arbitrary Waveform Generator Introduction to the Arbitrary Waveform SystemPulse Generator Switching ModesFeature Summary Function GeneratorContinuous/Triggered mode Arbitrary Waveform ModeInt Clock / Ext Clock / Lock Master Lock slave mode PhaseRepetition Frequency Function Generator ModeFunction Gen Wave Pos Ramp Rep Freq 100,000 Hz 000 mV WaveformDuty Cycle Pulse Generator ModePositive Only Cwaveload /COMx /y /baudz filename.ext Using WAVELOAD.EXEDownloading arbitrary waveforms Saving Arbitrary WaveformsUsing your own program Rules for Floating Point format Data FormatsFloating Point Format Example #2 Time & Value Floating Point FormatDigital Format Rules for Integer format Integer FormatExample The data value E468 is handled as follows Hexadecimal FormatRules for Hexadecimal format Example Binary FormatRules for Binary format Generator Multiple Units LockingArb Waveform Size Restrictions More on Phase OffsetsPhase Resolution Starting Address = Number of waveform points * Phase OffsetProgram 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