EasyManuals Logo

JDS Uniphase HA9 Series User Manual

JDS Uniphase HA9 Series
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
Programming Guide 44
' Like this...
PRINT#1, "OUTPUT 05;WVL " ; wave ; ";CAL "; cal ; ";ATT " ; atten ;";D " ; block
' Attenutor settings are now restored in ATT mode
END
Sending Queries
This example queries the attenuation and the state of the beam block:
OPEN "GPIB0" FOR OUTPUT AS #1
OPEN "GPIB0" FOR INPUT AS #2
PRINT #1, "ABORT"
PRINT #1, "RESET"
PRINT #1, "GPIBEOS IN LF" ' setting terminating characters to LF
PRINT #1, "GPIBEOS OUT LF"
DIM RESPONSE AS STRING
' Set attenuation to 20 and the state of the beam block to 0 (this turns the beam block on).
PRINT #1, "OUTPUT 05;:INP:ATT 20;:OUTP:STAT 0"
Query device
PRINT #1, "OUTPUT 05;:INP:ATT?;OUTP:STAT?"
PRINT #1, "ENTER 05"
INPUT #2, RESPONSE
PRINT RESPONSE
END
' "20.0000; 0" is displayed on the screen
Setting the User Slope
This example demonstrates setting the user slope to match the HA9 attenuator to a power
meter. It is not specific to a particular power meter.
OPEN "GPIB0" FOR OUTPUT AS #1
OPEN "GPIB0" FOR INPUT AS #2
PRINT #1, "ABORT"
PRINT #1, "RESET"
PRINT #1, "GPIBEOS IN LF" ' setting terminating characters to LF
PRINT #1, "GPIBEOS OUT LF"
PRINT #1, "OUTPUT 05;*RST"
PRINT #1, "OUTPUT 05;:UCAL:USRM OFF"
PRINT #1, "OUTPUT 05;:STAT:OPER:NTR 2"
PRINT #1, "OUTPUT 05;:INP:ATT 10" ' change attenuation setting
DO ' wait in loop until attenuator settles
PRINT #1, "OUTPUT 05;:STAT:OPER:EVENT?"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the JDS Uniphase HA9 Series and is the answer not in the manual?

JDS Uniphase HA9 Series Specifications

General IconGeneral
BrandJDS Uniphase
ModelHA9 Series
CategoryControl Unit
LanguageEnglish

Related product manuals