background image

Using

Instrument

B

ASIC

for

the

First

Time

Allocating

Screen

Area

for

Instrument

B

ASIC

Because

all

of

the

analyzer's

screen

is

allocated

for

analyzer

operation

after

power

ON,

you

must

allocate

screen

area

for

Instrument

B

ASIC

when

you

want

to

use

it.

The

analyzer

provides

four

display

allocation

types

.

Select

one

of

them

using

NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

DISPLAY

ALLOCATION

under

4

Displa

y

5 .

Let's

try

1.

Press

the

following

key

and

softkeys:

4

Displa

y

5

NNNNNNNNNNNNNN

MORE

NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

DISPLAY

ALLOCATION

2.

Press

the

following

softkey

.

NNNNNNNNNNNNNNNNNNNNNNNNNNNNN

ALL

BASIC

The

screen

is

cleared

and

all

of

the

screen

area

is

allocated

for

Instrument

B

ASIC.

3.

Press

the

following

softkey

.

NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

ALL

INSTRUMENT

The

total

screen

area

is

reallocated

as

the

analyzer

display

.

4.

Press

the

following

softkey:

NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

HALF

INSTR

HALF

BASIC

The

screen

area

is

allocated

so

that

the

upper

half

of

the

screen

is

used

for

the

analyzer

operation

and

the

lower

half

is

used

for

Instrument

B

ASIC.

5.

Press

the

following

softkey:

NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

BASIC

STATUS

Three

blank

lines

appear

at

the

display

line

(lower

area

of

the

screen).

This

area

is

used

by

Instrument

B

ASIC

to

input

commands

and

to

display

messages

.

Introduction

to

the

System

2-3

Summary of Contents for Agilent 4396B

Page 1: ...amming Guide SERIAL NUMBERS This manual applies directly to instruments with serial number pre x JP1KE For additional important information about serial numbers read Serial Number in Appendix A Agilent Part No 04396 90063 Printed in Japan May 2003 Sixth Edition ...

Page 2: ...yright All rights are reserved No part of this document may be photocopied reproduced or translated to another language without the prior written consent of the Agilent Technologies Agilent Technologies Japan Ltd Component Test PGU Kobe 1 3 2 Murotani Nishi ku Kobe shi Hyogo 651 2241 Japan c Copyright 1997 1998 2000 2002 2003 Agilent Technologies Japan Ltd ...

Page 3: ...t do not cause the date to change The manual part number changes when extensive technical changes are incorporated March 1997 First Edition part number 04396 90023 July 1997 Second Edition part number 04396 90033 March 1998 Third Edition part number 04396 90043 March 2000 Fourth Edition part number 04396 90043 November 2002 Fifth Edition part number 04396 90053 May 2003 Sixth Edition part number 0...

Page 4: ...ce and then to type the name of a le such as file1 Computer Computer font is used for on screen prompts and messages 4HARDKEYS5 Labeled keys on the instrument front panel are enclosed in 4 5 NNNNNNNNNNNNNNNNNNNNNNNNNN SOFTKEYS Softkeys located to the right of the CRT are enclosed in NNNNN Graphic Symbols General de nitions of other graphic symbols used in manuals COMPUTER denotes information for a...

Page 5: ...ed GPIB systems before you can scan the examples in this guide to nd out how the analyzer can be used in your system If you have never programmed an instrument similar to the analyzer you can start at the beginning and do the examples that apply to your application 2 If you are an experienced programmer but do not have any knowledge of GPIB commands review some examples to decide where you need he...

Page 6: ...IB Command Reference provides a summary of all available GPIB commands It also provides information on the status reporting structure and the trigger system these features conform to the SCPI standard Option 010 Operating Handbook Agilent Part Number 04396 900x6 1 The option 010 Operation Handbook describes the unique impedance measurement functions of the 4396B with option 010 Instrument BASIC Ma...

Page 7: ...mote To Measure Continuously 2 2 Set Trigger Source 2 2 Start Continuous Measurement Sweep 2 2 To Trigger a Measurement From the Controller 2 3 Set Trigger Source 2 3 Trigger a Measurement 2 3 Set Trigger Source 2 4 Trigger a Measurement 2 4 3 Synchronizing the Analyzer from Remote To Wait For the Preceding Operation to Complete 3 2 Let Controller Wait For Operation to Complete OPC 3 2 To Wait for...

Page 8: ...e Modi ed Error Corrected Data 5 7 To Modify Trace Data 5 8 Read Trace Data 5 9 Restore Modi ed Trace Data 5 9 6 Printing or Plotting the Analyzer s Display To Print Analyzer Display 6 1 Printer Preparation 6 1 Execute Print 6 1 To Observe Printing 6 1 7 Controlling Instrument BASIC from Remote To Control GPIB from Instrument BASIC 7 1 To Execute an Instrument BASIC Command from the External Contr...

Page 9: ...tion Programs Total Harmonic Distortion 11 1 Adjacent Channel Power Calculation 11 4 Occupied Power Bandwidth Calculation 11 6 File Transfer Function 11 9 File Transfer from 4396B to External Controller 11 10 File Transfer from External Controller to 4396B 11 12 Displaying List of Files in Current Directory 11 15 12 If You Have a Problem If There Is No Response From an Instrument on the GPIB Bus 1...

Page 10: ... Modify Calibration Data 1 2 5 1 5 2 Data Arrays Data Processing and GPIB Command 5 5 5 3 Sample Program To Modify Error Corrected Data 5 6 5 4 Sample Program To Modify Trace Data 5 8 6 1 Sample Program To Observe Printing 6 2 7 1 Pass Control 7 1 7 2 Sample Program To Receive Control On Instrument BASIC 7 2 7 3 Sample Program To Run the Instrument BASIC Program From the External Controller On Ext...

Page 11: ... Controller 1 2 11 10 11 8 Fixed length block format 11 12 11 9 Sample Program File Transfer from External Controller to 4396B 1 2 11 13 11 10 Sample Program Displaying List of Files in Current Directory of 4396B 11 15 A 1 Serial Number Plate A 2 Contents 5 ...

Page 12: ...Tables A 1 Manual Changes by Serial Number A 1 A 2 Manual Changes by Firmware Version A 1 Contents 6 ...

Page 13: ...nds or instructions to and receives data from the instrument through the GPIB Required Equipment To perform the examples in this manual you need the following equipment 1 The analyzer and the accessories required to test a speci c device under test dut 2 For the GPIB system controller If the analyzer has the Instrument BASIC installed it can be used as the system controller Or An HP 9000 Series 20...

Page 14: ... analyzer for your use For details see Using Instrument BASIC with the 4396B If you are using a computer as an external controller a Set the analyzer to addressable only mode Press 4Local5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ADDRESSABLE ONLY b Set GPIB address of the analyzer to 17 Press 4Local5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN SET ADDRESS NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...

Page 15: ... meters times the number of devices connected on the bus the GPIB controller counts as one device The total length of cable must not exceed 20 meters Star linear and combinational cable con gurations are allowed There must be no loop It is recommended that no more than four piggyback connectors be stacked together on one device Otherwise the resulting structure could exert enough force on the conn...

Page 16: ...which conforms to SCPI to select the analyzer type For details on SCPI see GPIB Command Reference To Execute an GPIB Command Combine the BASIC OUTPUT statement with the GPIB select code the device address and nally the analyzer command For example to execute PRES command type Using Instrument BASIC And press 4Return5 The analyzer goes to the preset state Using an External Controller And press 4Ret...

Page 17: ... ASSIGN Hp4396 TO 717 When iBASIC is used change 717 to 800 50 60 OUTPUT Hp4396 PRES Preset 4396B 70 OUTPUT Hp4396 CHAN1 NA MEAS S21 FMT LOGM 80 INPUT Enter center frequency Hz F_cent 90 INPUT Enter frequency span Hz F_span 100 OUTPUT Hp4396 CENT F_cent 110 OUTPUT Hp4396 SPAN F_span 120 130 Frequency Response Calibration 140 OUTPUT Hp4396 CALK N50 Select 50 ohm type N Cal kit 150 OUTPUT Hp4396 CAL...

Page 18: ...eters 60 OUTPUT Hp4396 PRES Preset 4396B 70 OUTPUT Hp4396 CHAN1 NA MEAS S21 FMT LOGM 80 INPUT Enter center frequency Hz F_cent 90 INPUT Enter frequency span Hz F_span 100 OUTPUT Hp4396 CENT F_cent 110 OUTPUT Hp4396 SPAN F_span You can execute GPIB commands in the same sequence as key operation Lines 60 and 70 perform the same operation as pressing 4Preset5 4Chan 15 4Meas5 NNNNNNNNNNNNNNNNNNNNNNNNN...

Page 19: ...orms a response calibration Line 170 requests the operator to connect a THRU calibration standard Lines 180 through 220 use the status bytes to detect the completion of the THRU calibration See To Wait for Sweep End in Chapter 3 Lines 240 through 270 use the OPC command to detect the completion of the calculation of the calibration coe cients See To Wait For the Preceding Operation to Complete in ...

Page 20: ...e entered each time the program is run For example 100 INPUT Enter center frequency Hz F_cent 110 OUTPUT Hp4396 CENT F_cent Executing this d a Enter center frequency Hz 25000000 The analyzer s center frequency is set to 25 MHz To Execute a Query Any GPIB command that is used with a numeric parameter can also be used as query command For example the CENT numeric parameter command used in the previo...

Page 21: ...l or Gate trigger you cannot trigger from the controller so these sources are not mentioned in this guide 2 Set the number of measurements and the analyzer is initiated You can set the number of measurements as Hold Single Number of Group Continuous 3 Generate the trigger event and the analyzer starts a measurement The analyzer trigger system has three states Idle Waiting for Trigger and Measureme...

Page 22: ...Goes to the Waiting for Trigger state until the number of groups not measured yet equals zero 4 b After all measurements are completed goes to Idle state 4 a Continuous goes to the Waiting for Trigger state 4 b To Measure Continuously d a c b 10 20 Figure 2 2 To Trigger Measurement Continuously 30 40 ASSIGN Hp4396 TO 717 When iBASIC is used change 717 to 800 50 OUTPUT Hp4396 TRGS INT 60 OUTPUT Hp4...

Page 23: ... b 10 20 Figure 2 3 To Trigger Measurement From Controller 1 30 40 ASSIGN Hp4396 TO 717 When iBASIC is used change 717 to 800 50 OUTPUT Hp4396 TRGS INT 60 OUTPUT Hp4396 SING 70 END Figure 2 3 Sample Program To Trigger a Measurement from Controller 1 Set Trigger Source 50 OUTPUT Hp4396 TRGS INT Set the trigger source to internal Trigger a Measurement 60 OUTPUT Hp4396 SING The analyzer changes to th...

Page 24: ...am To Trigger a Measurement from Controller 2 Set Trigger Source 50 OUTPUT Hp4396 TRGS BUS Set the trigger source to bus Trigger a Measurement 70 OUTPUT Hp4396 TRG Triggers the analyzer When the trigger source is set to bus you can use the group execution trigger as follows 70 TRIGGER 7 What is Group Execution Trigger GET The BASIC command TRIGGER can be used instead of the TRG command The BASIC c...

Page 25: ...er s status and generates SRQ The analyzer has a status reporting mechanism that gives information about speci c functions and events inside the analyzer The status byte is an 8 bit register with each bit summarizing the state of one aspect of the analyzer For example the error queue summary bit is set if there are any errors in the queue For the status byte register bit assignment see the GPIB Co...

Page 26: ...C 80 OUTPUT Hp4396 OPC 90 ENTER Hp4396 A In line 80 the OPC command waits for the preceding operations to complete and then returns a 1 In line 90 the controller pauses the program until the analyzer returns a 1 For example in the sample program in Figure 1 3 Chapter 1 the OPC command is used as follows 240 OUTPUT Hp4396 RESPDONE Calculating cal coefficients 250 OUTPUT Hp4396 OPC Waiting calculati...

Page 27: ...EASUREMENT COMPLETE 140 END Figure 3 3 Sample Program To Wait for Sweep End Enable Sweep End Bit 60 OUTPUT Hp4396 CLES 70 OUTPUT Hp4396 SRE 4 ESNB 1 Line 60 clears all bits of the Status Registers and the Enable Registers In line 70 the command SRE 4 sets the Service Request Enable Register to 00000100 this enables bit 2 of the Status Byte Register The command ESNB 1 sets the Event Status Enable R...

Page 28: ...ted from the GPIB interface whose select code is 7 the controller goes to Sweep_end Line 120 Line 90 enables an interrupt from interface 7 GPIB when bit 1 SRQ bit of the interrupt register of the controller is set by a value of 2 See the GPIB Command Reference for additional information Wait Until Measurement Is Done 100 OUTPUT Hp4396 SING 110 Measuring GOTO Measuring In line 100 the SING command ...

Page 29: ...Hp4396 240 OUTPUT Hp4396 ESR 250 ENTER Hp4396 Estat 260 ENABLE INTR 7 When iBASIC is used change 7 to 8 270 RETURN 280 Prog_end 290 END Figure 3 5 Sample Program To Report Command Error Occurrence For details on SRQ interrupt see the To Wait for Sweep End example Enable Error Bit 70 OUTPUT Hp4396 CLES 80 OUTPUT Hp4396 SRE 32 ESE 32 Line 70 clears all bits of the Status Registers and Enable Registe...

Page 30: ...r the analyzer generates an SRQ and the controller branches to Err_report For example the OUTPUT statement 120 OUTPUT Hp4396 CENT Setting center frequency but no parameter causes an SRQ interrupt and branch to Err_report Output Error 180 OUTPUT Hp4396 OUTPERRO 190 ENTER Hp4396 Err Err 200 PRINT COMMAND ERROR DETECTED 210 PRINT Err Err These commands retrieve the error number and description In the...

Page 31: ...ue into A The command error causes the SRQ and with bit 5 and bit 6 of the Status Byte Register set the value of A is 96 Reading the Status Byte Register by using the SPOLL command clears SRQ status byte bit 6 In line 240 and line 250 the command ESR reads the contents of the Standard Event Status Register With Bit 5 of Standard Event Status Register set the value of Estat is 32 Reading the Standa...

Page 32: ......

Page 33: ...essing ow the following data arrays are available RAW DATA ARRAYS CALIBRATION COEFFICIENT ARRAYS DATA ARRAYS MEMORY ARRAYS DATA TRACE ARRAYS MEMORY TRACE ARRAYS For details about the data processing ow of the analyzer see Chapter 12 of Function Reference manual Data format The analyzer provides four data transfer formats FORM2 IEEE 32 bit oating point format FORM3 IEEE 64 bit oating point format F...

Page 34: ...1 140 ON INTR 7 GOTO Sweep_end When iBASIC is used change 7 to 8 150 ENABLE INTR 7 2 160 OUTPUT Hp4396 SING Trigger a Measurement 170 Measuring GOTO Measuring Measuring 180 Sweep_end 190 OUTPUT Hp4396 MKR ON 200 OUTPUT Hp4396 SEAM MAX 210 OUTPUT Hp4396 OUTPMKR 220 ENTER Hp4396 Val1 Val2 Swp 230 PRINT Max Val Val1 dB 240 PRINT Swp Prmtr Swp Hz 250 END Figure 4 1 Sample Program To Read Data Using Ma...

Page 35: ...rn on the markers to be moved Read Data 210 OUTPUT Hp4396 OUTPMKR 220 ENTER Hp4396 Val1 Val2 Swp The OUTPMKR command returns the marker value in the following order primary part of data secondary part of data and sweep parameter What are other marker value commands You can get the marker value using the following commands get primary part of marker value MKRVAL get secondary part of marker value M...

Page 36: ...TPUT Hp4396 OUTPSWPRM 230 ENTER Hp4396 USING K Swp 240 250 OUTPUT Hp4396 POIN 260 ENTER Hp4396 Nop 270 FOR I 1 TO Nop 280 PRINT Swp I Hz Dat I 1 dB For spectrum measurement change 290 NEXT I Dat I 1 to Dat I 300 END Figure 4 2 Sample Program To Get Measurement Trace Using ASCII Format Set the Receive Array 180 DIM Dat 1 801 1 2 Swp 1 801 Line 180 sets the array size to the analyzer s maximum numbe...

Page 37: ...210 and 230 you must choose K to allow for an insu cient number of data points to ll the array which is 801 as declared in line 180 What are other data arrays You can retrieve the following data arrays exchanging GPIB command OUTPDTRC in line 200 For details on each command see the GPIB Command Reference manual RAW DATA ARRAYS OUTPRAW 1 4 DATA ARRAYS OUTPDATA MEMORY ARRAYS OUTPMEMO MEMORY TRACE AR...

Page 38: ...oller 40 50 ASSIGN Hp4396 TO 717 60 70 INPUT ENTER CENTER FREQUENCY Hz F_cent 80 INPUT ENTER FREQUENCY SPAN Hz F_span 90 OUTPUT Hp4396 CENT F_cent 100 OUTPUT Hp4396 SPAN F_span 110 120 OUTPUT Hp4396 CLES 130 OUTPUT Hp4396 SRE 4 ESNB 1 140 ON INTR 7 GOTO Sweep_end 150 ENABLE INTR 7 2 160 OUTPUT Hp4396 SING 170 Measuring GOTO Measuring 180 Sweep_end 190 DIM Dat 1 801 1 2 Swp 1 801 For spectrum measu...

Page 39: ...analyzer in the spectrum analyzer mode each measurement point has only real data so you must set the data array Dat as follows 190 DIM Dat 1 801 Swp 1 801 220 REDIM Dat 1 Nop Swp 1 Nop 360 PRINT Swp I Hz Dat I dB Lines 200 and 210 interrogate the analyzer to determine the number of measurement points Line 220 resizes the receive array to match the data Set Data Transfer Format 200 OUTPUT Hp4396 FO...

Page 40: ...ader to deal with The rst two bytes are the ASCII characters 6 This indicates that a xed length block transfer follows and that the next 6 bytes form an integer specifying the number of bytes in the block to follow The header must be read in so that data order is maintained lines 260 and 300 At the data end the terminator lf eoi is sent lines 280 and 320 Figure 4 4 FORM3 Data Transfer Format 4 8 R...

Page 41: ...MAT OFF 220 OUTPUT Hp4396 OUTPDTRC 230 ENTER Dt USING 8A A 240 ENTER Dt Dat 250 OUTPUT Hp4396 OUTPSWPRM 260 ENTER Dt USING 8A A 270 ENTER Dt Swp 280 ASSIGN Dt TO 290 300 OUTPUT Hp4396 POIN 310 ENTER Hp4396 Nop 320 FOR I 1 TO Nop 330 PRINT Swp I Hz Dat I 1 dB For spectrum measurement change 340 NEXT I Dat I 1 to Dat I 350 END Figure 4 5 Sample Program To Get Measurement Trace Using IEEE 64 bit Floa...

Page 42: ...must be instructed to stop formatting the incoming data with the ENTER statement This is the same operation that is done in the program in Figure 4 3 For more information see Set Data Transfer Format in Figure 4 3 Read Data 220 OUTPUT Hp4396 OUTPTDTRC 230 ENTER Dt USING 8A A 240 ENTER Dt Dat 250 OUTPUT Hp4396 OUTPSWPRM 260 ENTER Dt USING 8A A 270 ENTER Dt Swp When all the data is transferred and n...

Page 43: ...is way use the SAVDSTA command to save data as STATE and recall it using the RECD command d a 10 20 Figure 5 1 To Modify Calibration Data 30 40 ASSIGN Hp4396 TO 717 When iBASIC is used change 717 to 800 50 60 OUTPUT Hp4396 PRES 70 OUTPUT Hp4396 NA 80 INPUT Enter center frequency Hz F_cent 90 INPUT Enter frequency span Hz F_span 100 OUTPUT Hp4396 CENT F_cent 110 OUTPUT Hp4396 SPAN F_span 120 OUTPUT...

Page 44: ...rays see Chapter 4 Read Calibration Data 290 Read Calibration Data 300 DIM Dat 1 801 1 2 When iBASIC is used change 801 to 802 310 OUTPUT Hp4396 POIN 320 ENTER Hp4396 Nop When iBASIC is used delete these lines 330 REDIM Dat 1 Nop 1 2 340 ASSIGN Dt TO 717 FORMAT OFF When iBASIC is used 350 OUTPUT Hp4396 FORM3 change 717 to 800 360 OUTPUT Hp4396 OUTPCALC1 370 ENTER Dt USING 8A Head 380 ENTER Dt Dat ...

Page 45: ...ICIENT ARRAY 1 in the analyzer This array is used to restore the data Lines 450 and 460 send the le header Head calibration data Dat and the terminator END The le header is an input in line 370 This example sets the trigger to HOLD at line 120 The analyzer does not redraw the trace with the new CALIBRATION COEFFICIENT ARRAYS when the trigger is set to HOLD You can redraw the trace by issuing the G...

Page 46: ... FOR I 1 TO Numv 446 Head 7 I 7 I V Numv I 1 Numv I 1 447 NEXT I 448 449 OUTPUT Hp4396 INPUCALC1 450 OUTPUT Dt USING 8A 6 Head 460 OUTPUT Dt Dat END Lines 440 to 442 calculate the number of bytes transferred 8 byte for real part 8 byte for imaginary part and represents it in the string format Line 443 counts the number of characters in the string that contains the number of bytes transferred Line ...

Page 47: ...mand RST or PRES command clears all arrays Data array writing command INPURAW 1 4 INPUDATA and INPUDTRC commands write the corresponding arrays These commands immediately reshape the data trace on the analyzer s display INPUCALC 1 12 commands write the CALIBRATION COEFFICIENT ARRAYS DATA to MEMORY command DATMEM command restores the contents in DATA ARRAYS into MEMORY ARRAYS and the contents in DA...

Page 48: ... 2 When iBASIC is used change 801 to 802 250 OUTPUT Hp4396 POIN 260 ENTER Hp4396 Nop When iBASIC is used delete these lines 270 REDIM Dat 1 Nop 1 2 280 ASSIGN Dt TO 717 FORMAT OFF When iBASIC is used 290 OUTPUT Hp4396 FORM3 change 717 to 800 300 OUTPUT Hp4396 OUTPDATA 310 ENTER Dt USING 8A Head 320 ENTER Dt Dat 330 ENTER Dt USING 1A Dum When iBASIC is used delete this line 340 350 Modify Error Cor...

Page 49: ...NG 8A Head 320 ENTER Dt Dat 330 ENTER Dt USING 1A Dum When iBASIC is used delete this line OUTPDATA command line 300 retrieves DATA ARRAYS in the analyzer For details on data transfer see Chapter 4 Restore Modi ed Error Corrected Data 370 Restore Error Corrected Data 380 OUTPUT Hp4396 INPUDATA 390 OUTPUT Dt USING 8A Head 400 OUTPUT Dt Dat END Line 380 opens the DATA ARRAYS in the analyzer to resto...

Page 50: ...1 2 When iBASIC is used change 801 to 802 250 OUTPUT Hp4396 POIN 260 ENTER Hp4396 Nop When iBASIC is used delete these lines 270 REDIM Dat 1 Nop 1 2 280 ASSIGN Dt TO 717 FORMAT OFF When iBASIC is used 290 OUTPUT Hp4396 FORM3 change 717 to 800 300 OUTPUT Hp4396 OUTPDTRC 310 ENTER Dt USING 8A Head 320 ENTER Dt Dat 330 ENTER Dt USING 1A Dum When iBASIC is used delete this line 340 350 Modify Trace Da...

Page 51: ... Head 320 ENTER Dt Dat 330 ENTER Dt USING 1A Dum When iBASIC is used delete this line The OUTPDTRC command line 300 retrieves trace data in the analyzer For details on data transfer see Chapter 4 Restore Modi ed Trace Data 370 Restore Trace Data 380 OUTPUT Hp4396 INPUDTRC 390 OUTPUT Dt USING 8A Head 400 OUTPUT Dt Dat END Line 380 opens the DATA TRACE ARRAYS in the analyzer to restore the data Line...

Page 52: ......

Page 53: ...ration 1 Connect a printer using a parallel cable 2 Turn the printer on Execute Print To print the screen execute the folowing command OUTPUT 800 PRINALL Set the GPIB address when you execute from an external controller To Observe Printing The Basic program shown below gives an example to detect printing end by using a SRQ interrupt Printing or Plotting the Analyzer s Display 6 1 ...

Page 54: ...UTPUT Hp4396 OSPT 0 Disable Low to High Transitions 90 OUTPUT Hp4396 OSE 512 Enable OS Event Reg 100 OUTPUT Hp4396 SRE 128 Enable OSR bit 120 ON INTR 8 GOTO La1 130 ENABLE INTR 8 2 140 OUTPUT Hp4396 PRINALL 150 La1 160 GOTO La1 170 DISP PRINT COMPLETE 180 190 END Figure 6 1 Sample Program To Observe Printing 6 2 Printing or Plotting the Analyzer s Display ...

Page 55: ...ASIC The analyzer must be the active controller of the GPIB select code 7 when controlling the device on the GPIB Initially the system controller is active The active controller can pass control to the analyzer or other controllers if there are others on the GPIB Figure 7 1 Pass Control What is an active controller The active controller determines which controller can manage the GPIB that is have ...

Page 56: ... 100 END Figure 7 2 Sample Program To Receive Control On Instrument BASIC In line 60 to print out to the printer at address 701 the analyzer requires active control Therefore until active control is passed to the analyzer the program loops back to line 30 When control is passed to the analyzer it executes line 70 To pass active control to Instrument BASIC d a PASS CONTROL 717 4Return5 Pass Control...

Page 57: ...commands To Execute an Instrument BASIC Command from the External Controller Combine the PROG EXEC command with Instrument BASIC command to be executed For example to execute EDIT command d a OUTPUT 717 PROG EXEC EDIT Or you can change the double quoted term EDIT to a single quote EDIT as follows d a OUTPUT 717 PROG EXEC EDIT Be careful when you execute an Instrument BASIC command that requires a ...

Page 58: ... that contains FIG3_3 into the built in disk drive of the analyzer before running the program The sample program disk for Instrument BASIC contains FIG3_3 Open the Instrument BASIC Editor 60 OUTPUT Hp4396 PROG DEL ALL 70 OUTPUT Hp4396 PROG DEF 0 Scratch any program currently existing in the analyzer s Instrument BASIC editor and open the editor Send the Instrument BASIC Program 80 OUTPUT Hp4396 10...

Page 59: ...SSIGN File TO File_name 100 ON ERROR GOTO Done 110 DIM Line 1024 120 LOOP 130 Line 140 ENTER File Line 150 OUTPUT Hp4396 Line 160 END LOOP 170 Done 180 OFF ERROR 190 OUTPUT Hp4396 END 200 END Figure 7 4 Sample Program To Transfer the Program to Instrument BASIC on External Controller This Program transfers the program le in the mass storage of the external controller Before you run this program co...

Page 60: ... Hp4396 TO 717 60 DIM Passed 1 801 1 2 70 OUTPUT Hp4396 PROG NUMB Dat 80 ENTER Hp4396 Passed 90 END Figure 7 5 Sample Program To Load Instrument BASIC Program Array on External Controller This program retrieves the array generated in the sample program listed in Figure 4 2 when that program is executed in Instrument BASIC This information is transferred to the external controller First run the Ins...

Page 61: ...I 1 TO Numb 120 GOSUB Loadlimit 130 NEXT I 140 150 LOOP 160 INPUT Do you want to edit Y N An 170 EXIT IF An N OR An n 180 INPUT Enter segment number 18 I 190 IF Numb I THEN Numb I 200 GOSUB Loadlimit 210 END LOOP 220 230 OUTPUT Hp4396 EDITLIML 240 OUTPUT Hp4396 LIMCLEL 250 FOR K 1 TO Numb 260 OUTPUT Hp4396 LIMSADD 270 OUTPUT Hp4396 LIMPRM Table K 1 280 OUTPUT Hp4396 LIMU Table K 2 290 OUTPUT Hp439...

Page 62: ... 32 Dt I 4 560 NEXT I 570 Passed 580 DISP Program End 590 STOP 600 610 Loadlimit 620 INPUT ENTER SWEEP PARAMETER Hz Table I 1 630 INPUT ENTER UPPER LIMIT VALUE Table I 2 640 INPUT ENTER LOWER LIMIT VALUE Table I 3 650 PRINT I TAB 11 Table I 1 TAB 27 Table I 2 TAB 42 Table I 3 660 RETURN 670 END Figure 8 1 Sample Program Limit Test 2 2 Edit Limit Line 60 CLEAR SCREEN 70 PRINT USING 10A 15A 15A 15A ...

Page 63: ...100 the analyzer can retain up to 18 segments d a Segment Swp Prmtr Hz Upper Lower 1 2 E 6 0 10 2 3 E 6 10 20 3 4 E 6 10 10 The loop lines 150 to 210 determines if you want to edit the table and con rms that the segment is in the table Set Limit Line 230 OUTPUT Hp4396 EDITLIML Start to set the limit line 240 OUTPUT Hp4396 LIMCLEL Clear existing limit table 250 FOR K 1 TO Numb 260 OUTPUT Hp4396 LIM...

Page 64: ... and lower limit The OUTPFAIP command in line 470 returns the number of failed points When the limit test result is PASS it returns 0 and the program goes to Passed Then the array Dt is printed with as many lines as the transferred data Lines 510 to 560 print the limit test result as follows d a Swp Prmtr Hz 1 1925E 7 Result Upper Lower 0 20 40 Swp Prmtr Hz 1 2125E 7 Result Upper Lower 0 20 40 Wha...

Page 65: ... 1 TO Numb 140 GOSUB Loadlist 150 NEXT I 160 170 LOOP 180 INPUT Do you want to edit Y N An 190 EXIT IF An N OR An n 200 INPUT Enter segment number 31 I 210 IF Numb I THEN Numb I 220 GOSUB Loadlist 230 END LOOP 240 250 OUTPUT Hp4396 EDITLIST 260 OUTPUT Hp4396 CLEL 270 FOR K 1 TO Numb 280 OUTPUT Hp4396 SADD 290 OUTPUT Hp4396 CENT Table K 1 300 OUTPUT Hp4396 SPAN Table K 2 310 OUTPUT Hp4396 POIN Tabl...

Page 66: ...eep 2 2 Edit List Table 70 CLEAR SCREEN 80 PRINT Segment TAB 9 Center Hz TAB 20 Span Hz TAB 30 Points 90 PRINT TAB 39 Power dBm TAB 50 RBW Hz 100 110 DIM Table 1 31 1 5 120 INPUT Enter number of segments 31 Numb 130 FOR I 1 TO Numb 140 GOSUB Loadlist 150 NEXT I 160 170 LOOP 180 INPUT Do you want to edit Y N An 190 EXIT IF An N OR An n 200 INPUT Enter segment number 31 I 210 IF Numb I THEN Numb I 2...

Page 67: ...6 CLEL Clear existing limit table 270 FOR K 1 TO Numb 280 OUTPUT Hp4396 SADD Start to set a segment 290 OUTPUT Hp4396 CENT Table K 1 Enter center frequency 300 OUTPUT Hp4396 SPAN Table K 2 Enter frequency span 310 OUTPUT Hp4396 POIN Table K 3 Enter number of points 320 OUTPUT Hp4396 POWE Table K 4 Enter power level 330 OUTPUT Hp4396 BW Table K 5 Enter resolution band width 340 OUTPUT Hp4396 SDON C...

Page 68: ......

Page 69: ... Figure 10 1 I O Port The I O port consists of the following 15 TTL compatible signals 8 bit output 4 bit input 3 grounds The signals IN 0 to IN 3 and OUT 0 to OUT 7 can be read and set by GPIB commands The Instrument BASIC commands READIO 15 0 and WRITEIO 15 0 can directly control the 8 bit I O port without using GPIB commands This operation is faster than using an GPIB command For more informati...

Page 70: ...Hp4396 Inpio Waiting Handler Response 130 A BIT Inpio 3 140 UNTIL A 1 150 160 170 END Figure 10 2 Sample Program Synchronization of an External Handler with the Analyzer Send Signal to the External Handler 80 OUTPUT Hp4396 OUT8IO 8 The OUT8IO parameter command sets the 8 bit data value of the OUT 0 7 lines The OUT8IO 8 command sets the OUT 3 line to TRUE 1 Figure 10 3 8 Bit Data of OUT0 7 Figure 1...

Page 71: ... Waiting Handler Response 130 A BIT Inpio 3 140 UNTIL A 1 The INP8IO command returns the 4 bit data value of the IN 0 3 lines Lines 100 to 160 wait for the external handler to set signal on line IN 3 to TRUE 1 Figure 10 5 Reading Signal from the External Handler Using the Analyzer s I O Port 10 3 ...

Page 72: ......

Page 73: ...Bandwidth For your convenience when using the le transfer function File transfer from the 4396B to the external controller File transfer from the external controller to the 4396B Listing of the les in the current directory of the 4396B Total Harmonic Distortion Most transmitting devices and signal sources contain harmonics as shown in Figure 11 1 Figure 11 1 Harmonic Distortion in a Signal Using A...

Page 74: ... used replace 717 to 800 60 OUTPUT Hp4396 CLES SRE 4 ESNB 96 70 ON INTR 7 GOTO Done When iBASIC is used 80 ENABLE INTR 7 2 replace 7 to 8 90 OUTPUT Hp4396 STOP 100 ENTER Hp4396 Fstop 110 OUTPUT Hp4396 PRSMKRS 120 OUTPUT Hp4396 MKR ON SEAM PEAK 130 OUTPUT Hp4396 OUTPMKR 140 ENTER Hp4396 Vf Vf2 Ff Fundamental 150 Vf SQR 10 Vf 10 05 Vf in V 160 PRINT Fundamental 170 Fr Ff 180 I 2 190 S 0 200 LOOP 210...

Page 75: ...D Figure 11 2 Sample Program Total Harmonic Distortion THD 2 2 In line 120 the marker searches for the fundamental frequency In lines 200 to 340 the marker searches for the harmonics on the analyzer display and integrates the squares Line 370 calculates the THD and line 380 prints the result Using Application Programs 11 3 ...

Page 76: ...O 717 When iBASIC is used change 717 to 800 50 Fadj 25000 Hz 60 Fs 16000 Hz 70 Rbw 100 Resolution bandwidth Hz 80 Nop 801 Number of measurement points 90 Fspan 80000 Frequency Span Hz 100 Avg 10 Averaging factor 110 120 CLEAR SCREEN 130 INPUT Enter carrier frequency Hz Fcent 140 OUTPUT Hp4396 CENT Fcent 150 OUTPUT Hp4396 SPAN Fspan 160 OUTPUT Hp4396 BW Rbw 170 OUTPUT Hp4396 AVERFACT Avg 180 OUTPUT...

Page 77: ...ON SMKR1 ON SMKR2 ON 470 OUTPUT Hp4396 MKRPRM Fcent 480 OUTPUT Hp4396 SMKRPRM1 Fch_l 490 OUTPUT Hp4396 SMKRPRM2 Fch_h 500 PRINT Carrier MHz Fcent 1 E 6 510 PRINT Power dBm Pc 520 PRINT 530 PRINT Adjacent Channel Freq Lo Hz Fch_l 540 PRINT Hi Hz Fch_h 550 PRINT 560 PRINT Adjacent Pow Pl Pc dBc Pl Pc 570 PRINT Ph Pc dBc Ph Pc 580 DISP PROGRAM FINISHED 590 END 600 610 DEF FNPower D Fspan Fch Fs Nop F...

Page 78: ...m Hz F span Measurement frequency span Hz N op Number of measurement points I1 I2 The measurement point of left and right edge of a channel bandwidth Fs Occupied Power Bandwidth Calculation This program calculates the occupied bandwidth of the carrier signal It rst computes the combined power of all signal responses contained in the trace It then calculates the point for which 0 5 of the total pow...

Page 79: ...LD 200 OUTPUT Hp4396 CLES 210 OUTPUT Hp4396 SRE 4 ESNB 1 220 ON INTR 7 GOTO Sweep_end When iBASIC is used 230 ENABLE INTR 7 2 change 7 to 8 240 OUTPUT Hp4396 TRGS INT 250 OUTPUT Hp4396 NUMG Avg 260 Measuring GOTO Measuring 270 Sweep_end Get Data 280 DIM D 1 801 290 DIM P 1 801 300 OUTPUT Hp4396 FORM3 310 ASSIGN Dt TO 717 FORMAT OFF When iBASIC is used 320 OUTPUT Hp4396 OUTPDTRC change 717 to 800 3...

Page 80: ... cient frequency span resolution bandwidth number of measurement points and averaging factor to typical values Lines 390 to 430 search from the left for the point where the power is 0 5 compared to the total power Lines 440 to 480 do the same search from the right Lines 490 to 540 display the marker and 1 marker on the 0 5 power point and read out the spacing of the markers Lines 600 to 660 subpro...

Page 81: ...em to the external controller and then storing them on an external storage device Perform remote measurement using the external controller with a few GPIB commands for basic measurement You do not have to memorize further details such as GPIB commands used for detailed settings Preparation Use the keys on the front panel to establish the setting required for your measurement Store it on the storag...

Page 82: ...tten if it already exists ENTER SOURCE FILE NAME ON INSTRUMENT SAMPLE STA ENTER DESTINATION FILE NAME ON CONTROLLER d a 10 20 Figure 11 7 File transfer Instrument Controller 30 40 DIM Src_file 50 Dst_file 50 50 ASSIGN Hp4396 TO 717 60 OUTPUT Hp4396 rst 70 80 PRINT ENTER SOURCE FILE NAME ON INSTRUMENT 90 INPUT Src_file 100 PRINT Src_file 110 120 PRINT ENTER DESTINATION FILE NAME ON CONTROLLER 130 I...

Page 83: ...6 Str 630 DIM Err 64 640 OUTPUT Hp4396 OUTPERRO 650 ENTER Hp4396 Err 660 IF Err 0 No error THEN 670 PRINT ERROR Str Err 680 RETURN 1 690 ELSE 700 RETURN 0 710 END IF 720 FNEND Figure 11 7 Sample Program File Transfer from 4396B to External Controller 2 2 Lines 80 to 140 accept the entry of the source le name and the destination le name Line 160 calls the subprogram to transfer a le from the 4396B ...

Page 84: ...e selected storage device of the 4396B giving a le name you desire This program when executed rst prompts you to enter a source le name as shown below Enter the name of a le you want to transfer ENTER SOURCE FILE NAME ON CONTROLLER Next the program prompts you to enter the size of the source le as shown below in this example SAMPLE STA has been entered as the source le name Enter the size correctl...

Page 85: ... Dst_file 210 220 END 230 240 copy_to_instrument 250 260 SUB Copy_to_instr Hp4396 Src_file Src_size Dst_file 270 DIM Img 32 280 Max_bsize 16384 290 300 ASSIGN Src_file TO Src_file 310 320 CLEAR Hp4396 330 OUTPUT Hp4396 CLES 340 OUTPUT Hp4396 WOPEN Dst_file 350 IF FNCheck_error Hp4396 CPTI wopen 1 THEN SUBEXIT 360 Xfr_done 0 370 380 LOOP 390 SELECT Src_size Xfr_done 400 CASE Max_bsize 410 Block_siz...

Page 86: ...vice Lines 390 to 480 calculate the length of the data that has not been transferred based on the source le size previously entered and the length of the data that has been already transferred If the length of the remaining data does not exceed 16 Kbytes it is set as the transfer data length otherwise 16 Kbytes is set as the transfer data length Note that if the length of the data not transferred ...

Page 87: ...90 ENTER Hp4396 File_count 300 IF File_count 1 THEN 310 FOR I 1 TO File_count 320 OUTPUT Hp4396 FNAME I 330 ENTER Hp4396 File_name 340 OUTPUT Hp4396 FSIZE File_name 350 ENTER Hp4396 File_size 360 PRINT USING XX DDDDDD XXXX K File_size File_name 370 NEXT I 380 END IF 390 SUBEND Figure 11 10 Sample Program Displaying List of Files in Current Directory of 4396B Line 70 calls the subprogram to display...

Page 88: ...es FILE1 STA size 24576 bytes and FILE2 TIF size 16384 bytes and 1 directory DIR1 For size of a directory 1 is displayed To view the list of the les in DIR1 use the CHAD command to change the current directory to DIR1 and then execute this program again MEMO TEST Size byte File Name 1 1 DIR1 24576 FILE1 STA 16384 FILE2 TIF 11 16 Using Application Programs ...

Page 89: ...bad or loose GPIB cable If an Error Message is Displayed Check the error message on the analyzer s display If GPIB error occurred is displayed 1 Get the error number and description using the OUTPERRO command For information on how to use this command see the To Report Command Error Occurrence in Chapter 3 2 See Messages in the GPIB Command Reference manual If any other message is displayed See Me...

Page 90: ...oesn t use DOS format Instrument BASIC uses both the LIF and the DOS format Try again on using Instrument BASIC Check the mass storage 1 Put the disk into the disk drive and type as follows d a SYSTEM MSI 2 Press 4Return5 d a CS80 700 0 0mass storage volume speci er 3 If the mass storage volume does not match your disk drive use the MSI statement to set it to match If you are using Instrument BASI...

Page 91: ...I type program use GET command The ASCII type program le can be saved and read using SAVE GET commands To read a PROG type program use the READ command The PROG type program le can be saved and read using the STORE LOAD commands If the GPIB Command Does Not W ork Check the preceding GPIB command An GPIB command that requires execution time such as changing format or calculating the calibration coe...

Page 92: ......

Page 93: ...that instrument If your instrument s serial number is not listed on the title page of this manual or in Table A 1 it may be documented in a yellow MANUAL CHANGES supplement In additions to change information the supplement may contain information for correcting errors Errata in the manual To keep this manual as current and accurate as possible Agilent Technologies recommends that you periodically ...

Page 94: ...ine character serial number that is stamped on the serial number plate see Figure A 1 attached to the rear panel The rst four digits and the letter are the serial pre x and the last ve digits are the su x Figure A 1 Serial Number Plate A 2 Manual Changes ...

Page 95: ...Change 1 The rmware revision 1 0X does not support the le transfer function Please delete the descriptions about this function in this manual Manual Changes A 3 ...

Page 96: ......

Page 97: ...Status Register B 3 3 F le transfer 11 9 FMT 5 5 FORM2 4 7 FORM3 4 7 4 10 FORM4 4 5 FORM5 4 7 FORMAT OFF 4 7 4 10 G group execution trigger 2 4 H HOLD 2 2 I INP8IO 10 3 INPDATA 5 7 INPDTRC 5 9 INPUCALC 1 12 5 5 INPUCALC 1 12 5 3 INPUDATA 5 5 INPUDTRC 5 5 INPURAW 1 4 5 5 Instrument Event Status Register 3 3 I O port 10 1 L LIMCLEL 8 3 LIMEDONE 8 3 LIMILINE 8 3 LIMITEST 8 4 limit test 8 1 LIML 8 3 L...

Page 98: ...system 7 3 Q query 1 8 R RAW DATA ARRAYS 4 1 4 5 5 5 remote mode 1 4 S SADD 9 3 SAUNIT 5 5 SAVC 5 5 SDON 9 3 select code 1 4 serial number A 2 Service Request Enable Register 3 3 3 5 service request SRQ 3 1 SING 2 3 SPOLL 3 7 SRE 3 3 3 5 SRQ 3 1 Standard Event Status Register 3 5 Status Byte Register 3 3 3 5 SWPT 9 3 system controller 7 1 T TRG 2 4 TRGS BUS 2 4 TRGS INT 2 2 TRIGGER 2 4 trigger sou...

Page 99: ...Agilent 4396B Network Spectrum Impedance Analyzer Using Instrument BASIC with the 4396B Printed in JAPAN ...

Page 100: ...c Copyright 1997 2000 2001 2003 Agilent Technologies Japan Ltd ...

Page 101: ...or a variable must be typed in place of the words in italics For example copy lename means to type the word copy to type a space and then to type the name of a le such as file1 Computer Computer font is used for on screen prompts and messages 4 HARDKEYS 5 Labeled keys on the instrument front panel and furnished keyboard are enclosed in 4 5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN SOFTKEYS Softkeys located...

Page 102: ...nment Chapter 6 provides application programs and useful techniques for developing programs Chapter 7 describes interfacing features for graphics external connector to trigger RUN CONTinue of a program and I O port Chapter 8 introduces special features for auto loading a program and the On Key Label function softkeys de ned in a program This chapter also describes techniques for speeding up your p...

Page 103: ...tions 2 5 Entering Titles 2 6 Executing Commands 2 6 Using Softkeys 2 7 Entering BASIC Statements from the Front Panel Keys 2 7 3 Writing and Running Programs Getting into out of the EDIT Mode 3 1 Getting into the EDIT Mode 3 1 Getting out of the EDIT Mode 3 1 Writing Programs 3 2 Controlling the Analyzer 3 2 Running Executing Programs 3 5 Listing Programs 3 5 Listing on the Screen 3 5 Listing to ...

Page 104: ...ng the Analyzer Using Instrument BASIC 6 1 I O Operation from Instrument BASIC 6 2 Data Transfer Using the I O Port 6 2 Reading Data from the I O Port 6 2 Writing Data to the I O Port 6 2 Disk I O for a Storage Unit 6 3 Saving Trace Data 6 3 Loading Trace Data 6 3 Using Instrument BASIC with an External Controller 6 4 Sharing One Printer Between Two Controllers 6 5 Loading Instrument BASIC Program...

Page 105: ...11 WRITEIO B 12 C The Keyboard Character Entry Keys C 2 Cursor Control and Display Control Keys C 2 Numeric Keypad C 3 Editing Keys C 3 Program Control Keys C 3 System Control Keys C 4 Softkeys and Softkey Control C 4 Softkey Control Keys C 4 Softkeys C 4 Softkeys Accessed from 4Shift5 4F95 Key C 5 IBASIC Menu C 5 Softkeys Accessed form 4F105 Key C 6 Using 4CTRL5 Key in Edit Mode C 6 D Softkeys Us...

Page 106: ...a Printer Program for External Controller 6 5 6 8 Sharing a Printer Program for Instrument BASIC 6 5 6 9 Loading Instrument BASIC Programs Using Softkeys 6 7 7 1 Screen Structure 7 1 7 2 RUN CONT Trigger Signal 7 3 A 1 Serial Number Plate A 2 C 1 mini DIN Keyboard C 1 D 1 IBASIC Menu D 2 D 2 Memory Partition Menu D 5 D 3 Display Allocation Menu D 6 D 4 Display Allocation D 7 Tables A 1 Manual Chan...

Page 107: ...ssary information in this manual and the other Instrument BASIC manuals Chapter 2 introduces the analyzer s Instrument BASIC system and describes how to connect and use a keyboard Chapter 3 and Chapter 4 show creating getting and saving programs to teach you front panel and keyboard operation Chapter 5 introduces you to the editing environment Chapter 6 provides application programs and useful tec...

Page 108: ...ASIC with the 4396B is not intended to teach the Instrument BASIC programming language see the following document which is better suited to these tasks Instrument BASIC Users Handbook The handbook consists of the following three parts Instrument BASIC Programming Techniques Instrument BASIC Interfacing Techniques Instrument BASIC Language Reference IF you want to port HP 9000 Series 200 300 BASIC ...

Page 109: ... the rst time Using the keyboard Entering BASIC Statements from the front panel keys Overview of Instrument BASIC Instrument BASIC IBASIC can be used for a wide range of applications from simple recording and playback of measurement sequences to remote control of other instruments Instrument BASIC is a complete system controller residing inside your analyzer It communicates with your analyzer via ...

Page 110: ... to the command set of HP 9000 Series 200 300 BASIC Therefore Instrument BASIC programs can be run on any BASIC workstation with few if any changes Porting information can be found in the Instrument BASIC Programming Techniques of the Instrument BASIC Users Handbook Connecting the Keyboard Note Turn OFF the analyzer before inserting or removing the keyboard connector When you use Instrument BASIC ...

Page 111: ... NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL BASIC The screen is cleared and all of the screen area is allocated for Instrument BASIC 3 Press the following softkey NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL INSTRUMENT The total screen area is reallocated as the analyzer display 4 Press the following softkey NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN HALF INSTR HALF BASIC The scr...

Page 112: ...initial settings That is the RAM disk memory is initialized and all the data saved in the RAM disk memory is destroyed and the program on the BASIC editor is destroyed Let s try 1 Press the following key and softkey 4System5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN MEMORY PARTITION 2 Press the desired softkey and NNNNNNNNNNNNNN DONE 3 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN CHANGE YES and NNNNN...

Page 113: ...he current cursor position After pressing 4Enter5 the system responds with the following answer at the bottom of screen 6 For more information see Numeric Computation in the Instrument BASIC Programming Techniques of the Instrument BASIC Users Handbook Entering Arguments to the Active Analyzer Functions The numeric keys on the keyboard can be used to input the arguments for an active analyzer func...

Page 114: ...llowing key to terminate entry 4Enter5 You can enter standard uppercase and lowercase letters for the title using the 4Shift5 key to access the alternate case as usual For more information on the character entry keys see Character Entry Keys in Appendix C Executing Commands You can type in and execute commands from the keyboard at all times except when The display allocation is ALL INSTRUMENT A co...

Page 115: ...NNNNNNNNNNNNNNNNNNNNNN MORE 2 3 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN COMMAND ENTRY The Command Entry menu is displayed on the softkey menu area and the active entry area displays the letters the digits 0 through 9 and some special characters including mathematical symbols Three sets of letters can be scrolled using the step keys 4 5 and 4 5 To enter a statement press the step keys for the des...

Page 116: ......

Page 117: ... key and softkeys from the front panel 4System5 NNNNNNNNNNNNNNNNNNNN IBASIC NNNNNNNNNNNNNN Edit The system enters the EDIT mode You can also get into the EDIT mode from the keyboard Type and press as follows EDIT and press 4Enter5 Getting out of the EDIT Mode Press the following softkey from the front panel NNNNNNNNNNNNNNNNNNNNNNNNNN END EDIT The system exits the EDIT mode If NNNNNNNNNNNNNNNNNNNNN...

Page 118: ...very useful when you write a larger and more complex program or type comments in a program For detailed information on how to use the keyboard see Appendix C Let s Try The following example program selects the following measurement settings Active Channel Block Channel 1 default Measurement Block Network Analyzer A R LOG MAG format default Display scale to AUTO Sweep Block Center frequency 70 MHz ...

Page 119: ... the analyzer PRES is automatically entered at the current cursor position like this d a 10 ASSIGN Hp4396 TO 800 20 OUTPUT Hp4396 PRES Then press 4215 Note preceding the GPIB command is automatically added when you write the program by pressing keys is a separator to send more than one command in the same message 8 Press the following key to select measurement parameter as A R NNNNNNNNNNNNNNNNNNNN...

Page 120: ...tem5 NNNNNNNNNNNNNNNNNNNN IBASIC NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN OUTPUT Hp4396 4Scale Ref5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN AUTO SCALE 4215 d a 10 ASSIGN Hp4396 TO 800 20 OUTPUT Hp4396 PRES 30 OUTPUT Hp4396 NA MEAS AR 40 OUTPUT Hp4396 CENT 70E6 SPAN 100E3 50 OUTPUT Hp4396 AUTO 60 _ 11 To terminate the program the END command should be entered Press the following softkey and key 4Syste...

Page 121: ... Screen You can list a program on the screen as follows Let s Try 1 Because the system lists a program in the print area the Print Area must be allocated on the screen For example 4Display5 NNNNNNNNNNNNNN MORE NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN DISPLAY ALLOCATE NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL BASIC All of the screen area is allocated for the print area 2 Type as follows LIST 4Ent...

Page 122: ...ice to LCD as follows PRINTER IS LCD 4Enter5 If You Need More Information This chapter is an introduction to using Instrument BASIC For more information see the following chapters and documents For more information on See EDIT mode Chapter 5 Keyboard and softkeys Appendix C Display Allocation 4Display5 in Appendix D Instrument BASIC commands Instrument BASIC Language Reference of the Instrument BA...

Page 123: ... See To Save and Recall in Chapter 6 of the Task Reference for the procedure Note When the analyzer is turned on the RAM disk memory is automatically initialized by the format that is set by NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN FORMAT under NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN FILE UTILITY under 4Save5 If you want to change the disk format initialize it See To Save and Recall in Chapter 6 of the Tas...

Page 124: ...e allocation to either HALF INSTRument HALF BASIC or ALL BASIC For example 4Display5 NNNNNNNNNNNNNN MORE NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN DISP ALLOCATION NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL BASIC 2 Press the following key among the 3 menus which leads to the 4Shift5 4F95 key 4Menu5 on the keyboard NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN FILE UTILITY NNNNNNNNNNN CAT 4Enter5 You can list...

Page 125: ... allocation to either HALF INSTRument HALF BASIC or ALL BASIC For example 4Display5 NNNNNNNNNNNNNN MORE NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN DISP ALLOCATION NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL BASIC 2 Press the following key among the 3 menus which leads to the 4Shift5 4F95 key and type the lename you want to retrieve NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN FILE UTILITY NNNNNNNNNNN GET le ...

Page 126: ......

Page 127: ... following keys to enter the EDIT mode with the cursor positioned at the speci ed line number The line number can be omitted Press the following key among the 3 menus which leads to the 4Shift5 4F95 key NNNNNNNNNNNNNN EDIT line number 4Enter5 or type as follows EDIT line number 4Enter5 To use the keyboard the Keyboard Input Line must be allocated on the screen If it is not press 4Display5 NNNNNNNN...

Page 128: ...r Deleting Characters Pressing 4Delete char5 from the keyboard deletes the character at the cursor s position Inserting Characters The EDIT mode is always in the insert mode Characters you type at the keyboard are inserted before the current cursor position Pressing 4Insert5 performs no function Moving the Cursor The following key operations allow you to move the cursor horizontally along a line F...

Page 129: ...ne Clearing Line Pressing 4Shift5 4End5 clears a line from the current cursor position to the end of the line Renumbering Program Line Numbers The REN command allows you to renumber the program currently in memory You should execute the REN command after exiting the EDIT mode Press the following key among the 3 menus which leads to the 4Shift5 4F95 key NNNNNNNNNNNNNNNNNNNNNNNNNN RENumber 4Enter5 o...

Page 130: ......

Page 131: ...zer Note Two quotes in succession will embed a quote within a string when a quotation mark needs to be in a string For example 100 OUTPUT Hp4396 TITL This is a test or 100 Title This is a test 110 OUTPUT Hp4396 TITL Title Sends string TITL This is a test to the analyzer TITL displays a title The analyzer and the Instrument BASIC in the analyzer should be regarded as two separate instruments interf...

Page 132: ... Reading Data from the I O Port This program shows how to directly read a speci c data bit from the I O port d a c b 10 A READIO 15 0 20 PRINT A 30 END Figure 6 2 Reading I O Port Writing Data to the I O Port This program shows an example of writing data to the I O port When you use the output port of the I O port the output data must be decimal data Binary expressed data is useful to set each bit...

Page 133: ...a from the built in disk drive into the Dat array d a c b 10 DIM Dat 1 201 1 2 20 DIM File_name 10 30 ASSIGN Hp4396 TO 800 40 MSI INTERNAL 4 50 INPUT ENTER FILE NAME without EXT File_name 60 File_name File_name DAT 70 ASSIGN File TO File_name Open target file 80 ENTER File USING 16X 90 ENTER File USING 12X 100 ENTER File Dat Load data from file 110 ASSIGN File TO Close file 120 PRINT Dat 130 END F...

Page 134: ...N Hp4396 TO 717 30 OUTPUT Hp4396 RST 40 OUTPUT Hp4396 PROG DEF 50 ENTER Hp4396 USING 2A Head 60 B VAL Head 2 70 FOR I 1 TO B 80 ENTER Hp4396 USING A Head 90 NEXT I 100 ENTER Hp4396 USING K A Transfer the program 110 120 INPUT File name File_name 130 CREATE ASCII File_name 1 140 ASSIGN File TO File_name 150 OUTPUT File A 160 ASSIGN File TO 170 END Figure 6 6 Transferring the Program to an External ...

Page 135: ...TAT RUN Make Instrument BASIC run state 50 60 PRINTER IS Printer 70 PRINT This line is printed out from ext controller 80 90 PASS CONTROL Hp4396 100 110 ON ERROR GOTO Not_active 120 Not_active Waiting until control is back 130 140 PRINT This line is printed out from ext controller again 150 PRINTER IS LCD 160 END Figure 6 7 Sharing a Printer Program for External Controller d a c b 10 ASSIGN Hp4396...

Page 136: ...s you execute a program without using the keyboard You only need to select the softkey of the program you want to execute You can name this program le AUTOST so it will be executed automatically when the analyzer is turned ON When you want to recall this program again after the execution of an object le you simply add the command GET AUTOST just before the END statement line of your object program...

Page 137: ...LABEL File Page 2 GOSUB Jump2 210 ON KEY 3 LABEL File Page 3 GOSUB Jump3 220 ON KEY 4 LABEL File Page 4 GOSUB Jump4 230 ON KEY 5 LABEL File Page 5 GOSUB Jump5 240 ON KEY 6 LABEL File Page 6 GOSUB Jump6 250 ON KEY 7 LABEL NEXT PAGE GOTO Jump7 260 ON KEY 8 LABEL PREV PAGE GOTO Jump8 270 280 LOOP 290 END LOOP 300 310 Jump1 GET File Page 1 320 Jump2 GET File Page 2 330 Jump3 GET File Page 3 340 Jump4 ...

Page 138: ......

Page 139: ...ds and traces The analyzer has two screens the instrument screen and the graphics screen These two screens are always displayed together on the LCD and are not separately selectable The instrument screen consists of a trace display area and a softkey label area The Instrument BASIC editor is also displayed on the trace display area The graphics screen covers the entire instrument screen as shown i...

Page 140: ...ard copies can be obtained with the printing function PRINT NNNNNNNNNNNNNNNNN PRINT under 4Copy5 prints a display image on a printer See Copy Menu in Chapter 8 of the Function Reference Initial settings When power is turned ON the default settings are as follows MOVE 0 0 Example of Graphics Programming This section describes an example of a simple program for drawing lines on the graphics screen D...

Page 141: ...ernal RUN CONT connector on the rear panel At the negative going edge of a pulse more than 20 s wide Tp in the LOW state will trigger RUN or CONT Figure 7 2 RUN CONT Trigger Signal File System Exceptions The analyzer supports both the LIF and DOS le formats When using an LIF format disk the CREATE and CREATE DIR commands will generate an error Because the analyzer does not support an external disk...

Page 142: ...m the I O Port and returns a decimal value WRITEIO 15 0 data Outputs the decimal value of the 8 bit data to the OUT 0 to 7 lines of the I O port The OUT 0 signal is the LSB least signi cant bit while the OUT 7 signal is the MSB most signi cant bit See Appendix B for more information on READIO and WRITEIO commands For more information on the I O port see I O port in Chapter 12 of the Function Refer...

Page 143: ...ix C of the Function Reference On Key Label Function The Instrument BASIC allows you to de ne softkeys from within a program The softkey labels you de ne will appear when pressing the 4Shift5 4F105 key on the Keyboard The labels are displayed while running the program The ON KEY statement is used to de ne the softkeys For example 100 ON KEY 1 GOTO 150 110 ON KEY 2 LABEL Print GOSUB Report The KEY ...

Page 144: ...t do not need to display the traces on the screen set DISPLAY ALLOCATION to ALL BASIC If you need to measure the dut and display traces but do not need to use the marker function preset all markers When you use the I O port use the READIO and WRITEIO commands to input or output data to the port directly If you change channels in a program set Dual Channel to ON before changing channels to avoid th...

Page 145: ...er s Instrument BASIC are listed in the following table Select Codes Devices 1 LCD 2 Keyboard 7 External GPIB interface 8 Internal GPIB interface Note The analyzer does not have an RS 232C interface Storage Unit The analyzer has two types of storage units the built in exible disk drive and the RAM disk memory Both the disk drive and RAM disk memory support the LIF and DOS formats To switch the sys...

Page 146: ... 40 OUTPUT Hp4396 INID Initializes the disk 50 END Built in Flexible Disk Drive The analyzer s Instrument BASIC has the following disk drive limitations Disk types which can be initialized by the analyzer s Instrument BASIC INITIALIZE statement is 1 44 MByte 2HD 720 Kbyte 2DD and 270 Kbyte disks cannot be initialized The only INITIALIZE format option is the default 256 byte sector DOS formats supp...

Page 147: ...ller Delete the program on the BASIC editor of the analyzer Execute the program on the BASIC editor of the analyzer Set or query the variables and arrays in the program on the BASIC editor of the analyzer Set or query the state of the program on the BASIC editor of the analyzer See the GPIB Command Reference for more information and the Programming Guide for their usage example Note The PROGram su...

Page 148: ......

Page 149: ...ped with that instrument If your instrument s serial number is not listed on the title page of this manual or in Table A 1 it may be documented in a yellow MANUAL CHANGES supplement In additions to change information the supplement may contain information for correcting errors Errata in the manual To keep this manual as current and accurate as possible Agilent Technologies recommends that you peri...

Page 150: ...two part nine character serial number that is stamped on the serial number plate see Figure A 1 attached to the rear panel The rst four digits and the letter are the serial pre x and the last ve digits are the su x Figure A 1 Serial Number Plate A 2 Manual Changes ...

Page 151: ...IMEOUT commands are available but the following supplementary items are added GCLEAR Moves the pen to 0 0 OFF TIMEOUT and ON TIMEOUT The interface select code is 7 only BASIC Commands Speci c to 4396B The following commands are not listed in the Instrument BASIC Language Reference of the Instrument BASIC Users Handbook but are available in the analyzer s Instrument BASIC DATE DATE EXECUTE READIO S...

Page 152: ...0 DIV 86400 Semantics Using a value from the DATE command as the argument for SET TIMEDATE will set the clock to midnight on the date speci ed The results from the DATE and TIME commands must be combined to set the date and time of day If the DATE command is used as an argument for SET TIMEDATE to set the clock the date must be in the range 1 Mar 1900 to 4 Aug 2079 Specifying an invalid date such ...

Page 153: ...T DATE TIMEDATE DISP DATE 2 111510608E 11 Semantics The date returned is in the form DD MMM YYYY where DD is the day of the month MMM is the month and YYYY is the year The day is a blank lled to two character positions Single ASCII spaces delimit the day month and year The rst letter of the month is capitalized and the rest are lowercase charters Years less than the year 0 are expressed as negativ...

Page 154: ...n refer to Table B 1 Table B 1 GPIB Commands for EXECUTE ANAOCH1 ANAOCH2 ANAODATA ANAOMEMO ANARANG ANARFULL EQUCPARA EQUCPARS EQUCPARS4 EQUC0 EQUM LMAX LMIN NEXPK NUMLMAX NUMLMIN OUTPMAX OUTPMEAN OUTPMIN OUTPMINMAX OUTPCERR OUTPCFIL OUTPFILT OUTPRESF OUTPRESO OUTPRESR OUTPXFIL PEAK PEAN POLE RPLENV RPLHEI RPLLHEI RPLMEA RPLPP RPLRHEI RPLVAL SING TARL TARR THRR B 4 BASIC Commands Speci c to 4396B ...

Page 155: ...turn value use a READIO function The READIO function returns only one speci ed return value For example four return values Za Fa Zr and Fr of the query command OUTPRESO must be received by writing the program as follows EXECUTE OUTPRESO Za READIO 8 0 Fa READIO 8 1 Zr READIO 8 2 Fr READIO 8 3 GPIB Commands that work di erently when executed by the EXECUTE command When the following GPIB command is ...

Page 156: ...e EXECUTE command For External Controller 10 REAL Meas 1 20 ASSIGN Hp4396 TO 717 30 OUTPUT Hp4396 CLS OPC 40 ENTER Hp4396 Opc 50 OUTPUT Hp4396 OSPT 0 60 ON INTR 7 GOTO Anaend 70 OUTPUT Hp4396 PROG STAT RUN 80 90 Start 100 OUTPUT Hp4396 CLS OPC 110 ENTER Hp4396 Opc 120 ENABLE INTR 7 2 130 Waiting GOTO Waiting 140 Anaend 150 OUTPUT Hp4396 PROG NUMB MEAS 160 ENTER Hp4396 Meas 170 PRINT Meas 180 OUTPU...

Page 157: ...3 Semantics The EXECUTE command stores the query command s return values in registers The READIO command reads a return value from one of these registers Return values are sequentially stored in registers 0 to 3 For example when EXECUTE OUTPURESO is executed four return values Za Fa Zr and Fr are stored in four registers register 0 to register 3 Za is stored in register 0 Fa in register 1 Zr in re...

Page 158: ...on Range seconds numeric expression rounded to the nearest hundredth 0 to 86399 99 Example Commands SET TIME 0 SET TIME Hours 3600 Minutes 60 Semantics This command changes only the time within the current day not the date The new clock setting is equivalent to TIMEDATE DIV 86400 286400 plus the speci ed setting B 8 BASIC Commands Speci c to 4396B ...

Page 159: ... TIMEDATE 86400 SET TIMEDATE Strange_number Semantics The volatile clock is set to 2 08662912E 11 midnight March 1 1900 at power on If there is a battery backed non volatile clock then the volatile clock is set to its value at power up If the computer is linked to an SRM system and has no battery backed clock then the volatile clock is set to the SRM clock value when the SRM and DCOMM binaries are...

Page 160: ...es literal 0 to 59 seconds literal default 0 0 to 59 99 delimiter literal single character see text Example Commands Seconds TIME T SET TIME TIME 8 37 20 ON TIME TIME 12 10 GOSUB Lunch Semantics This command returns a positive integer in the range 0 to 86399 equivalent to the number of seconds past midnight While any number of non numeric characters may be used as a delimiter a single colon is rec...

Page 161: ...sion truncated to the nearest second seconds past midnight 0 to 86399 Example Commands DISP The time is TIME TIMEDATE PRINT TIME 45296 Semantics TIME takes the time in seconds and returns the time of day in the form HH MM SS where HH represents hours MM represents minutes and SS represents seconds A module 86400 is performed on the parameter before it is formatted as a time of day BASIC Commands S...

Page 162: ...rite data to the I O port When writing data to an I O port use 15 0 as the select code and the register number that corresponds with the register The range of register data for the I O port is 0 through 255 How to write GPIB command parameters when the EXECUTE command is used The EXECUTE command uses the data stored in a register select code 8 as a parameter To store this parameter the WRITEIO com...

Page 163: ...C The Keyboard Mini DIN keyboard is following key layout Figure C 1 mini DIN Keyboard The Keyboard C 1 ...

Page 164: ...ram code After typing in a command the 4Enter5 key causes the command to be executed 4CTRL5 In the EDIT mode 4CTRL5 allows you to control the editor in the same as using the cursor control display control and editing keys For more detail see Using 4CTRL5 Key in Edit Mode 4Backspace5 Erases the character to the left of the cursor and moves the cursor to the erased character s position on the line 4...

Page 165: ... the line containing the cursor except the line number 4Shift5 4End5 Clears from the current cursor position to the end of the line 4Home5 Clears the entire alpha screen In EDIT mode this exits the EDIT mode Program Control Keys The following keys allow you to control execution of the program stored in the analyzer s memory 4Pause5 4Pause5 or 4Alt5 4F45 pauses program execution after the current l...

Page 166: ...f85 The softkey labels are indicated on the right of the analyzer s screen Softkey Control Keys Pressing the following 4F95 Leads to the IBASIC menu which controls programs and the editor 4Shift5 4F95 leads to the BASIC menu from which to control a BASIC program This menu is the same menu displayed when pressing 4SYSTEM5 NNNNNNNNNNNNNNNNNNNN IBASIC from the front panel In the edit mode pressing 4F...

Page 167: ...RE SAVE creates a speci ed ASCII le if it does not exist otherwise it rewrites a speci ed ASCII le by copying program lines as strings into that le NNNNNNNNNNN GET Produces the command GET GET reads the speci ed ASCII le and attempts to store the strings into memory as program lines NNNNNNNNNNNNNNNNN PURGE Produces the command PURGE PURGE deletes a le or directory from the directory of a mass stor...

Page 168: ...haracter the same function as 465 4CTRL5 4d5 Deletes a character the same function as 4Delete5 4CTRL5 4e5 Moves the cursor to end of the line the same function as 4Shift5 475 4CTRL5 4f5 Moves cursor forward character along a line the same function as 475 4CTRL5 4g5 Allows you to move the cursor to any line number or label after press 4CTRL5 4g5 type a line number or label name and press 4Enter5 th...

Page 169: ...IC controls Instrument BASIC NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN MEMORY PARTITION changes size of memory areas for Instrument BASIC and the RAM disk 4Display5 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN DISPLAY ALLOCATION allocates the BASIC screen area on the display Softkeys Used for Instrument BASIC Operation D 1 ...

Page 170: ...ment BASIC IBASIC Figure D 1 IBASIC Menu NNNNNNNNNNNNNN Step Allows you to execute one program line at a time This is particularly useful for debugging NNNNNNNNNNNNNNNNNNNNNNNNNN Continue Resumes program execution from the point where it paused D 2 Softkeys Used for Instrument BASIC Operation ...

Page 171: ...ctory NNNNNNNNNNNNNN SAVE Produces the command SAVE SAVE creates an ASCII le and copies program lines as strings into that le NNNNNNNNNNNNNNNNNNNNNNN RE SAVE Produces the command RE SAVE RE SAVE creates a speci ed ASCII le if it does not exist otherwise it rewrites a speci ed ASCII le by copying program lines as strings into that le NNNNNNNNNNN GET Produces the command GET GET reads the speci ed A...

Page 172: ...all characters entered NNNNNNNNNNNNNN DONE Terminates command entry and executes the command you entered NNNNNNNNNNNNNNNNNNNN CANCEL Cancels command entry and returns to the BASIC menu NNNNNNNNNNNNNNNNNNNNNNNNNNNNN CLEAR I O Produces the command CLEAR I O Pauses I O operation program To restart the program press NNNNNNNNNNNNNNNNNNNNNNNNNN Continue NNNNNNNNNNNNNNNNN RESET Produces the command RESET...

Page 173: ...NNNNNNNNNNNNNN DONE Terminates selecting memory partition and displays the following softkey labels NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN CHANGE YES Executes to change memory partition to one selected NNNNNNNN NO Cancels to change memory partition and return to the previous softkey menu Caution When the memory partition is recon gured the analyzer goes to the initial settings That is the RAM disk memor...

Page 174: ...gle screen or two half screen graticules NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN HALF INSTR HALF BASIC Selects two half screens one graticule display above the Instrument BASIC display NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ALL BASIC Selects a full screen single Instrument BASIC display NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN BASIC STATUS Selects a full screen graticule and three s...

Page 175: ...ailable ALL BASIC 62 24 available BASIC Status 0 0 available The analyzer can be connected to an external monitor For information on the recommended monitor see Chapter 9 of the Function Reference Run Light Indications t blank Program stopped can execute commands CONTINUE not allowed Program paused can execute commands CONTINUE is allowed BASIC program waiting for input from keyboard cannot execut...

Page 176: ......

Page 177: ...DATE B 2 DATE B 3 4Delete5 C 3 disk drive 9 2 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN DISPLAY ALLOCATION 2 3 DOS le system 7 3 E EDIT mode 3 1 5 1 4End5 C 3 4Enter5 C 2 C 3 ERROR 0257 4 2 EXECUTE B 4 external monitor D 7 external RUN CONT connector 7 3 trigger signal 7 3 F le name listing 4 2 File name error 4 2 exible disk drive 9 2 format option 9 2 G GET 4 3 GPIB address 3 2 gr...

Page 178: ...1 PRINTER IS 3 6 program executing 3 5 getting 4 3 listing 3 5 running 3 5 saving 4 1 writing 3 2 program speed increasing 8 2 R RAM disk memory 9 2 READIO 7 4 B 7 RUN CONT connector 7 3 trigger signal 7 3 run light indication D 7 S screen area allocating 2 3 select code 3 2 9 1 serial number A 2 SET TIME B 8 SET TIMEDATE B 9 4Shift5 C 2 4Shift5 4Delete5 C 3 4Shift5 4End5 C 3 4Shift5 4Insert5 C 3 ...

Page 179: ...rope Agilent Technologies Test Measurement European Marketing Organization P O Box 999 1180 AZ Amstelveen The Netherlands tel 31 20 547 9999 Japan Agilent Technologies Japan Ltd Call Center 9 1 Takakura Cho Hachioji Shi Tokyo 192 8510 Japan tel 81 426 56 7832 fax 81 426 56 7840 Latin America Agilent Technologies Latin American Region Headquarters 5200 Blue Lagoon Drive Suite 950 Miami Florida 3312...

Reviews: