EasyManuals Logo
Home>HP>Measuring Instruments>86140A Series

HP 86140A Series User Manual

HP 86140A Series
304 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 #130 background imageLoading...
Page #130 background image
4-24
Remote Operation
Example Programs
Example 6. Returning trace data
Description
This program locates the largest signal and then zooms to a narrow span. The
trace length is changed to 101 points and the entire trace data is read in and
printed on the display.
Program
PRINT OSA Trace Example
OUTPUT 723;disp:wind:text:data Trace Readout’”
!
DIM Tdata(1:101) ! Create a trace array
DIM Wdata(1:101) ! Wavelength data
!
PRINT Presetting the instrument
PRINT
OUTPUT 723;*rst ! Preset the instrument
!
OUTPUT 723;disp:wind:trac:all:scal:auto ! Automeasure
PRINT Performing Automeasure
PRINT
!
OUTPUT 723;cal:alig:mark1 ! Perform an autoalignment
PRINT Performing Autoalign
PRINT
!
PRINT
! Next line is the operation complete query used so that the text is not printed
! until after the Autoalign is complete
OUTPUT 723;*opc?
ENTER 723;Dum
PRINT ...measurement begins
PRINT
!
OUTPUT 723;sens:wav:span 10 nm ! Set span
!
OUTPUT 723;init:imm ! Take a single sweep
OUTPUT 723;calc1:mark1:max ! Marker to peak
OUTPUT 723;calc1:mark1:scen ! Marker to center
!
OUTPUT 723;init:imm ! Take a single sweep
!
! Read in the trace data
OUTPUT 723;sens:swe:poin 101 ! Set trace length to 101
OUTPUT 723;init:imm ! Take a single sweep
!
OUTPUT 723;form ascii ! Set data format to ASCII
OUTPUT 723;trac:data:y? tra ! Request data
ENTER 723;Tdata(*) ! Read data trace
!
! Read start, stop and trace length
!
OUTPUT 723;sens:wav:star? ! Read start wavelength
book.book Page 24 Monday, January 31, 2000 10:34 AM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 86140A Series and is the answer not in the manual?

HP 86140A Series Specifications

General IconGeneral
BrandHP
Model86140A Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals