Summary of the content on the page No. 1
Programmer’s Guide
HP 71450B/1B/2B
Optical Spectrum
Analyzers
Summary of the content on the page No. 2
HP P No . 70950-90050 Edition 1 Printed ni US A June 1995 1400 F ountaingrove P arkway , Santa Rosa, CA 95403-1799, S U A Notice . The information ontained c in this document is subject to change without notice . ewlett-P H ackard makes no warranty of any k ind with egard r to this material, including not limited , the implied warranties of merchantability and tness for a particular purpose . Hewlett-P ackard shall not be liable errors contained herein or for incidental or consequential damages
Summary of the content on the page No. 3
Remote operation with HP 71450B/1B/2B This i ntroduction rovides p you w ith a q uick overview of some basic concepts you will need to successfully program the HP 7 1450B/1B/2B optical spectrum analyzer (OS A). The OS A o ers extensive remote programming capability which includes the following features: Setting measurement ranges Querying values o t he t computer Creating new functions Creating user-de ned variables trace arrays Processing information with math and move commands A c
Summary of the content on the page No. 4
Computer Model in The programming examples provided in this book used an HP 9000 Series 300 Examples technical computer and the HP-B ASIC anguage l . owever H , ou y can use other computers and languages with OS A c ommands and query data over HP-IB . As an example , you could use na HP V ectra PC compatible c omputer .Sympil install a n PH 8 2335A HP-IB Interface nd a Command Library card in the PC and use a c ompatible language such as Microsoft QuickC. Local and Remote Whenever the analyzer i
Summary of the content on the page No. 5
Safety Notes The following s afety notes are sed u throughout his t manual. F amiliarize yourself w ith ache of the notes and its meaning before operating t his instrument. The caution note denotes a hazard. t I calls attention to a procedure which, CA U T IO N if not c orrectly performed or adhered to , c ould result in damage t o or destruction of the instrument. Do not roceed p beyond a caution note until the i ndicated conditions a re fully understood and met. The warning note denotes a haza
Summary of the content on the page No. 6
General Safety Considerations Before this instrument s i switched o n , akem sure t i has been properly WARN I N G grounded through the protective onductor c of the a c power cable t o a socket outlet provided with protective earth c ontact. Any i nterruption f o the protective (grounding) conductor , inside o r outside the instrument, or disconnection of the protective earth terminal can result in personal i njury . There are many points the instrument which can, contacted, cause WA RN IN G per
Summary of the content on the page No. 7
Certi cation Hewlett-P ackard Company c erti es hat t this product met i ts published speci cations at the ime t of shipment from the factory .HPlt-ewet ackard further c erti es hat t i ts calibration measurements are traceable to the United States N ational Institute of Standards and T echnology , to the extent allowed by the Institute’s calibration facility , and to the calibration facilities of other International Standards Organization members . Regulatory Information The speci cations and h
Summary of the content on the page No. 8
W arranty This H ewlett-P ackard instrument product is warranted against defects in material and orkmanship w for a period of one year from date of shipment. During the arranty w period, Hewlett-P ackard Company will, a t i ts option, either repair or replace p roducts which prove to be defective . F or warranty service or repair , this product must be returned to a s ervice facility designated by Hewlett-P ackard. Buyer shall prepay s hipping charges to Hewlett-P ackard and Hewlett-P ackard sha
Summary of the content on the page No. 9
Assistance Product maintenance agreements and o ther customer a ssistance agreements are available for Hewlett-P ackard products. F or any assistance , c ontact your earestn Hewlett-P ackard Sales and Service O ce . ix
Summary of the content on the page No. 10
Typesetting Conventions F ront-P anel ey K This represents a key physically located o n the instrument. NNNNNNNNNNNNNNNNNNNNNNN This indicates a softkey \ ," a key whose label is determined Softkey by the instrument’s rmware . Screen Text This indicates text displayed on the instrument’s screen. x
Summary of the content on the page No. 11
Contents 1. Learning the Basics Preparing the OSA . . . . . . . . . . . . . . . . . 1-4 T o prepare the SA O . . . . . . . . . . . . . . . . 1-7 T oc hange the P-IB H address using switc hes . . . . . 1-8 T oc hange the P-IB H address from he t fron t anel p . . . 1-9 Beginning Y our P rogram . . . . . . . . . . . . . . . 1-10 T o nitialize i the bus nd a the OSA . . . . . . . . . . 1-10 Sending Commands . . . . . . . . . . . . . . . . . 1-11 T o send commands to the OSA . . . . . . . . . . . 1-
Summary of the content on the page No. 12
T race Math Rule 4 . . . . . . . . . . . . . . . . 2-19 3. Controlling Memory Sa ving a nd Recalling Items . . . . . . . . . . . . . . T o elect s user memory . . . . . . . . . . . . . . . T o atalog c memory . . . . . . . . . . . . . . . . T osa v e a le . . . . . . . . . . . . . . . . . . . T o ecall r a le . . . . . . . . . . . . . . . . . . Erasing Memory . . . . . . . . . . . . . . . . . . T o rase e les . . . . . . . . . . . . . . . . . . . T o rase e all memory except correction f act
Summary of the content on the page No. 13
T o rase e text . . . . . . . . . . . . . . . . . . . 5-19 Displaying V ariables .. .. .. .. .. .. . . . . . . . T o displa ya v ariable . . . . . . . . . . . . . . . . 5-20 T o rase e displa y v ariables . . . . . . . . . . . . . 5-20 Changing the Scale . . . . . . . . . . . . . . . . . 5-21 Using raphics G Windo ws . . . . . . . . . . . . . . . 5-24 T o reduce the displa yarae . . . . . . . . . . . . . 5-27 T o reate c a graphics windo w . . . . . . . . . . . . 5-27 T o place a race t in a win
Summary of the content on the page No. 14
ADCTR GSYN . . . . . . . . . . . . . . . . . . . 7-31 ADD .. .. .. .. .. .. .. .. ... .. .. .. 7-32 ALIGN . . . . . . . . . . . . . . . . . . . . . . 7-34 ALIGNPRST . . . . . . . . . . . . . . . . . . . . 7-37 AMB . . . . . . . . . . . . . . . . . . . . . . . 7-38 AMBMC . . . . . . . . . . . . . . . . . . . . . . 7-39 AMBMCPL . . . . . . . . . . . . . . . . . . . . 7-40 AMBPL . . . . . . . . . . . . . . . . . . . . . . 7-41 AMC . . . . . . . . . . . . . . . . . . . . . . . 7-43 AMCPL . . . . . .
Summary of the content on the page No. 15
CENTER WL . . . . . . . . . . . . . . . . . . . . 7-92 CHEIGHT .. .. .. .. .. .. .. .. .. .. .. . CHOP . . . . . . . . . . . . . . . . . . . . . . . 7-95 CLRDSP . . . . . . . . . . . . . . . . . . . . . . 7-96 CLR W. . . . . . . . . . . . . . . . . . . . . . . 7-97 CLS . . . . . . . . . . . . . . . . . . . . . . . . 7-98 COMPRESS . . . . . . . . . . . . . . . . . . . . 7-99 CONCA T . . . . . . . . . . . . . . . . . . . . . 7-101 CONFIG . . . . . . . . . . . . . . . . . . . . . . 7-103 CONTS . .
Summary of the content on the page No. 16
GRA TORDER . . . . . . . . . . . . . . . . . . . 7-158 GRA TSCRL .. .. .. .. .. .. .. .. .. .. .. . 7-160 GRID . . . . . . . . . . . . . . . . . . . . . . . 7-161 HD . . . . . . . . . . . . . . . . . . . . . . . . 7-163 ID . . . . . . . . . . . . . . . . . . . . . . . . . 7-164 IF/THEN . . . . . . . . . . . . . . . . . . . . . 7-165 IGEN . . . . . . . . . . . . . . . . . . . . . . . 7-167 IGENDTYCY . . . . . . . . . . . . . . . . . . . 7-169 IGENLIMIT . . . . . . . . . . . . . . . . . . . . 7-17
Summary of the content on the page No. 17
LINES . . . . . . . . . . . . . . . . . . . . . . . 7-224 LIENT . . . . . . . . . . . .. .. .. .. .. .. .. 7-225 LN . . . . . . . . . . . . . . . . . . . . . . . . 7-226 LO . . . . . . . . . . . . . . . . . . . . . . . 7-227 LOG . . . . . . . . . . . . . . . . . . . . . . . . 7-230 MDS . . . . . . . . . . . . . . . . . . . . . . . 7-232 MEAN . . . . . . . . . . . . . . . . . . . . . . . 7-235 MEASU . . . . . . . . . . . . . . . . . . . . . . 7-237 MEASURE . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 18
MKTRA . . . . . . . . . . . . . . . . . . . . 7-299 MKTRA CK .. .. .. .. .. .. .. .. .. .. .. . 7-300 MKTUNE . . . . . . . . . . . . . . . . . . . . . 7-301 MKTV . . . . . . . . . . . . . . . . . . . . . . . 7-303 MKTYPE . . . . . . . . . . . . . . . . . . . . . 7-305 MKWL . . . . . . . . . . . . . . . . . . . . . . 7-307 MOD . . . . . . . . . . . . . . . . . . . . . . . 7-309 MOD ADD . . . . . . . . . . . . . . . . . . . . . 7-311 MODID . . . . . . . . . . . . . . . . . . . . . . 7-313 MO V . .
Summary of the content on the page No. 19
PDL SR C? . . . . . . . . . . . . . . . . . . . . . 7-369 EMPASD .. .. .. .. .. .. .. .. .. .. .. .. WL . . . . . . . . . . . . . . . . . . . . . . . 7-372 PEAKS . . . . . . . . . . . . . . . . . . . . . . 7-374 PEN . . . . . . . . . . . . . . . . . . . . . . . . 7-378 PERASE . . . . . . . . . . . . . . . . . . . . . . 7-380 PERSIST . . . . . . . . . . . . . . . . . . . . . 7-382 PLOT . . . . . . . . . . . . . . . . . . . . . . . 7-383 POSU . . . . . . . . . . . . . . . . . . . . . . . 7-385 ON
Summary of the content on the page No. 20
SNGLS . . . . . . . . . . . . . . . . . . . . . . 7-443 .. .. .. .. .. .. .. .. .. .. .. .. .. 7-444 SQR . . . . . . . . . . . . . . . . . . . . . . . . 7-446 SRINPUT . . . . . . . . . . . . . . . . . . . . . 7-448 SR Q. . . . . . . . . . . . . . . . . . . . . . . . 7-449 SS . . . . . . . . . . . . . . . . . . . . . . . . . 7-451 ST . . . . . . . . . . . . . . . . . . . . . . . . 7-453 ST TUP . . . . . . . . . . . . . . . . . . . . . 7-455 ST TWL . . . . . . . . . . . . . . . . . . . . . 7-457 S