EasyManua.ls Logo

HP 1650B User Manual

HP 1650B
346 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
The following example shows logic analyzer data being returned to a
string variable with headers off:
10 OUTPUT XXX;":SYSTEM:HEAOER OFF"
20 DIM Rang$[30]
30 OUTPUT XXX;" :MACHINEl:TWAVEFORM:RANGE?"
40 ENTER XXX;Rang$
50 PRINT Rangf
60 END
After running this program, the controller displays:
+
l.OOOOOE-05
Numeric Base
Most numeric data will be returned in the same base as shown on screen.
When the
prefix
#B precedes the returned data, the value is in the binary
base. Likewise,
#Q
is the octal base and
#H
is the hexadecimal base. If
no prefer precedes the returned numeric data, then the value is in the
decimal base.
Numeric Variables
If your host language can convert from ASCII to a numeric format, then
you can use numeric variables. Turning off the response headers will help
you avoid accidently trying to convert the header into a number.
The following example shows logic analyzer data being returned to a
numeric variable.
10 OUTPUT XXX;":SYSTEM:HEAOER OFF"
20 OUTPUT XXX;" :MACHINEl:TWAVEFORM:RANGE?"
30 ENTER XXX;Rang
40 PRINT Rang
50 END
This time the format of the number (such as whether or not exponential
notation is used) is dependant upon your host language. In BASIC, the
output would look like:
l.E-5
Introduction to Programming an Instrument
1-16
HP 1650B/HP 16518
Programming Reference

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the HP 1650B and is the answer not in the manual?

HP 1650B Specifications

General IconGeneral
CategoryLogic Analyzer
Model1650B
Number of Channels80
Maximum Clock Rate100 MHz
Glitch TriggerYes
Transitional TimingYes
DisplayCRT

Summary

Chapter 1 Introduction to Programming an Instrument

Programming Syntax and Concepts

Explains command format, structure, headers, parameters, and syntax rules for instrument control.

Instrument Programming Basics

Covers initialization, example programs, data retrieval, and response formats.

Chapter 2 Programming Over HP-IB

Chapter 3 Programming Over RS-232C

Chapter 5 Common Commands

Key Common Commands

Details essential commands like *CLS, *ESE, *IDN, *RST for status and identification.

Chapter 6 System Commands

Key System Commands

Details core commands like ARM, DATA, LOCKout, LONGform, STARt, STOP.

Chapter 7 MMEMory Subsystem

File Management Commands

Covers AUToload, CATALOG, COPY, DOWNLOAD, LOAD, PACK, PURGE, RENAME, STORE, UPLOAD.

Chapter 10 MACHine Subsystem

Machine Configuration Commands

Covers commands like NAME, TYPE, ARM, ASSign for machine setup.

Chapter 11 SFORmat Subsystem

State Format Configuration

Details SFORmat selector and commands like CLOCK, CPERiod, LABel.

Chapter 12 STRace Subsystem

State Trace Qualification

Details BRANch, FIND, PREStore, RESTart for trace sequence control.

Chapter 13 SLISt Subsystem

State Listing Configuration

Details commands like COLumn, DATA, LINE, MMODE, PATtern for listing setup.

Chapter 14 SWAVeform Subsystem

Waveform Display Configuration

Details ACCumulate, DELay, INSert, RANGe, REMove for waveform display setup.

Chapter 16 COMPare Subsystem

Compare Data Configuration

Details CMASk, COPY, DATA, FIND, RANGe, RUNTil for comparison setup.

Chapter 17 TFORmat Subsystem

Timing Format Configuration

Details LABel, REMove, THReshold for timing format setup.

Chapter 18 TTRace Subsystem

Timing Trace Configuration

Details AMODe, DURation, EDGE, GLITch, PATTern for timing trace setup.

Chapter 19 TWAVeform Subsystem

Timing Waveform Configuration

Details ACCumulate, DELay, INSert, MMODe, OCONdition for waveform setup.

Related product manuals