background image

Example program

This C program demonstrates the basic command structure used to program
the logic analyzer, and how that command structure is embedded into the C
language.

/*HP Instrument C program using the HP-IB interface                     */

#include <stdio.h>   /* Include file for printf, etc */

#include <stdlib.h>  /* Include file for malloc, etc */

#include "CHPIB.H"   /* HPIB Library constant declarations */

#include "CFUNC.H"   /* HPIB library function prototypes */

/* Globals used throughout the program */

long isc;

long analyzer;

int  error;

/* errorhandle - This function prints an error message of the screen    */

/*                 regarding the command that caused the error.         */

void errorhandle( char *function, char *cmdcause )

{

  if ( error != NOERR )

  {

    printf("HPIB error in call to %s with %s, error = %s\n", 

            function, cmdcause, errstr(error) );

    exit(1);

  }

}

/* sendstringcmd - this function interfaces to the actual hpib output   */

/*                 functions.  It also checks for errors and calls the  */

/*                 errorhandler function above                          */

void sendstringcmd( char *cmd)

{

  error = IOOUTPUTS( analyzer, cmd, strlen(cmd) );

  errorhandle("IOOUTPUTS", cmd);

}

int main()

{

  isc = 7;                                    /* Assign 7 to isc global */

  analyzer = 707;            /* Assign device address (707) to analyzer */

  error = IORESET ( isc );                             /* Reset the isc */

Programming Getting Started 

Example program

25

Summary of Contents for 54620A

Page 1: ...umber 54620 97012 October 1995 pdf version Dec 1998 For Safety information Warranties and Regulatory information see the pages behind the Index Copyright Hewlett Packard Company 1994 1995 All Rights Reserved HP 54620A C Logic Analyzer ...

Page 2: ...ure consistent repeatable performance you need to start the program controller and analyzer in a known state Without correct initialization your program may run correctly in one instance and not in another This might be due to changes made in configuration by previous program runs or from the front panel of the logic analyzer Program initialization defines and initializes variables allocates memor...

Page 3: ... loop in your program to ensure that the analyzer has completed at least one acquisition before you make a measurement HP does not recommend this because the needed length of the wait loop may vary causing your program to fail DIGitize on the other hand ensures that data capture is complete Also DIGitize when complete stops the acquisition process so that all measurements are on displayed data not...

Page 4: ... discusses the general considerations for programming the instrument over an HP IB interface Chapter 4 Programming over RS 232 C discusses the general considerations for programming the instrument over an RS 232 C interface Chapter 5 Programming and Documentation Conventions describes the conventions used in representing the syntax of commands throughout this book and the HP 54620A C Programmer s ...

Page 5: ...rogramming over HP IB 3 Programming over RS 232 C 4 Programming and Documentation Conventions 5 Status Reporting 6 Installing and Using the Programmer s Reference 7 Programmer s Quick Reference 8 Introduction to Programming 1 Index 5 ...

Page 6: ...6 ...

Page 7: ...gramming Getting Started Initialization 23 Autoscale 24 Setting up the instrument 24 Example program 25 Program overview 27 Using the DIGitize command 28 Receiving information from the instrument 30 String variables 31 Numeric variables 32 Definite length block response data 33 Multiple queries 34 Instrument status 34 3 Programming over HP IB Interface capabilities 37 Addressing 37 Communicating o...

Page 8: ...conventions and definitions 58 Program Examples 59 6 Status Reporting Serial poll 66 7 Installing and Using the Programmer s Reference To install the help file under Microsoft Windows 71 To use the help text and example program files 72 To get updated help and program files via the Internet 73 To start the help file 74 To navigate through the help file 75 8 Programmer s Quick Reference Introductio...

Page 9: ...1 Introduction to Programming ...

Page 10: ... you must add either an HP IB for example HP 54650A or RS 232 C for example HP 54651A or HP 54652B interface to the rear panel You can perform the following basic operations with a controller and a logic analyzer Set up the instrument Make measurements Get data waveform measurements configuration from the logic analyzer Send information pixel image configurations to the logic analyzer Other tasks ...

Page 11: ...sent the response is usually read in using the ENTER statement Messages are placed on the bus using an output command and passing the device address program message and terminator Passing the device address ensures that the program message is sent to the correct interface and instrument The following HP BASIC statement sends a command which sets the threshold voltage for channels 0 through 7 to TT...

Page 12: ...ampless If you are using other languages you must find the equivalents of HP BASIC commands like OUTPUT ENTER and CLEAR to convert the examples For example the example progam in chapter 2 is written in C and uses the library function IOOUTPUTS to send a command The instructions listed in this manual are always enclosed in quotation marks in the example programs Device Address The location where th...

Page 13: ...ventions The example in figure 1 is a command Queries are indicated by adding a question mark to the end of the header Many instructions can be used as either commands or queries depending on whether or not you have included the question mark The command and query forms of an instruction usually have different program data Many queries do not use any program data White Space Separator White space ...

Page 14: ...hite space is added to separate the data from the header The syntax is program mnemonic separator program data terminator Compound command header Compound command headers are a combination of two program mnemonics The first mnemonic selects the subsystem and the second mnemonic selects the function within that subsystem The mnemonics within the compound message are separated by colons For example ...

Page 15: ...ical function mnemonics can be used for more than one subsystem For example the function mnemonic DELAY may be used to set the trigger delay or measure channel to channel delay TIMEBASE DELAY 30 US sets the trigger delay to 30 µs MEASURE DELAY measures the delay betwen predefined start and end channels see MEASure DEFine DELay TIMebase and MEASure are subsystem selectors and determine which meanin...

Page 16: ...tly configured They are also used to get results of measurements made by the instrument For example the command MEASure PERiod instructs the instrument to measure the period of the current measurement source channel and places the result in the output queue The output queue must be read before the next program message is sent For example when you send the query MEASure PERiod you must follow that ...

Page 17: ...ombination of long form and short form For example TIMEBASE DELAY 1US long form TIM DEL 1US short form Programs written in long form are easy to read and are almost self documenting The short form syntax conserves the amount of controller memory needed for program storage and reduces the amount of I O activity Command Syntax Programming Rules The rules for the short form syntax are described in ch...

Page 18: ...d sets the time base mode to delayed The available mnemonics for character program data are always included with the instruction s syntax definition When sending commands either the long form or short form if one exists may be used Uppercase and lowercase letters may be mixed freely When receiving query responses uppercase letters are used exclusively Numeric Program Data Some command headers requ...

Page 19: ... a string Embedded Strings Embedded strings contain groups of alphanumeric characters which are treated as a unit of data by the logic analyzer For example this line of text written to the advisory line of the instrument with the SYSTem DSP command is an embedded string SYSTEM DSP This is a message Embedded strings may be delimited with either single or double quotation marks These strings are cas...

Page 20: ...nctions The NL New Line terminator has the same function as an EOS End Of String and EOT End Of Text terminator Selecting multiple subsystems You can send multiple program commands and program queries for different subsystems on the same line by separating each command with a semicolon The colon following the semicolon enables you to enter a new subsystem For example program mnemonic data program ...

Page 21: ...2 Programming Getting Started ...

Page 22: ...r explains how to Set up the instrument Retrieve setup information and measurement results Digitize a waveform Pass data to the controller Languages for Program Examples The programming examples in this manual are written in HP BASIC or C 22 ...

Page 23: ...parser is the program that reads in the instructions you send to it After clearing the interface initialize the instrument to a preset state OUTPUT 707 RST initializes the instrument to a preset state Information for Initializing the Instrument The actual commands and syntax for initializing the instrument are discussed in the online HP 54620A C Programmer s Reference Refer to your controller manu...

Page 24: ...lows LCHANNEL THRESHOLD LCHAN0_7 TTL terminator LCHANNEL THRESHOLD LCHAN8_15 ECL terminator BLANK LCHANNEL7 terminator BLANK LCHANNEL12 terminator BLANK LCHANNEL13 terminator TIMEBASE RANGE 100US REFERENCE CENTER DELAY 1 5US terminator TRIGGER TYPE EDGE EDGE LCHANNEL3 FALLING terminator TRIGGER MODE NORMAL terminator This example sets channels 0 through 7 to TTL thresholds sets channels 8 through ...

Page 25: ... int error errorhandle This function prints an error message of the screen regarding the command that caused the error void errorhandle char function char cmdcause if error NOERR printf HPIB error in call to s with s error s n function cmdcause errstr error exit 1 sendstringcmd this function interfaces to the actual hpib output functions It also checks for errors and calls the errorhandler functio...

Page 26: ...any problems sendstringcmd RST RESET the instrument set trigger mode to NORMAL sendstringcmd TRIGGER MODE NORMAL set trigger type to Simple edge sendstringcmd TRIGGER TYPE EDGE set trigger to rising edge on channel 0 sendstringcmd TRIGGER EDGE LCHANNEL0 RISING set thresholds time base and delay sendstringcmd autoscale return 0 end main Programming Getting Started Example program 26 ...

Page 27: ...psulates data tranmission to the instrument with error handling First it calls the HP IB library function IOOUTPUTS to send the specified command string passed through cmd to the analyzer The result of the IOOUTPUTS call is returned to the error variable so the errorhandle function is called to process the error if one occurred The main function initializes the interface select code and analyzer a...

Page 28: ... captured and put into acquisition memory based on the current time base and threshold settings and trigger specification To transfer the acquired waveform data to the controller you must specify the WAVeform parameters for the waveform data prior to sending the WAVeform DATA query Set TIMebase MODE to NORMal when Using DIGitize TIMebase MODE must be set to NORMal to perform a DIGitize or a WAVefo...

Page 29: ...eters are important for interpreting the data returned by the WAVeform DATA query After receiving the WAVeform DATA query the instrument will start passing the waveform information when addressed to talk The digitized waveforms are passed from the instrument to the controller by sending a numerical representation of each digitized point The format of the numerical representation is controlled with...

Page 30: ... TRIGger TYPE you would execute the HP BASIC statement ENTER device address Setting where device address represents the address of your device This would enter the current setting for the channel one coupling in the string variable Setting All results for queries sent in a program message must be read before another program message is sent For example when you send the query TRIGger ADVanced DURat...

Page 31: ...e used Address Varies According to Configuration For the example programs in the help file assume that the device being programmed is at device address 707 The actual address varies according to how you have configured the bus for your own application The following example shows the data being returned to a string variable 10 DIM Rang 30 20 OUTPUT 707 TIMEBASE RANGE 30 ENTER 707 Rang 40 PRINT Rang...

Page 32: ...ample shows the data being returned to a numeric variable 10 OUTPUT 707 TIMEBASE RANGE 20 ENTER 707 Rang 30 PRINT Rang 40 END If the time base is set to 1 s div the controller displays 1 Programming Getting Started Numeric variables 32 ...

Page 33: ...s The syntax is a pound sign followed by a non zero digit representing the number of digits in the decimal integer After the non zero digit is the decimal integer that states the number of 8 bit data bytes being sent This is followed by the actual data For example for transmitting 4000 bytes of data the syntax would be The 8 states the number of digits that follow and 00004000 states the number of...

Page 34: ...lt of multiple queries into string variables each response is separated by a semicolon For example the response of the query TIMebase RANGe DELay would be range_value delay_value Use the following program message to read the query TIMebase RANGe DELay into multiple numeric variables ENTER 707 Result1 Result2 Instrument status Status registers track the current status of the instrument By checking ...

Page 35: ...3 Programming over HP IB ...

Page 36: ...these functions are defined by IEEE 488 1 They deal with general interface management issues as well as messages which can be sent over the interface as interface commands For more information about connecting the controller to the logic analyzer see the documentation for the HP IB interface card you are using 36 ...

Page 37: ...HP IB resides at a particular address ranging from 0 to 30 The active controller specifies which devices talk and which listen An instrument may be talk addressed listen addressed or unaddressed by the controller If the controller addresses the instrument to talk the instrument remains configured to talk until it receives an interface clear message IFC another instrument s talk address OTA its own...

Page 38: ...strument address between decimal 0 and 30 The device address passed with the program message must include not only the correct instrument address but also the correct interface select code DEVICE ADDRESS Interface Select Code 100 Instrument Address For example if the instrument address for the logic analyzer is 4 and the interface select code is 7 when the program message is passed the routine per...

Page 39: ...al command GTL to the instrument Bus commands The following commands are IEEE 488 1 bus commands ATN true IEEE 488 2 defines many of the actions taken when these commands are received by the instrument Device clear The device clear DCL or selected device clear SDC commands clear the input and output buffers reset the parser and clear any pending commands If either of these commands is sent during ...

Page 40: ...40 ...

Page 41: ...4 Programming over RS 232 C ...

Page 42: ... Interchange With this interface data is sent one bit at a time and characters are not synchronized with preceeding or subsequent data characters Each character is sent as a complete entity without relationship to other events IEEE488 2 Operates with IEEE 488 1 or RS 232 C IEEE 488 2 is designed to work with IEEE 488 1 as the physical interface When RS 232 C is used as the physical interface as mu...

Page 43: ...nded hardwire operation a high on the CTS input allows the logic analyzer to send data and a low on this line disables the logic analyzer data transmission Likewise a high on the RTS line allows the controller to send data and a low on this line signals a request for the controller to disable data transmission Because three wire operation has no control over the CTS input internal pull up resistor...

Page 44: ... when you are using a three wire interface No Hardware Means to Control Data Flow The three wire interface does not provide a hardware means to control data flow between the controller and the logic analyzer XON XOFF protocol is the only means to control this data flow Extended Interface with Hardware Handshake With the extended interface both the software and the hardware can control the data flo...

Page 45: ...zer which control data flow from the logic analyzer Pin 2 Internal pull up resistors in the logic analyzer assure the DCD and DSR lines remain high when they are not connected If DCD or DSR are connected to the controller the controller must keep these lines and the CTS line high to enable the logic analyzer to send data to the controller A low on any one of these lines will disable the logic anal...

Page 46: ...ferent set of menus Print Utility Menu with HP 54651A RS 232 Interface Module Installed Interface capabilities The baud rate stop bits parity handshake protocol and data bits must be configured exactly the same for both the controller and the logic analyzer to properly communicate over the RS 232 C bus The analyzer RS 232 C interface capabilities are as follows Baud Rate 1200 2400 9600 or 19 2 k S...

Page 47: ...ter an XOFF The logic analyzer will not send any data after an XOFF is received until an XON is received Data Bits Data bits are the number of bits sent and received per character that represent the binary code of that character Information is stored in bytes 8 bits at a time in the logic analyzer Data can be sent and received just as it is stored without the need to convert the data Lockout Comma...

Page 48: ...48 ...

Page 49: ...5 Programming and Documentation Conventions ...

Page 50: ...ibes conventions used in programming the instrument as well as conventions used in the online HP 54620A C Programmer s Reference and the remainder of this manual This chapter also contains a detailed description of the command tree and command tree traversal 50 ...

Page 51: ... and the command syntax Some commands have a programming example The subsystems are listed below SYSTem controls some basic functions of the logic analyzer ACQuire sets the parameters for acquiring and storing data DISPlay controls how waveforms the graticule and text are displayed and written on the screen including the color palette for the HP 54620C color logic analyzer LCHannel controls all lo...

Page 52: ... commands Subsystem commands Common commands These commands are defined by IEEE 488 2 and control some functions that are common to all IEEE 488 2 instruments Common commands are independent of the tree and do not affect the position of the parser within the tree These commands differ from root level commands in that root level commands place the parser back at the root of the command tree Example...

Page 53: ...Programming and Documentation Conventions The command tree 53 ...

Page 54: ...subsystem command places the logic analyzer in that subsystem until a leading colon or a program message terminator is found In the command tree use the last mnemonic in the compound header as a reference point for example RANGe Then find the last colon above that mnemonic TIMebase That is the point where the parser resides You can send any command below that point within the current program messa...

Page 55: ...REFERENCE command because the program message terminator places the parser back at the root of the command tree A second way to send these commands is by placing TIMEBASE before the DELAY command as shown in the second part of example 2 Example 3 OUTPUT 707 TIMEBASE REFERENCE CENTER LCHANNEL LABEL Q0 The leading colon before LCHANNEL tells the parser to go back to the root of the command tree The ...

Page 56: ...mnemonic is the first three characters of the keyword This rule is not applied if the length of the keyword is exactly four characters Some examples of how the truncation rules are applied to various commands are shown in the following table Mnemonic Truncation Long Form Short Form RANGE RANG PATTERN PATT TIMEBASE TIM DELAY DEL TYPE TYPE Programming and Documentation Conventions Truncation rules 5...

Page 57: ... commands run concurrently Commands following an overlapped command may be started before the overlapped command is completed All of the commands are sequential Response generation As defined by IEEE 488 2 query responses may be buffered for the following conditions When the query is parsed by the instrument When the controller addresses the instrument to talk so that it can read the response The ...

Page 58: ...m a list For example A B indicates A or B but not both An ellipsis trailing dots indicates that the preceding element may be repeated one or more times Square brackets indicate that the enclosed items are optional When several items are enclosed by braces one and only one of these elements must be selected Definitions d A single ASCII numeric character 0 9 n A single ASCII non zero numeric charact...

Page 59: ...ommand You can send the command or query using uppercase capital letters or lowercase small letters Also the data can be sent using almost any form you wish If you are sending a time base range value of 100 ms it can be sent using a decimal 1 or an exponential 1e 1 or 1 0E 1 or a suffix 100 ms or 100MS The following examples let you send any of these commands to set the sweep speed to 100 ms Comma...

Page 60: ...60 ...

Page 61: ...6 Status Reporting ...

Page 62: ... set if the queue is not empty For registers the summary bit is set if any enabled bit in the event register is set Events are enabled with the corresponding event enable register Events captured by an event register remain set until the register is read or cleared Registers are read with their associated commands The CLS command clears all event registers and all queues except the output queue If...

Page 63: ...Status Reporting Data Structures Figure 4 Status Reporting 63 ...

Page 64: ...TB URQ user request Indicates whether a front panel key has been pressed CME command error Indicates whether the parser detected an error EXE execution error Indicates whether a parameter was out of range or was inconsistent with the current settings DDE device specific error Indicates whether the device was unable to complete an operation for device dependent reasons QYE query error Indicates whe...

Page 65: ...eiving a trigger until it is cleared either by reading it or by using the CLS command If your application needs to detect multiple triggers the TER event register must be cleared after each one If you are using the Service Request to interrupt a program or controller operation when the trigger bit is set you must clear the event register each time it has been set OUTPUT 707 SRE 32 enables event st...

Page 66: ...s address 7 This command reads the contents of the HP IB Status Register into the variable called Stat At that time bit 6 of the variable Stat can be tested to see if it is set bit 6 1 You can conduct the serial poll operation using the following steps 1 Enable interrupts on the bus This allows the controller to see the SRQ line 2 If the SRQ line is high an instrument is requesting service then ch...

Page 67: ...ore information about serial poll refer to your controller manual and programming language reference manuals After the serial poll is completed if the the RQS bit in the logic analyzer Status Byte Register was set it is reset Once a bit in the Status Byte Register is set it remains set until the status is cleared with a CLS command or until the instrument is reset If these bits are not reset they ...

Page 68: ...68 ...

Page 69: ...7 Installing and Using the Programmer s Reference ...

Page 70: ...le with the Microsoft Windows 3 1 help viewer A second diskette contains the help file as an ASCII text file and three sample programs for the HP 54620A C This chapter Describes how to install the help file on your system Discusses the text and program files Explains how you can get the programs and help file via the Internet 70 ...

Page 71: ... into the appropriate diskette drive A or B of your PC 3 Select File Run from the Program Manager then type in the following drive install where drive is either A or B 4 Follow the onscreen instructions to complete the installation The installer copies the help file to a directory named hp54620 You can choose a different directory if desired It also creates a Program Manager group and icon that yo...

Page 72: ...ow how to use the HP 54620A C commands with the analyzer Copy the help file text or sample programs from the diskette labeled HP 54620 Pgmr s Reference with Example Programs for Non Windows Applications to your system for viewing See the file README TXT on the diskette for more information about the diskette contents Installing and Using the Programmer s Reference To use the help text and example ...

Page 73: ... the directory containing HP 54620A C files ftp cd dist hp54620 4 Get sample programs or updated help files from the directory as desired For example if you want the latest version of the HP 54620A C Programmer s Reference online help file you set the transfer mode to binary and get the file ftp binary ftp get hp54620 hlp Check the README file for more information about the files in this directory...

Page 74: ... in the HP 54620 Prog Ref program group in the Program Manager The help file requires the program WINHELP EXE for Microsoft Windows 3 1 The properties for the Program Manager icon are set to expect this file in the Windows directory Installing and Using the Programmer s Reference To start the help file 74 ...

Page 75: ...he help file by clicking on highlighted text and buttons See your Microsoft Windows documentation for more information or select Help How to Use Help in the Help window Installing and Using the Programmer s Reference To navigate through the help file 75 ...

Page 76: ...76 ...

Page 77: ...8 Programmer s Quick Reference ...

Page 78: ... 54620A C Logic Analyzer The arguments for each command list the minimum argument required The part of the command or query listed in uppercase letters refers to the short form of that command or query The long form is the combination of the uppercase and lowercase letters Any optional parameters are listed at the end of each parameter listing 78 ...

Page 79: ...ceding the ellipses may be repeated one or more times Indicates that the bracketed items are optional Indicates that when items are enclosed by braces one and only one of the elements may be selected N P Indicates the selection of one integer between N and P inclusive Suffix multipliers The following suffix multipliers are available for arguments EX 1E18 M 1E 3 PE 1E15 U 1E 6 T 1E12 N 1E 9 G 1E9 P...

Page 80: ...TO NORMal GLITch ASTore n a n a AUToscale n a n a BLANk source source LCHANnel0 LCHANnel15 PMEMory1 PMEMory2 n a n a CLS n a n a DIGitize n a n a DISPLAY COLumn number number 16 bit integer 0 through 63 for HP 54620A 2 through 63 for HP 54620C DISPLAY COLumn value new line value 16 bit integer in NR1 format 0 through 63 for HP 54620A 2 through 63 for HP 54620C DISPlay DATA 800016256 Binary block b...

Page 81: ...DISPlay PALette arg 16 bit integer in NR1 format This command is used by the HP 54620C These values match the front panel order 0 Default 1 Alternate 1 2 Alternate 2 3 Alternate 3 4 Inverse 1 5 Inverse 2 6 Monochrome n a DISPlay POSition 800000064 order string new line 64 the number of bytes in the string order string wave height ch 0 bottom pixel location ch 0 main screen wave height ch 1 bottom ...

Page 82: ...l group threshold type value channel group LCHANO_7 LCHAN8_15 TRIG_IN threshold type CMOS ECL TTL USERdef value voltage for USERdef float 32 NR3 Voltype Voltype V MV 3 UV 6 LCHannel THReshold channel group threshold type value new line threshold type CMOS ECL TTL USERdef value voltage for USERdef float 32 48 NR3 n a LRN 80000500 learn string new line learn string 500 bytes of data n a MEASure ALL ...

Page 83: ...int number in NR3 format MEASure SHOW value value ON OFF MEASure SHOW value new line value ON OFF MEASure SOURce source text source text LCHANnel0 LCHANnel15 MEASure SOURce source text new line source text LCHANnel0 LCHANnel15 n a MEASure TBINary value value STARt STOP string new line string ascii text 19 characters long n a MEASure TDELta value new line value difference between start and stop mar...

Page 84: ...k 0 255 16 bit integer in NR1 format n a STATus source source LCHANnel0 LCHANnel15 PMEMory1 PMEMory2 value new line value ON OFF n a STB value new line value values defined in table below Bit Weight Name Condition 7 128 6 64 RQS MS 5 32 ESB 4 16 MAV 3 8 2 4 1 2 0 1 STOP n a n a SYSTem DSP normal ascii text normal ascii text quoted message string n a n a n a SYSTem ERRor value new line value 16 bit...

Page 85: ...N OFF TIMebase VERNier value new line value ON OFF TRIGger ADVanced DURation duration suffix duration 32 bit floating point number 16 ns 8 388 60 seconds in NR3 format suffix S MS 3 US 6 NS 9 or PS 12 TRIGger ADVanced DURation duration new line duration 32 bit floating point number in NR3 format TRIGger ADVanced EDGE1 rising value falling value rising value 32 bit integer in NR1 format or string f...

Page 86: ...2 NPATtern2 EDGE1 EDGE2 PAT1ANDEDGE1 PAT2ANDEDGE2 TRIGger ADVanced SOURce2 source source PATtern1 NPATtern1 PATtern2 NPATtern2 EDGE1 EDGE2 PAT1ANDEDGE1 PAT2ANDEDGE2 TRIGger ADVanced SOURce2 source new line source PATtern1 NPATtern1 PATtern2 NPATtern2 EDGE1 EDGE2 PAT1ANDEDGE1 PAT2ANDEDGE2 TRIGger EDGE trigger source trigger edge trigger source LCHANnel0 LCHANnel15 EXTernal TRIG_IN trigger edge RISi...

Page 87: ...GE2 PAT1ANDEDGE1 PAT2ANDEDGE2 duration 32 bit floating point number in NR3 format occurrence 32 bit integer in NR1 format TRIGger TYPE trigger type trigger type EDGE PATTern ADVanced TRIGger TYPE trigger type new line trigger type EDGE PATTern ADVanced TRG n a n a n a TST result new line result 16 bit integer in NR1 format 0 Pass Other Fail VIEW sourcetext source text LCHANnel0 LCHANnel15 PMEMory1...

Page 88: ...32 bit floating point number in NR3 format always 0 0 yorigin 32 bit floating point number in NR3 format always 0 0 yreference 16 bit integer in NR1 format always 0 WAVeform SOURce source source LCHAN0_7 LCHAN8_15 LCHAN0_15 WAVeform SOURce source newline source LCHAN0_7 LCHAN8_15 LCHAN0_15 n a WAVeform TYPE value new line value NORMal GLITch n a WAVeform XINCrement value new line value floating po...

Page 89: ...8 documentation conventions 50 DTE 43 DTR Data Terminal Ready 46 Duplicate mnemonics 15 E Embedded strings 11 13 19 Enter statement 11 EOI 20 ESB event status bit 64 Example Program 25 EXE execution error 64 Exponents 18 F Fractional values 18 H Headers 13 14 56 Host language 13 HP IB 38 I IEEE 488 1 42 IEEE 488 2 42 52 Standard 10 Infinity representation 57 Initialization 23 Instruction headers 1...

Page 90: ...ation 57 Root Level commands 52 RQC request control 64 RQS request service 64 RS 232 C 42 S Separator 13 Sequential commands 57 Serial Poll 66 67 707 31 Short form 17 Simple command header 14 Spaces 13 Status 34 byte 65 registers 34 reporting 62 Stop bits 46 String variables 31 Subsystem commands 52 T Talking to the instrument 11 Terminator 20 Three wire Interface 43 Transmit Data TD 44 45 Transmi...

Page 91: ... service personnel To avoid dangerous electric shock do not perform any service unless qualified to do so Do not attempt internal service or adjustment unless another person capable of rendering first aid and resuscitation is present If you energize this instrument by an auto transformer for voltage reduction make sure the common terminal is connected to the earth terminal of the power source When...

Page 92: ... exclusive remedies Hewlett Packard shall not be liable for any direct indirect special incidental or consequential damages whether based on contract tort or any other legal theory Assistance Product maintenance agreements and other customer assistance agreements are available for Hewlett Packard products For any assistance contact your nearest Hewlett Packard Sales Office Certification Hewlett Pa...

Reviews: