Agilent Technologies 54645A Manual de Instruções

Consulte online ou descarregue Manual de Instruções para Multímetros Agilent Technologies 54645A. Agilent Technologies 54645A Programming instructions Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 111
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
About this Manual
We’ve added this manual to the Agilent website in an effort to help you support
your product. This manual is the best copy we could find; it may be incomplete
or contain dated information. If we find a more recent copy in the future, we will
add it to the Agilent website.
Support for Your Product
Agilent no longer sells or supports this product. Our service centers may be able
to perform calibration if no repair parts are needed, but no other support from
Agilent is available. You will find any other available product information on the
Agilent Test & Measurement website,
www.tm.agilent.com.
HP References in this Manual
This manual may contain references to HP or Hewlett-Packard. Please note that
Hewlett-Packard's former test and measurement, semiconductor products and
chemical analysis businesses are now part of Agilent Technologies. We have
made no changes to this manual copy. In other documentation, to reduce
potential confusion, the only change to product numbers and names has been in
the company name prefix: where a product number/name was HP XXXX the
current name/number is now Agilent XXXX. For example, model number
HP8648A is now model number Agilent 8648A.
Vista de página 0
1 2 3 4 5 6 ... 110 111

Resumo do Conteúdo

Página 1

About this Manual We’ve added this manual to the Agilent website in an effort to help you support your product. This manual is the best copy we co

Página 2 - Oscilloscope

Output Queue 6–19Message Queue 6–19Key Queue 6–19Clearing Registers and Queues 6–197 Installing and Using the Programmer’s ReferenceTo install the

Página 3 - Programming the Oscilloscope

Command Query Options and Query Returns:MEASure:NWIDth[<source>]:MEASure:NWIDth?[<source>]<source> ::= {ANALog1 | ANALog2 | DIGital0

Página 4

Command Query Options and Query Returnsn/a :MEASure:VDELta? <return_value> ::= delta V value in volts in NR3 format:MEASure:VMAX[<source>]

Página 5 - In This Book

Command Query Options and Query Returns*SRE <mask>*SRE? <mask> ::= sum of all bits that are set, 0 to 255; an integer in NR1format. <ma

Página 6

Command Query Options and Query Returns:SYSTem:LOCK <value>:SYSTem:LOCK? <value> ::= {ON | OFF}:SYSTem:SETup <setup_data>:SYSTem:SE

Página 7

Command Query Options and Query Returns:TRIGGER:ADVanced:PATTern1<value> , <mask>:TRIGger:ADVanced:PATTern1? < value> ::= integer in

Página 8 - Contents

Command Query Options and Query Returns:TRIGger:GLITch:QUALifier{GREaterthan | LESSthan |RANGe}:TRIGger:GLITch:QUALifier? {GREaterthan | LESSthan | RA

Página 9 - 6 Status Reporting

Command Query Options and Query Returns:TRIGger:TV:TVMode <mode>:TRIGger:TV:TVMode? <mode> ::= {LINE | FIELD1 | FIELD2 | VERTical}

Página 10 - Introduction 8–2

Command Query Options and Query Returns:WAVeform:SOURce <source>or:WAVeform:SOURce:FUNCtion <channel>:WAVeform:SOURce? <source> ::

Página 11 - Contents–4

IndexAAddress 707, 2–9Addressing, 3–4the instrument, 3–5alpha argument, 5–10Arguments, 1–5Arm Event Register (ARM), 6–17availability

Página 12 - Introduction to Programming

program commands, 1–12program data, 1–10queries, 2–12subsystems, 1–12NNL, 1–12, 5–6Notation Conventions and Definitions,5–12Numericdata

Página 13

Contents–4

Página 14 - Talking to the Instrument

© Copyright Hewlett-Packard Company 1996All Rights Reserved.Microsoft is a registeredtrademark of MicrosoftCorporation.Reproduction, adaptation, ortra

Página 15 - Program Message Syntax

Product WarrantyThis Hewlett-Packardproduct has a warrantyagainst defects in materialand workmanship for a periodof three years from date ofshipment.

Página 16

1Introduction to Programming

Página 17

Introduction to ProgrammingChapters 1 and 2 introduce the basics for remote programming of anoscilloscope. The programming instructions in this manual

Página 18 - Duplicate Mnemonics

Talking to the InstrumentComputers acting as controllers communicate with the instrument bysending and receiving messages over a remote interface. Ins

Página 19 - Query Command

Program Message SyntaxTo program the instrument remotely, you must understand the commandformat and structure expected by the instrument. The IEEE 488

Página 20 - Program Header Options

InstructionsInstructions (both commands and queries) normally appear as a stringembedded in a statement of your host language, such as BASIC, Pascal,

Página 21 - Program Data Syntax Rules

Header TypesThere are three types of headers:•Simple Command headers•Compound Command headers•Common Command headersSimple Command Header Simple comma

Página 22

Combining Commands from the Same SubsystemTo execute more than one function within the same subsystem a semicolon(;) is used to separate the functions

Página 23 - Selecting Multiple Subsystems

Query CommandCommand headers immediately followed by a question mark (?) are queries.After receiving a query, the instrument interrogates the requeste

Página 24 - Programming Getting Started

Programmer’s GuidePublication Number 54645-97000June 1996 (pdf version Nov 1998)For Safety information, Warranties, and Regulatory information, see th

Página 25

Program Header OptionsProgram headers can be sent using any combination of uppercase orlowercase ASCII characters. Instrument responses, however, are

Página 26 - Initialization

Program Data Syntax RulesProgram data is used to convey a variety of types of parameter informationrelated to the command header. At least one space m

Página 27 - Setting Up the Instrument

All numbers are expected to be strings of ASCII characters. Thus, whensending the number 9, you would send a byte representing the ASCII code forthe c

Página 28 - Example Program

Program Message TerminatorThe program instructions within a data message are executed after theprogram message terminator is received. The terminator

Página 29 - Using the DIGitize Command

2Programming Getting Started

Página 30

Programming Getting Started This chapter explains how to set up the instrument, how to retrievesetup information and measurement results, how to digit

Página 31

InitializationTo make sure the bus and all appropriate interfaces are in a known state,begin every program with an initialization statement. HP BASIC

Página 32 - String Variables

AutoscaleThe AUTOSCALE feature performs a very useful function on unknownwaveforms by setting up the vertical channel, time base, and trigger level of

Página 33 - Numeric Variables

Example ProgramThis program demonstrates the basic command structure used to programthe oscilloscope.10 CLEAR 707 ! Initialize instrument interface20

Página 34

Using the DIGitize CommandThe DIGitize command is a macro that captures data satisfying thespecifications set up by the ACQuire subsystem. When the di

Página 35 - Instrument Status

Programming the OscilloscopeWhen you attach an interface module to the rear of the HP 54645 A/DOscilloscope, it becomes programmable. That is, you can

Página 36 - Programming over HP-IB

The following program example shows a typical setup:OUTPUT 707;":ACQUIRE:TYPE AVERAGE"<terminator>OUTPUT 707;":ACQUIRE:COMPLETE 1

Página 37

Receiving Information from the InstrumentAfter receiving a query (command header followed by a question mark), theinstrument interrogates the requeste

Página 38 - Command and Data Concepts

String VariablesThe output of the instrument may be numeric or character data dependingon what is queried. Refer to the specific commands for the form

Página 39 - Addressing

Numeric VariablesThe following example shows the data being returned to a numeric variable:10 OUTPUT 707;":ANALOG1:RANGE?"20 ENTER 707;Rang3

Página 40 - Communicating Over the Bus

Definite-Length Block Response DataDefinite-length block response data allows any type of device-dependent datato be transmitted over the system inter

Página 41 - Bus Commands

Multiple QueriesYou can send multiple queries to the instrument within a single programmessage, but you must also read them back within a single progr

Página 43

Programming over HP-IB This section describes the HP-IB interface functions and some generalconcepts. In general, these functions are defined by IEEE

Página 44 - Interface Operation

Interface CapabilitiesThe interface capabilities of the oscilloscope, as defined by IEEE 488.1, areSH1, AH1, T5, L4, SR1, RL1, PP0, DC1, DT1, C0, and

Página 45

AddressingBy using the front-panel menus, you must place the instrument in the“Connect to Computer” mode. Use the Print/Utility menu key on the frontp

Página 46

CaptureOnce you initialize the oscilloscope, you can begin capturing data foranalysis. Remember that while the oscilloscope is responding tocommands f

Página 47

Communicating Over the BusBecause HP-IB can address multiple devices through the same interface card,the device address passed with the program messag

Página 48 - Configuring the Interface

LockoutYou can use the SYSTem:LOCK ON command to disable front-panel controlwhile a program is running. By default, the instrument accepts and execute

Página 49

4Programming over RS-232-C

Página 50

Programming over RS-232-CThis section describes the interface functions and some generalconcepts of the RS-232-C. The RS-232-C interface on this instr

Página 51 - Lockout Command

Interface OperationThe oscilloscope can be programmed with a controller over RS-232-C usingeither a minimum three-wire or extended hardwire interface.

Página 52 - Conventions

Minimum Three-Wire Interface with Software ProtocolWith a three-wire interface, the software (as compared to interfacehardware) controls the data flow

Página 53

Extended Interface with Hardware HandshakeWith the extended interface, both the software and the hardware can controlthe data flow between the oscillo

Página 54 - Command Set Organization

The TD (Transmit Data) line from the oscilloscope must connect to the RD(Receive Data) line on the controller. Likewise, the RD line from theoscillosc

Página 55 - Alphabetic Command Reference

Configuring the InterfaceBy using the front-panel controls, you must place the RS-232-C interface ineither the printer mode or the controller mode. Us

Página 56

Interface CapabilitiesThe baud rate, stop bits, parity, handshake protocol, and data bits must beconfigured exactly the same for both the controller a

Página 57 - The Command Tree

In This BookThe HP 54645A/D Programmer’s Guide is your introduction toprogramming the HP 54645A Oscilloscope or HP 54645D Mixed-SignalOscilloscope usi

Página 58

Data BitsData bits are the number of bits sent and received per character thatrepresent the binary code of that character. Information is stored in by

Página 59

Lockout CommandTo lockout the front panel controls use the system command LOCK. Whenthis function is on, all controls (except the power switch) are en

Página 60

5Programming and DocumentationConventions

Página 61 - Truncation Rules

Programming and DocumentationConventionsThis chapter covers conventions used in programming the instrument,as well as conventions used in the online H

Página 62 - Response Generation

Command Set OrganizationThe command set is divided into common commands, root level commandsand sets of subsystem commands. Each of the groups of comm

Página 63

Table 5-1Alphabetic Command ReferenceCommand SubsystemWhere UsedCommand SubsystemWhere UsedCommand SubsystemWhere UsedACTivityADDRessADVancedAERALLAST

Página 64 - Program Examples

Command SubsystemWhere UsedCommand SubsystemWhere UsedCommand SubsystemWhere UsedPATTern2PEAKsPERiodPHASe#PIXel*PMCPMODePOINtsPOINtsPOLarityPOLarityPO

Página 65

The Command TreeThe command tree shows all of the commands and the relationships of thecommands to each other. The IEEE 488.2 common commands are not

Página 66 - Status Reporting

Programming and Documentation ConventionsThe Command Tree5-7

Página 67

Subsystem CommandsSubsystem commands are grouped together under a common node of thecommand tree, such as the TIMEBASE commands. Only one subsystem ma

Página 68 - Figure 6-1

Programming Getting Started2Programming over HP-IB3Programming over RS-232-C4Programming andDocumentation Conventions5Status Reporting6Installing and

Página 69

Example 2:OUTPUT 707;":TIMEBASE:REFERENCE CENTER ; DELAY 0.00001"orOUTPUT 707;":TIMEBASE:REFERENCE CENTER"OUTPUT 707;":TIMEBA

Página 70

Truncation RulesThe truncation rule for the mnemonics used in headers and alpha argumentsis:The mnemonic is the first four characters of the keyword

Página 71 - Figure 6-2

Infinity RepresentationThe representation of infinity is 9.9E+37. This is also the value returnedwhen a measurement cannot be made.Sequential and Over

Página 72 - Figure 6-2 (Continued)

Notation Conventions and DefinitionsThe following conventions and definitions are used in this manual and theonline HP 54645A/D Oscilloscopes Programm

Página 73

Program ExamplesThe program examples given for commands in the online HP 54645A/DOscilloscopes Programmer’s Reference were written using the HP BASIC5

Página 75

6Status Reporting

Página 76 - Trigger Event Register (TRG)

Status Reporting Figure 6-1 is an overview of the oscilloscope’s status reportingstructure. The status reporting structure allows monitoring specifie

Página 77

Status Reporting Overview Block DiagramThe status reporting structure consists of the registers in figure 6-1.Figure 6-1Status Reporting6-3

Página 78

Table 6-1 is a list of the bit definitions for the bit in the status reporting datastructure.Table 6-1Status Reporting Bit DefinitionBit Description I

Página 80 - Enable COMP and FAIL 3

Status Reporting Data StructuresFigure 6-2 brings together the different status reporting data structuresmentioned in this chapter and shows how they

Página 81

Status Reporting Data StructuresFigure 6-2Status ReportingStatus Reporting Data Structures6-6

Página 82 - Arm Event Register (ARM)

Status Reporting Data StructuresFigure 6-2 (Continued)Status ReportingStatus Reporting Data Structures6-7

Página 83 - Error Queue

Status Reporting Data StructuresFigure 6-2 (Continued)Status ReportingStatus Reporting Data Structures6-8

Página 84 - Clearing Registers and Queues

Status Byte Register (SBR)The Status Byte Register is the summary-level register in the status reportingstructure. It contains summary bits that monit

Página 85 - Figure 6-3

Example The following example uses the *STB? query to read the contents of theoscilloscopes Status Byte Register when none of the register’s summary b

Página 86 - Programmer’s Reference

Service Request Enable Register (SRER)Setting the Service Request Enable Register bits enable corresponding bits inthe Status Byte Register. These ena

Página 87 - Reference

Standard Event Status Register (SESR)The Standard Event Status Register (SESR) monitors the followingoscilloscope status events:•PON - Power On•URQ -

Página 88 - <drive>:\install

Standard Event Status Enable Register (SESER)To make it possible for any of the Standard Event Status Register (SESR)bits to be able to generate a sum

Página 89

User Event Register (UER)This register hosts the LCL bit (bit 0) from the Local Event Register. Theother 15 bits are reserved. You can read and clear

Página 90 - To start the help file

Contents1 Introduction to ProgrammingTalking to the Instrument 1–3Program Message Syntax 1–4Combining Commands from the Same Subsystem 1–7Duplicate

Página 91

Limit Test Event Register (LTER)Bit 0 (COMP) of the Limit Test Event Register is set when the Limit Testcompletes. The Limit Test completion criteria

Página 92

Mask Test Event Register (MTER)Bit 0 (COMP) of the Mask Test Event Register is set when the Mask Testcompletes. The Mask Test completion criteria are

Página 93 - Introduction

Histogram Event Register (HER)Bit 0 (COMP) of the Histogram Event Register is set when the Histogramcompletes. The Histogram completion criteria are s

Página 94 - Suffix Multipliers

Error QueueAs errors are detected, they are placed in an error queue. This queue is firstin, first out. If the error queue overflows, the last error i

Página 95

Output QueueThe output queue stores the oscilloscope-to-controller responses that aregenerated by certain instrument commands and queries. The output

Página 96

Status Reporting Decision ChartFigure 6-3Status ReportingClearing Registers and Queues6-20

Página 97

7Installing and Using theProgrammer’s Reference

Página 98

Installing and Using the Programmer’sReferenceThe HP 54645A/D Oscilloscopes Programmer’s Reference is suppliedas an online help file readable with the

Página 99

To install the help file under Microsoft WindowsThe help file requires Microsoft Windows 3.1 and MS-DOS 3.3 or greaterrunning on an IBM-compatible PC.

Página 100 - Commands and Queries

To get updated help and program files via the InternetThe latest versions of the help and example program files are available viaanonymous ftp. You mu

Página 101

4 Programming over RS-232-CInterface Operation 4–3Cables 4–3Minimum Three-Wire Interface with Software Protocol 4–4Extended Interface with Hardware

Página 102

To start the help file• To open the help file under Microsoft Windows, double-click the“Programmer’s Reference” icon in the “HP 54645A/D Oscilloscopes

Página 104

8Programmer’s Quick Reference

Página 105

IntroductionThe Programmer’s Quick Reference provides the commands andqueries with their corresponding arguments and returned formats forthe HP 54645A

Página 106

ConventionsThe following conventions used in this guide include:< > Indicates that words or characters enclosed in angularbrackets symbolize a p

Página 107

Commands and QueriesThe following tables facilitate easy access to each command and query forthe HP 54645A/D Oscilloscopes. The commands and queries a

Página 108

Command Query Options and Query Returns:ASTore n/a n/a:AUToscale n/a n/a:BLANk <source>n/a <source> ::= {ANALog<n> | DIGital0,...,D

Página 109

Command Query Options and Query Returns:DISPlay:PIXel <x>, <y>, <intensity>:DISPlay:PIXel? <x>,<y> <x> ::= x coord

Página 110

Command Query Options and Query Returns:FUNCtion2:MOVE {LEFT)n/a n/a:FUNCtion<N>:OFFSet <offset>:FUNCtion<N>:OFFSet? <offset>

Página 111

Command Query Options and Query Returnsn/a *IDN? HEWLETT-PACKARD,<model>, 0, X.X<model> ::= the model number of the instrument<X.X>

Comentários a estes Manuais

Sem comentários