Download Print this page
HP 8509A Programming Manual
HP 8509A Programming Manual

HP 8509A Programming Manual

Lightwave polarization analyzer

Advertisement

Quick Links

HP 8509A/B Lightwave Polarization Analyzer
Programming Guide
ABCDE
HP Part No. 08509-90017
Printed in USA
October 1994

Advertisement

loading

Summary of Contents for HP 8509A

  • Page 1 HP 8509A/B Lightwave Polarization Analyzer Programming Guide ABCDE HP Part No. 08509-90017 Printed in USA October 1994...
  • Page 2 Notice.
  • Page 3 Certification Warranty Limitation of Warranty Exclusive Remedies...
  • Page 4 Safety Notes Caution Warning Warning denotes a hazard. It calls attention to a procedure which, if not correctly performed or adhered to, could result in injury or loss of life. Do not proceed beyond a warning note until the indicated conditions are fully understood and met.
  • Page 5 General Safety Considerations Warning This is a Safety Class I product (provided with a protective earthing ground incorporated in the power cord). The mains plug shall only be inserted in a socket outlet provided with a protective earth contact. Any interruption of the protective conductor, inside or outside the instrument, is likely to make the instrument dangerous.
  • Page 6 How to Use This Guide This guide uses the following conventions: Front-Panel Key NNNNNNNNNNNNNNNNNNNNNNN...
  • Page 7: Table Of Contents

    Contents 1. Introduction 2. Starting Up the System For HP-IB Control 3. HP-IB Overview 4. HP-IB For the HP 8509 5. Basic Instrument Control 6. Interacting with the HP 8509A/B Through the DDE Contents-1...
  • Page 8 7. Measurement Programming 8. Remote Command Reference Contents-2...
  • Page 9 Contents-3...
  • Page 10 Contents-4...
  • Page 11 9. Example Programs Index Contents-5...
  • Page 12 Figures Tables Contents-6...
  • Page 13: Introduction

    Introduction HP 8509 Users/Reference Guide. Installing and Using HP Instrument BASIC for Windows HP Instrument BASIC User's Handbook Tutorial Description of the Hewlett-Packard Interface Bus HP 8509 User's/Reference Guide Introduction...
  • Page 15: Starting Up The System For Hp-Ib Control

    Starting Up the System For HP-IB Control Installation and Quick Start Guide Figure 2-1. HP-IB Setup Starting Up the System For HP-IB Control...
  • Page 17: Hp-Ib Overview

    HP-IB Overview Talkers Listeners Controllers Active Controller Bus Structure Data Bus handshake HP-IB Overview...
  • Page 18 When the bus is in remote and a device is addressed, it receives instructions from HP-IB rather than from its front panel. When this line is set false (high) the bus and all devices return to local operation.
  • Page 19 Sending Commands HP-IB Overview...
  • Page 21: Hp-Ib For The Hp 8509

    HP 8509. When beginning remote operation of the HP 8509, be sure to quit, then restart the application if there has been any manual operation of the HP 8509 during the current session of the HP 8509 application.
  • Page 22 HP-IB to DDE Interface NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Figure 4-1. HP-IB to DDE Gateway HP-IB For the HP 8509...
  • Page 23 `Command Line' Setup Options /Errors Only only < > /HP8509= Name of executable < > /HP8509TimeOut= Number of Minutes Note HP-IB For the HP 8509...
  • Page 24 HP 8509 Control Frame NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNN Command NNNNNNNNNNNNNNNNNNNNNNN Log On Pick File Pick File Pick File Log On Execute Cmd Command Get Data Exit HP-IB For the HP 8509...
  • Page 25 HP-IB Frame NNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNN Log On Address Terminate DDE Link Address Initiate DDE Link Terminate DDE Link Initiate DDE Link Timeout Data Separator Cr/Lf. Comma. HP-IB Exit State. HP-IB For the HP 8509...
  • Page 26 Controller. Non-Controller. Dynamic Data Exchange (DDE) Frame Param(x) (from HP 8509) Terminate DDE Link Initiate DDE Link Terminate DDE Link Initiate DDE Link HP-IB For the HP 8509...
  • Page 27 Figure 4-2. HP-IB Connections In a Typical Setup HP-IB For the HP 8509...
  • Page 28 < >< > HP-IB For the HP 8509...
  • Page 29: Basic Instrument Control

    Basic Instrument Control OUTPUT 729; The BASIC data output statement. The data is directed to interface 7 (HP-IB), and on out to the device address 29 (the HP 8509). "POINCARE:CLEAR" END The HP 8509 mnemonic for clearing the Poincare sphere. The mnemonic, less the...
  • Page 30 OUTPUT 729; POINCARE HOLD SYSTEM.CFG Basic Instrument Control...
  • Page 31 Data Requesting Commands ENTER JONES:MEASURE JONES? ENTER String$ JONES:MEASURE DRIVE? String$. ENTER ENTER ENTER Basic Instrument Control...
  • Page 32 Conduct the thrupath calibration and OPC the "JONES:CALIBRATE;*OPC?" END thrupath calibration measurement. DISP "Measuring" ENTER 729; String$ The program will halt at this point until the HP 8509 completes the measurement and issues a 1. DISP "DONE" Measuring DONE DONE...
  • Page 33 ABORT 7 This halts all bus action and gives active control to the computer. CLEAR 729 This clears all HP-IB errors, resets the HP-IB interface, and clears syntax errors. OUTPUT 729; "LOAD:CONFIG: PRESET" Preset the instrument. This resets all instrument window menu settings.
  • Page 35: Interacting With The Hp 8509A/B Through The Dde

    Interacting with the HP 8509A/B Through the DDE Establishing DDE Links Interacting with the HP 8509A/B Through the DDE...
  • Page 36 Automatic Manual Notify Interacting with the HP 8509A/B Through the DDE...
  • Page 37 Status Param(x) Interacting with the HP 8509A/B Through the DDE...
  • Page 38 Sending HP 8509 Commands via DDE Interacting with the HP 8509A/B Through the DDE...
  • Page 39 Retrieving HP 8509 Data via DDE Interacting with the HP 8509A/B Through the DDE...
  • Page 41 Measurement Programming must Measurement Programming...
  • Page 42 Calibrate the Instrument CAL:CALIBRATE CAL:ON User's/Reference Guide Set Up the Instrument Connect the Device Take Data Transfer Data ENTER Measurement Programming...
  • Page 43 Remote Command Reference Command Syntax Remote Command Reference...
  • Page 44 Table 8-1. Conventions colon Command Separates parameters. A parameter must be supplied Separator to the right of every colon. ? question Query The command causes the instrument to prepare a response. No further commands may be sent until the response is retrieved. braces Mandatory Select one of the options in the braces as a...
  • Page 45 The serial number of the device under test for the measurement being saved. Used for a Save operation with the HP 8509 database. This eld is optional. If it is not provided, this entry in the database is left blank. A maximum of 25 characters can be used for the serial number.
  • Page 46 Abbreviations / Definitions Remote Command Reference...
  • Page 47 Changes from Version 1.2 Software *OPC[?] Cal:Calibrate Disper:Close Source? Source:External? Source:Internal? Note: setting Remote Command Reference...
  • Page 48 Common Commands *IDN? *OPC[?] Device Specific Commands Analog? Analog:Done NNNNNNNNNNNNNNNNNNNN Analog:{ Off | Raw | Stokes } [?] NNNNNNNNNNNNNNNNNNNN Remote Command Reference...
  • Page 49 Angles:{ AB? | AC? | BC? } Angles:{ Degrees | Radians }[?] Angles:Done Not Recommended NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Angles:{ Off | On } NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Average:Display:{ Off | On } Average:Display{ ? | :<NumPoints> } NNNNNNNNNNNNNNNNNNNNNNNNNNNNN Average:Done NNNNNNNNNNNNNNNNNNNNNNNNNNNNN Remote Command Reference...
  • Page 50 Average:Measure{ ? | :<NumPoints> } Cal? Cal:Calibrate Cal:{ Done | Save } NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Cal:Delete:<Wavelength nm> Cal:List? Cal:{ Off | On } Remote Command Reference...
  • Page 51 ClearParams DBase:Close DBase:Compact DBase:Filename? DBase:Open:<"filename"> < > DBase:Repair Disper NNNNNNNNNNNNNNNNNNNNNNN Remote Command Reference...
  • Page 52 Disper? Disper:ActiveWindow? NNNNNNNNNNNNNNNNNNNNNNN Disper:Atten{ ? | :<dBm value> } Disper:Calibrate 8-10 Remote Command Reference...
  • Page 53 Disper:{ Cascade | Single }[?] Disper:Chain[?] Not Recommended Disper:Clear Disper:Close NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Disper:DBase:Load:<"title"> Remote Command Reference 8-11...
  • Page 54 Disper:DBase:Save:<"title"> [ :<"date code"> [ :<"serial number"> ]] Disper:Done Not Recommended Disper:FiberLen{ ? | :<km> } Disper:FindMinPoints[:<Num Samples>] 8-12 Remote Command Reference...
  • Page 55 Disper:HPIB[?] Disper:Manual Disper:Manual? Disper:Measure Remote Command Reference 8-13...
  • Page 56 Disper:NewThruCal Not Recommended Disper:Power? Disper:Power:{ dBm | uWatt }[:<value>] Note: Disper:Restart Not Recommended 8-14 Remote Command Reference...
  • Page 57 Disper:Save:<"filename"> Disper:Settle:{ Point | Start }{ ? | :<Delay msec>} Disper:Start Not Recommended Remote Command Reference 8-15...
  • Page 58 Disper:Trace:<"filename"> Not Recommended Disper:Units{ ? | :ps | :ps/L | :ps/sqrtL | :fs | :fs/L | :fs/sqrtL } Disper:VTune[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Disper:VTune:{ Start | Stop }{ ? | :<Voltage> } Disper:WLen? 8-16 Remote Command Reference...
  • Page 59 Disper:WLen:Points{ ? | :<NumPoints> } Disper:WLen:{ Start | Stop | Delta }{ ? | :<Wavelength nm>} NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Note: Remote Command Reference 8-17...
  • Page 60 Disper:WLen:Steps{ ? | :<NumPoints> } Not Recommended Note: Display:Angles:{ Off | On } Not Recommended Display:Angles:{ Degrees | Radians } Not Recommended Display:Power:{ Linear | Log } 8-18 Remote Command Reference...
  • Page 61 Display:Update{ ? | :<NumPoints> } Drive? Drive:<MS-DOS Drive Spec> GetFile:<"filename"> NNNNNNNNNNNNNNNNNNNNNNNNNN GetMarker:{ A | B | C } Not Recommended GetMarker?:{ A | B | C } Remote Command Reference 8-19...
  • Page 62 Jones? Not Recommended Jones:{ Absolute | Relative }[?] Not Recommended Jones:Calibrate[A | B | C] Not Recommended Jones:Clear Not Recommended 8-20 Remote Command Reference...
  • Page 63 Jones:Done Not Recommended Jones:{ External | Internal }[?] Not Recommended Jones:{ MagRadians | MagDegrees | RealImag }[?] Not Recommended Jones:Measure[A | B | C] Not Recommended Remote Command Reference 8-21...
  • Page 64 Jones:NewThruCal Not Recommended Jones:ReStart Not Recommended Load:Config:Preset Load:Config:<"filename"> Load:Single:<"filename"> 8-22 Remote Command Reference...
  • Page 65 OperVer[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN OperVer:{ Start | Cancel | Done } NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN PdlMaxMin[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN PdlMaxMin:{ Max | Min } PdlMaxMin:Delta? PdlMaxMin:{ Reset | Clear | Done } NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Poincare:Center:{ Stokes | A | B | C } Remote Command Reference 8-23...
  • Page 66 Poincare:Clear Poincare:Hold:{ Off | On } Poincare:Marker:{ A | B | C } Poincare:Marker:Clear Polarizer:{ A | B | C | None } [?] Polarizer:Angle{ A | B | C }{ ? | :<Degree Value> } Polarizer:Done NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 8-24 Remote Command Reference...
  • Page 67 Polarizer:{ External | Internal } PolDep? Not Recommended PolDep:{ Absolute | Relative }[?] PolDep:Calibrate[A | B | C] PolDep:Clear Remote Command Reference 8-25...
  • Page 68 PolDep:Done PolDep:{ Internal | External }[?] PolDep:{ JonesData? | PolDepData? } PolDep:{ JonesMode | PolDepMode }[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 8-26 Remote Command Reference...
  • Page 69 PolDep:{ MagRadians | MagDegrees | RealImag }[?] PolDep:Measure[A | B | C] PolDep:NewThruCal PolDep:ReStart Not Recommended PolMarker:{ A | B | C } Not Recommended Remote Command Reference 8-27...
  • Page 70 PolMarker?:{ A | B | C } Range:Auto{ ? | :Off | :On } Range:{ Done | Down | Up } NNNNNNNNNNNNNNNNN Range{ ? | :<GainValue> } NNNNNNNNNNNNNNNNN autorange autorange 8-28 Remote Command Reference...
  • Page 71 RawDat? RefFrame? RefFrame:{ Off | On }[?] Remote Command Reference 8-29...
  • Page 72 RefFrame:{ 2pt | 3pt }[?] Save:Config:<"filename"> Save:Disper:<"filename"> Not Recommended Save:Jones:<"filename"> Not Recommended Save:PolDep:<"filename"> 8-30 Remote Command Reference...
  • Page 73 Save:Single:<"filename"> < > < > < > < > < > < > SerialNum? SetMarker:<S0>:<s1>:<s2>:<s3>:{ A | B | C } Single NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Single:Done NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Single:DBase:Load:<"title"> Single:DBase:Save:<"title"> [ :<"date code"> [ :<"serial number">]] Remote Command Reference 8-31...
  • Page 74 Single:Freq{ ? | :<Hertz> } Single:Mode{ ? | :Single | :Timed | :FreeRun } Single:Period{ ? | :<Seconds> } Single:Points{ ? | :<NumPoints> } Single:Start Source? NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNN Note: 8-32 Remote Command Reference...
  • Page 75 Source:External? Source:External:{ Off | On } Not Recommended Note: Source:External:<Wavelength nm> Source:HPIB[?] Source:Hpib:{ Off | On | <Wavelength nm> } Remote Command Reference 8-33...
  • Page 76 Source:Internal? Source:Internal:{ Off | 1310 | 1550 } Source:Manual[?] Source:Shutter? Source:Shutter:{ Off | On } 8-34 Remote Command Reference...
  • Page 77 Source:VTune[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Source:VTune:{ Start | Stop }{ ? | :<Voltage> } Status? Stokes:<NumPoints> Not Recommended Stokes?:<NumPoints> Remote Command Reference 8-35...
  • Page 78 TLS? TLS:Address{ ? | :<HP-IB Address> } TLS:Isc{ ? | :<HP-IB card ISC> } TLS:Power{ ? | :<Power> } NNNNNNNNNNNNNNNNNNNNNNNNNN TLS:{ SettlePoint | SettleStart }{ ? | :<Millisec's> } Not Recommended 8-36 Remote Command Reference...
  • Page 79 TLS:Power:Unit{ ? | :dBm | :Watt } NNNNNNNNNNNNNNNNNNNNNNNNNN Trace:Points:<NumPoints> Not Recommended Version? WaveScan[?] NNNNNNNNNNNNNNNNNNNN Note: WaveScan:Analysis? Remote Command Reference 8-37...
  • Page 80 WaveScan:Analysis:{ Extrema | Peaks }:{ FullScan | FirstToLast } WaveScan:Atten{ ? | :<dBm value> } WaveScan:Clear WaveScan:Close NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN WaveScan:DBase:Load:<"title"> WaveScan:DBase:Save:<"title"> [ :<"date code"> [<"serial number"> ]] WaveScan:Feature{ ? | :<Min Feature Size> } WaveScan:FiberLen{ ? | :<km> } 8-38 Remote Command Reference...
  • Page 81 WaveScan:Hpib[?] WaveScan:Manual[?] WaveScan:Measure WaveScan:Mode{ ? | :<Mode Constant> } Remote Command Reference 8-39...
  • Page 82 WaveScan:PmdResult{ ? | :Avg | :Max | :Median} WaveScan:Polarizer{ ? | :A | :B | :C | :None } WaveScan:Power? WaveScan:Power:{ dBm | uWatt }[:<value>] Note: WaveScan:Save:<"filename"> 8-40 Remote Command Reference...
  • Page 83 WaveScan:Settle:{ Point | Start }{ ? | :<Delay msec> } WaveScan:Units:{ ? | :ps | :ps/L | :ps/sqrtL } WaveScan:VTune[?] NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN WaveScan:VTune: { Start | Stop }{ ? | :<Voltage> } < > WaveScan:WLen? Remote Command Reference 8-41...
  • Page 84 WaveScan:WLen:{ Start | Stop | Delta }{ ? | :<Wavelength nm>} Note: WaveScan:WLen:Points{ ? | :<NumPoints> } Zero 8-42 Remote Command Reference...
  • Page 85 Example Programs HP 8509 User's/Reference Guide. Example Programs...

This manual is also suitable for:

8509b