Agilent Technologies 54645A Manuál s instrukcemi

Procházejte online nebo si stáhněte Manuál s instrukcemi pro Multimetry Agilent Technologies 54645A. Agilent Technologies 54645A Programming instructions Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 111
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 0
1 2 3 4 5 6 ... 110 111

Shrnutí obsahu

Strany 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

Strany 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

Strany 3 - Programming the Oscilloscope

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

Strany 4

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

Strany 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

Strany 6

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

Strany 7

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

Strany 8 - Contents

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

Strany 9 - 6 Status Reporting

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

Strany 10 - Introduction 8–2

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

Strany 11 - Contents–4

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

Strany 12 - Introduction to Programming

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

Strany 13

Contents–4

Strany 14 - Talking to the Instrument

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

Strany 15 - Program Message Syntax

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

Strany 16

1Introduction to Programming

Strany 17

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

Strany 18 - Duplicate Mnemonics

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

Strany 19 - Query Command

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

Strany 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,

Strany 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

Strany 22

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

Strany 23 - Selecting Multiple Subsystems

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

Strany 24 - Programming Getting Started

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

Strany 25

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

Strany 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

Strany 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

Strany 28 - Example Program

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

Strany 29 - Using the DIGitize Command

2Programming Getting Started

Strany 30

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

Strany 31

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

Strany 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

Strany 33 - Numeric Variables

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

Strany 34

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

Strany 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

Strany 36 - Programming over HP-IB

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

Strany 37

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

Strany 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

Strany 39 - Addressing

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

Strany 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

Strany 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

Strany 43

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

Strany 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

Strany 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

Strany 46

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

Strany 47

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

Strany 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

Strany 49

4Programming over RS-232-C

Strany 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

Strany 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.

Strany 52 - Conventions

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

Strany 53

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

Strany 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

Strany 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

Strany 56

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

Strany 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

Strany 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

Strany 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

Strany 60

5Programming and DocumentationConventions

Strany 61 - Truncation Rules

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

Strany 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

Strany 63

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

Strany 64 - Program Examples

Command SubsystemWhere UsedCommand SubsystemWhere UsedCommand SubsystemWhere UsedPATTern2PEAKsPERiodPHASe#PIXel*PMCPMODePOINtsPOINtsPOLarityPOLarityPO

Strany 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

Strany 66 - Status Reporting

Programming and Documentation ConventionsThe Command Tree5-7

Strany 67

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

Strany 68 - Figure 6-1

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

Strany 69

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

Strany 70

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

Strany 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

Strany 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

Strany 73

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

Strany 75

6Status Reporting

Strany 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

Strany 77

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

Strany 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

Strany 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

Strany 81

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

Strany 82 - Arm Event Register (ARM)

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

Strany 83 - Error Queue

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

Strany 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

Strany 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

Strany 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

Strany 87 - Reference

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 95

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

Strany 96

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

Strany 97

7Installing and Using theProgrammer’s Reference

Strany 98

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

Strany 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.

Strany 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

Strany 101

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

Strany 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

Strany 104

8Programmer’s Quick Reference

Strany 105

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

Strany 106

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

Strany 107

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

Strany 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

Strany 109

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

Strany 110

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

Strany 111

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

Komentáře k této Příručce

Žádné komentáře