OTDR Programming Guide (English E0401)
OTDR Programming Guide (English E0401)
Notices
Copyright 1998-2000 Agilent
Technologies Deutschland GmbH. All
rights reserved.
No part of this manual may be
reproduced in any form or by any
means (including electronic storage
and retrieval or translation into a
foreign language) without prior
agreement and written consent from
Agilent Technologies, Inc. as
governed by United States and
international copyright laws.
Bellcore Certification of
Excellence
Agilent Technologies is officially
designated Bellcore Certification
Eligible, and is awarded Bellcores
Certification of Excellence for its
OTDR Data Format.
Warranty
The material contained in this
document is subject to change without
notice. Agilent Technologies makes
no warranty of any kind with regard to
this material, including, but not
limited to, the implied warranties of
merchantability and fitness for a
particular purpose. Agilent
Technologies shall not be liable for
errors contained herein or for
incidental or consequential damages in
connection with the furnishing,
performance, or use of this material.
Edition/Print Date
All Editions and Updates of this
manual and their creation dates are
listed below.
E4310-91016 Third Edition E0401
First Edition E0298
Second Edition E1098, E0599, E0500
Third Edition E0401
Assistance
Product maintenance agreements and
other customer assistance agreements
are available for Agilent Technologies
products.
For any assistance, contact your
nearest Agilent Technologies Sales
and Service Office (see Service and
Support on page 6).
Related Publications
You can find more information about the instruments covered by this
manual in the following manuals:
HP 8147A Optical Time Domain Reflectometer Users Guide (Agilent
Product Number E4310-91011).
Agilent E6000C Mini-OTDR Users Guide (Agilent Product Number
E6000-91031)
Canada
(905) 206-4725
Europe
Japan
Latin America
Australia/New
Zealand
Asia-Pacific
Front Matter
1 Introduction to Programming
1.1 Command Messages ...............................................17
Units .................................................................................... 17
Trace Array ......................................................................... 18
Data ..................................................................................... 18
Message Exchange ............................................................. 18
The Input Queue ................................................................. 19
The Output Queue .............................................................. 19
The Error Queue ................................................................. 19
2 Specific Commands
2.1 Specific Command Summary ................................33
Front Matter
6 Programming Examples
8
Front Matter
6.1 How to Connect your OTDR to a PC ....................147
How to set the Instrument Configuration ........................... 148
Front Matter
A.4 Directory Structure ................................................170
A.5 Opening an Instrument Session ............................170
A.6 Closing an Instrument Session ..............................171
A.7 VISA Data Types and Selected Constant Definitions
172
A.8 Error Handling .......................................................172
A.9 Introduction to Programming ..............................173
Selecting Functions .............................................................173
Example Programs ..............................................................174
LabView ..............................................................................174
LabWindows .......................................................................175
A.11 Using the HP OTDR VEE Driver in Application Development Environments .............................................176
Microsoft Visual C++ 4.0 (or higher) and Borland C++ 4.5 (or
higher) .................................................................................176
Microsoft Visual Basic 4.0 (or higher) ...............................176
HP VEE 3.2 (or higher) .......................................................177
LabWindows CVI/ (R) 4.0 (or higher) ................................177
10
Front Matter
Figure 1-1 Common Status Registers .........................................................................
Figure 6-1 Instrument configuration - example ..........................................................
Figure 6-2 Connection check - example .....................................................................
Figure 6-3 Query - example........................................................................................
Figure 6-4 Blocks transfer - example .........................................................................
Figure 6-5 Uploading a Bellcore file - example .........................................................
Figure A-1 VXIplug&play window ...........................................................................
Figure A-2 HP VEE - Install options..........................................................................
11
22
149
152
153
154
157
167
168
Front Matter
12
Front Matter
Table 1-1 Common Command Summary ...................................................................
Table 2-1 Specific Command Summary.....................................................................
Table 6-1 Cable configuration for connection to a PC ...............................................
Table 6-2 Transmission parameters ............................................................................
13
21
34
147
150
Front Matter
14
Introduction to
Programming
Introduction to
Programming
16
Introduction to Programming
Units
Where units are given with a command, usually only the base units
are specified. The full sets of units are given in the table below.
Unit
meters
miles
feet
decibel
second
Default
M
MI
FT
DB
S
Allowed Mnemonics
NM, UM, MM, M, KM
MIles
FT, KFT
MDB, DB
NS, US, MS, S
Introduction to Programming
Trace Array
The Mini-OTDR and Rack OTDR can load up to two traces into
their memory. The Mainframe OTDR can load up to four traces.
These traces form a trace array. One of the entries in this array is
always the current entry. Most operations work on this entry.
Data
With the commands you give parameters to the OTDR and receive
response values from the OTDR. Unless explicitly noticed these
data are given in ASCII format (in fact, only the trace data are given
in binary format). The following types of data are used:
Boolean data may only have the values 0 or 1.
Data of type short may have values between -32768 and 32767.
When the OTDR returns a short value, it always explicitly gives
the sign.
Float variables may be given in decimal or exponential writing
(0.123 or 123E-3).
A string is contained between a " at the start and at the end or a
' at the start and at the end. When the OTDR returns a string, it
is always included in " " and terminated by <END>.
When a register value is given or returned (for example *ESE),
the decimal values for the single bits are added. For example, a
value of nine means that bit 0 and bit 3 are set.
Larger blocks of data are given as Binary Blocks, preceded by
#HLenNumbytes, terminated by <END>; HLen represents the
length of the Numbytes block. For example:
#16TRACES<END>.
Message Exchange
The OTDR exchanges messages using an input and an output
queue. Error messages are kept in a separate error queue.
18
Introduction to Programming
19
Introduction to Programming
The oldest error message in the queue is discarded each time a new
error message added.
20
Introduction to Programming
Table 1-1
NO T E
<location>
<location>
Function
Clear Status Command
Standard Event Status Enable Command
Standard Event Status Enable Query
Standard Event Status Register Query
Reset defaults and reboot
(not possible on Mainframe OTDR)
Identification Query
Read instrument settings
Operation Complete Query
Options Query
Recall Instrument Setting
Reset Command
Save Instrument Setting
Read Status Byte Query
Self Test Query
Wait Command
21
Introduction to Programming
Figure 1-1
22
Introduction to Programming
23
Introduction to Programming
Status
Byte
Standard Event
Status Enable
&
Enable
+&
Operation
Status
0, *unused
0, *unused
1, *unused
1, *unused
2, *unused
2, *unused
3, *unused
3, power warn
4, meas running
4, *unused
5, *unused
5, *unused
6, *unused
6, *unused
7, *unused
7, *unused
8, scan running
8, *unused
9, printing
9, *unused
10, *unused
10, *unused
11, *unused
11, *unused
12, *unused
12, *unused
13, *unused
13, *unused
14, *unused
15, *unused
15, *unused
24
Questionable
Status
Standard Event
Status Register
Enable
&+
Introduction to Programming
Bits marked with * are not used and therefore always set to 0. The
few used bits in the operation are marked with arrows, as are the
questionable status registers.
Annotations
Status Byte:
Bit 0 is set any time the laser is on (measurement running)
Bits 1 and Bit 2 are unused (0)
Bit 3 is built from the questionable status event register and its
enable mask.
Bit 4 (MAV) is generally 0.
Bit 5 is built from the SESR and its SESE.
Bit 6 is always 0 because the SRE mask is always 0 (no service
request).
Bit 7 is built from the operation status and its enable mask.
25
Introduction to Programming
Operation/Questionable Status
The Operation/Questionable Status consists of a condition and
an event register.
A "rising" bit in the condition register is copied to the event
register.
A "falling" bit in the condition register has no effect on the event
register.
Reading the condition register is non-destructive.
Reading the event register is destructive.
A summary of the event register and its enable mask is set in the
status byte.
Operation Status
Bit 4 is set if a measurement is running, and reset when the
measurement is stopped.
Bit 8 is set if the scan trace is running, and reset when the scan
trace is stopped.
Bit 9 is set if a printout has been started, and reset when the
printout is finished or cancelled.
All other bits are unused, and therefore set to 0.
Questionable Status
Bit 3 is set if a weak power supply has been detected (DC supply,
battery low).
Bit 14 is set if a questionable command has been received (for
example, starting the scan trace or printout with no valid trace
data).
All other bits are unused, and therefore set to 0.
26
Introduction to Programming
27
Introduction to Programming
Mainframe
State
Video
State
Batt
State
RTC
State
SMC
State
Check
Sum
State
Power
6V
State
Flash
State
Floppy
State
DAP
State
Sub- Module
Module State
State
Bits 15 .. 8
Bits 7 .. 0
Submodule Error
Module Error
Bits 18 .. 16
Unused
Bits 30 .. 26
unused
Selftest
ERROR
MSW:
LSW:
28
Bit 25 Bit 24
Module IBI-test
Init
failed
failed
analog
summ
digital
summ
MOD
Temp.
LAS
Temp.
APD-L
Temp.
APD-H
Temp.
Bit 9
Bit 8
APDHV
RCVOFFS
OFFS
HILIN
OFFS
Higain
OFFS
Logain
RMS
HILIN
RMS
Higain
RMS
Logain
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
not used
DAPALU
DSPCode
CALData
LOGTable
SHOTRAM
DAPRAM
DSPRAM
Introduction to Programming
Other Commands
*RCL
29
Introduction to Programming
30
Specific Commands
Specific Commands
32
Specific Commands
If a command and a query are both available, the command ends /?.
So, disp:brig/? means that disp:brig and disp:brig? are
both available.
Table 2-1 gives an overview of the command tree. You see the
nodes, the subnodes, and the included commands.
33
Specific Commands
Command
Description
ABORt[1/2]
Page
79
CALCulate:MATH:EXPRession
:NAME?
87
:REFLex?
Calculates Reflectance.
87
:SPLice?
88
:TYPE/?
88
:BRIGhtness/?
123
:CONTrast/?
123
:ENABle/?
124
DISPLay
DISPLay[:WINDow]:GRAPhics
:COLor/?
125
:LTYPe/?
125
DISPLay[:WINDow]:TEXT
:DATA/?
126
127
DISPLay[:WINDow]:X
:SCALe/?
DISPLay[:WINDow]:X[:SCALe]
:PDIVision/?
128
DISPLay[:WINDow]:Y[:SCALe]
:PDIVision/?
129
79
FETCh[:SCALar]
:POWer[:DC]?
Table 2-1
34
Specific Commands
Command
Description
Page
HCOPy
:ABORt
130
:DESTination/?
130
[:IMMediate]
131
132
HCOPy:ITEM
:ALL[:IMMediate]
HCOPy:ITEM[:WINDow]
[:IMMediate]
132
:STATe/?
132
HCOPy:ITEM[:WINDow]:TEXT
[:IMMediate]
133
:STATe/?
133
HCOPy:ITEM[:WINDow]:TRACe
[:IMMediate]
134
:STATe/?
133
HCOPy:ITEM[:WINDow]:TRACe:GRATicule
:STATe/?
135
136
HCOPy:PAGE
:SIZE/?
INITiate[1][:IMMediate]
[:ALL]
INITiate2
:CONTinuous/?
KEYBoard
Table 2-1
Starts a measurement.
80
80
80
81
Specific Commands
Command
Description
Page
MMEMory
:CATalog?
137
:CDIRectory/?
138
:DELete
Deletes a file.
138
:FREE
139
:FREE?
139
:INITialize
139
:MDIRectory
140
:MSIS/?
141
:NAME/?
141
138
:FILE?
140
:STATe
140
:TRACe
140
142
:STATe
142
:TRACe
142
:TRACe:REVision/?
142
:CHECk:LIMit/?
83
:EXECute
85
MMEMory:COPY
:FILE
MMEMory:LOAD
MMEMory:SAVE
:FILE
MMEMory:STORe
PROGram:EXPLicit
Table 2-1
Specific Commands
Command
Description
Page
:NUMBer/?
85
:STATe/?
86
82
89
READ[:SCALar]
:POWer[:DC]?
SENSe:AVERage
:COUNt/?
SENSe:AVERage:COUNt
Sets or queries the number of averages for measurements
90
[:FUNCtion]/?
91
[:FUNCtion:]AUTO/?
92
:NUMBer/?
SENSe:DETector
92
:MODE/?
93
SENSe:DETector:SAMPle
Returns the current sample distance.
94
:REFRindex/?
94
:SCATtercoeff/?
95
:TYPE?
95
:FREQuency?
96
:REFerence/?
96
:UNIT/?
98
:WAVelength/?
98
:DISTance?
SENSe:FIBer
SENSe:POWer
Table 2-1
Specific Commands
Command
Description
Page
SENSe:POWer:REFerence
:DISPlay
97
:STATe/?
97
101
[SOURce:]
HOFFset/?
108
[SOURce:]AM[:INTERNAL]
:FREQuency[1/2]/?
100
[SOURce:]MARKer1/2/3
:POINt/?
102
[:STATe]/?
103
:STATe[1/2]
104
:STATE[1/2]?
104
:WIDTh/?
104
:WIDTh:LLIMit?
105
:WIDTh:ULIMit?
105
:LUNit/?
106
:SPAN/?
106
:STARt/?
107
SOURce:POWer
[SOURce:]PULSe
[SOURce:]RANGe
[SOURce:]WAVelength[1/2][:CW]
AVAilable?
Table 2-1
109
Specific Commands
Command
Description
Page
STATus
Presets all registers and queues.
58
[:EVENt]?
56
:CONDition?
56
:ENABle/?
56
:ACDC?
57
:CAPacity?
57
:CURRent?
58
:REMain?
58
[:EVENt]?
59
:CONDition?
59
:ENABle/?
59
:BRIDge
61
:DATE/?
69
:ERRor?
70
:HELP?
70
:KEY/?
:PRESet
73
:SET/?
73
:TIME/?
74
:UPTime?
74
:PRESet
STATus:OPERation
STATus:POWer
STATus:QUEStionable
SYSTem
Table 2-1
Specific Commands
Command
Description
:VERSion?
Page
75
SYSTem:COMMunicate
:GPIB[:SELF]:ADDRess/?Sets or returns the OTDRs GPIB address.
61
SYSTem:COMMunicate:SERial
:FEED/?
64
[:RECeive]:PORT?
68
[:RECeive]:SBITS/?
68
SYSTem:COMMunicate:SERial[1|2][:RECeive]
:BAUD/?
62
:BITS/?
63
:PACE/?
65
:PARity[:TYPE]/?
66
:PARity:CHECk/?
67
:CATalog?
110
:DATA?
111
:DELete
117
:DELete:ALL
117
:FEED:CONTrol/?
117
:FREE?
118
:POINts
118
:POINts?
119
:FCRetloss?
112
:LINE?
Reads samples
114
TRACe
TRACe:DATA
Table 2-1
Specific Commands
Command
Description
Page
:TABLe?
115
:TABLe:LOCK/?
115
:TORL?
116
:VALue?
116
:TABLe?
111
:STATe?
112
TRACe:DATA:CHECk
TRACe:DATA:LANDmark
:ADD
Adds a landmark
112
:DELete
Deletes a landmark
113
82
TRAFficdet/?
Table 2-1
41
Specific Commands
42
44
parameters:
response:
example:
affects:
*CLS
*CLS
The CLear Status command *CLS clears all the event registers summarized
in the Status Byte register.
Except for the output queue, all queues summarized in the Status Byte
register are emptied. The error queue is emptied.
Neither the Standard Event Status Enable register, nor the Service Request
Enable register are affected by this command.
After the *CLS command the instrument is left in the idle state. The
command does not alter the instrument setting.
none
none
*CLS
All instruments
45
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
*ESE
*ESE<wsp><value>
The standard Event Status Enable command (*ESE) sets bits in the
Standard Event Status Enable register.
A 1 in a bit in the enable register enables the corresponding bit in the
Standard Event Status register.
The register is cleared at power-on. The *RST and *CLS commands do not
affect the register.
The bit value for the register (a short or a float):
Bit
Mnemonic
Decimal Value
7 (MSB)
Power On
128
6
User Request
64
5
Command Error
32
4
Execution Error
16
3
Device Dependent Error
8
2
Query Error
4
1
Request Control
2
0 (LSB)
Operation Complete
1
none
*ESE 21
All instruments
*ESE?
*ESE?
The standard Event Status Enable query *ESE? returns the contents of the
Standard Event Status Enable register (see *ESE for information on this
register).
none
The bit value for the register (a short value).
*ESE? 21<END>
All instruments
46
command:
syntax:
description:
parameters
response
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
*ESR?
*ESR?
The standard Event Status Register query *ESR? returns the contents of the
Standard Event Status register. The register is cleared after being read.
none
The bit value for the register (a short or a float):
Bit
Mnemonic
Decimal Value
7 (MSB) Power On
128
6
User Request
64
5
Command Error
32
4
Execution Error
16
Query Error
4
2
1
1
Request Control
0 (LSB) Operation Complete
*ESR? 21<END>
All instruments
*FTY
*FTY
The FacTorY defaults command *FTY resets your OTDR to the factory
defaults and reboots the OTDR.
none
none
*FTY
Mini-OTDR, Mini-FBL and Rack OTDR
47
command:
syntax:
description:
parameters:
response:
example:
NOTE
*IDN?
*IDN?
The IDeNtification query *IDN? gets the instrument identification over the
interface.
none
The identification terminated by <END>:
HP E6000 Mini-Optical Time Domain Reflectometer Mainframe:
nnnnnnnnnn, Module: mmmmmmmmmm SW_Rev i.j
manufacturer
HP:
instrument model number (for example E6000)
mmmm:
serial number
ssssssss
firmware revision level
rrrrrrrrrr
Software Revision number, for example 1.1 or 1.0
SW_Rev i.j
*IDN? HP E6000 Mini Optical Time Domain
Reflectometer Mainframe 0123456789, Module:
ABCDE54321 SW_Rev 6.0<END>
The response from *IDN? for Mini FBLs, Rack OTDRs and
Mainframe OTDRs is respectively:
and
HP 8147 Optical Time Domain Reflectometer...
affects:
All instruments
48
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
*LRN?
*LRN?
The LeaRN query *LRN? reads the complete instrument setting in a binary
block. The binary block can be directly stored as a setting file.
none
Binary block.
*LRN? binblock
All instruments
*OPC?
*OPC?
The OPeration Complete query *OPC? parses all program message units in
the input queue.
If a print, measurement or scan trace is active, *OPC? returns 0. Otherwise,
*OPC? returns 1.
The following actions cancel the *OPC? query (and put the instrument into
Operation Complete, Command Idle State):
parameters:
response:
example:
affects:
Power-on
the Device Clear Active State is asserted on the interface.
*CLS
*RST
none
0<END> print, measurement, Scan Trace active, or
1<END>
*OPC? 1<END>
All instruments
49
command:
syntax:
description:
parameters:
response:
*OPT?
*OPT?
The OPTions query *OPT? gets a list of the installed options over the
interface. All three options are always listed, in the same order, separated
by commas. If an option is not installed in the instrument, 0 is sent in its
position in the list.
none
Mini-OTDR / Mini-FBL response:
module-type|0, FLOPPY|0, COLOR|0, EXTFLASH|0,
submodule-type : submodule serial no|0
Rack OTDR response:
module-type|0, FLOPPY|0, COLOR|0, EXTFLASH|0,
submodule-type : submodule serial no|0 RS232|RS485
Mainframe OTDR response:
module-type|0, DC|0, PRINTER|0, COLOR|0, HPIB|0, LAN|0
NOTE
The second and third arguments for the Rack OTDR (FLOPPY
and COLOR) are included for the sake of consistency.
The Rack OTDR has no floppy option, and is always configured as
a color unit.
NOTE
example:
affects:
All instruments
50
command:
syntax:
description:
parameters:
response:
related commands
example:
affects:
*RCL
*RCL<wsp><location>
The instrument setting is changed to one saved on the internal storage
device. Saved settings are in the form n.SET, so *RCL 2 recalls setting
SET2.SET.
a short value (between 0 and 5) giving the number of the setting to be
saved.
none
*SAV
*RCL 3
51
command:
syntax:
description:
*RST
*RST
The ReSeT command *RST sets the instrument to reset setting (standard
setting) stored in internal storage.
Pending *OPC? actions are cancelled.
The instrument is placed in the idle state awaiting a command. The *RST
command clears the error queue.
The following are not changed:
Output queue
Service Request Enable register (SRE)
Standard Event Status Enable register (ESE)
parameters:
response:
example:
affects:
Start: 0 km (Auto)
Stop: 2 km (Auto) (Mini and Rack); 40 km (Auto) (Mainframe OTDR)
Pulsewidth: 1 s (Auto)
First Wavelength: 1310 nm
Refractive Index, Scatter Coefficient: nominal for 1310 nm
Measurement Mode: Averaging
Averaging Time: 3 min (Mini and Rack); unlimited (Mainframe OTDR)
Optimize Mode: Standard
Data Points: 16000
Front Connector Threshold: -30 dB
Reflective Threshold: 0
Non-Reflective Threshold: 0
End Threshold: 5 dB (Mini and Rack); 3 dB (Mainframe OTDR)
none
none
*RST
All instruments
52
command:
syntax:
description:
parameters:
related commands:
response:
example:
affects:
*SAV
*SAV<wsp><location>
With the SAVe command *SAV the instrument setting is stored on the
internal storage device. The instrument can store 4 settings, in locations 1 to
4. The scope of the saved setting is identical to the standard setting (see
*RST).
Settings are in the form n.SET, so *SAV 2 saves the current setting as
SET2.SET.
a short value (between 0 and 5) giving the number of the setting to be
saved.
*RCL
none
*SAV 3
53
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
*STB?
*STB?
The STatus Byte query *STB? returns the contents of the Status Byte
register.
The Master Summary Status (MSS) bit is true when any enabled bit of the
STB register is set (excluding Bit 6). The Status Byte register including, the
master summary bit, MSS, is not directly altered because of an *STB?
query.
none
The bit value for the register (a short value):
Bit
Mnemonic
Decimal Value
7 (MSB)
Operation Status
128
6
Master Summary Status
64
5
Event Status Bit
32
4
Message Available
16
3
Questionable Status
8
2
Not used
0
1
Not used
0
0 (LSB)
Laser Active Bit
1
*STB? 1<END>
All instruments
*TST?
*TST?
The self-TeST query *TST? makes the instrument perform a self-test and
place the results of the test in the output queue.
No further commands are allowed while the test is running. After the selftest the instrument is returned to the setting that was active at the time the
self-test query was processed.
none
The sum of the results for the individual tests (a 32-bit signed integer
value):
*TST? 0<END>
All instruments
54
command:
syntax:
description:
parameters:
response:
example:
affects:
*WAI
*WAI
The WAIt command *WAI prevents the instrument from executing any
further commands until the current command has finished executing. All
pending operations are completed during the wait period.
none
none
*WAI
All instruments
55
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:OPERation[:EVENt]?
STATus:OPERation[:EVENt]?
Queries the operation event register
none
The bit value for the operation event register as a short value
(0 .. +32767)
stat:oper? +0<END>
All instruments
STATus:OPERation:CONDition?
STATus:OPERation:CONDition?
Queries the operation condition register
none
The bit value for the operation condition register as a short value
(0 .. +32767)
stat:oper:cond? +16<END>
All instruments
STATus:OPERation:ENABle
STATus:OPERation:ENABle<wsp><value>
Sets the operation enable mask for the event register
The bit value for the operation enable mask as a short value
(0 .. +32767)
none
stat:oper:enab 128
All instruments
56
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:OPERation:ENABle?
STATus:OPERation[:ENABle]?
Returns the operation enable mask for the event register
none
The bit value for the operation enable mask as a short value
(0 .. +32767)
stat:oper:enab? +128<END>
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:POWer:ACDC?
STATus:POWer:ACDC?
Queries how the battery is powered.
none
AC, DC or CHARging
stat:pow:acdc? AC<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:POWer:CAPacity?
STATus:POWer:CAPacity?
Returns the power capacity of the battery.
none
percentage capacity of the battery
stat:pow:cap? 75%<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
57
command:
syntax:
description:
parameters:
response:
NOTE
STATus:POWer:CURRent?
STATus:POWer:CURRent?
Returns the current of the battery in mA.
none
Battery current
If the battery is discharging, the returned value will be negative.
If the battery is charging, the returned value will be positive.
stat:pow:curr? 200MA<END>
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:POWer:REMain?
STATus:POWer:REMain?
Returns the operating time in minutes
none
Remaining time
stat:pow:rem? 180MIN<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:PRESet
STATus:PRESet
Resets both enable masks to 0.
none
none
stat:pres
All instruments
58
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:QUEStionable[:EVENt]?
STATus:QUEStionable[:EVENt]?
Queries the questionable event register
none
The bit value for the questionable event register as a short value
(0 .. +32767)
stat:ques? +0<END>
All instruments
STATus:QUEStionable:CONDition?
STATus:QUEStionable:CONDition?
Queries the condition register
none
The bit value for the questionable condition register as a short value
(0 .. +32767)
stat:ques:cond? +8<END>
All instruments
STATus:QUEStionable:ENABle
STATus:QUEStionable:ENABle<wsp><value>
Sets the questionable enable mask for the event register
The bit value for the questionable enable mask as a short value
(0 .. +32767)
none
stat:ques:enab 128
All instruments
59
command:
syntax:
description:
parameters:
response:
example:
affects:
STATus:QUEStionable:ENABle?
STATus:QUEStionable[:ENABle]?
Returns the questionable enable mask for the event register
none
The bit value for the questionable enable mask as a short value
(0 .. +32767)
stat:ques:enab? +128<END>
All instruments
60
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:BRIDge
SYSTem:BRIDge
Allows you to send and receive data from the instrument connected
to Serial1 to the instrument connected to Serial 2.
Data characters are passed between Serial 1 and Serial 2 until the
command #SCPI is detected.
none
none
syst:brid
61
.
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess?
command:
syntax:
description:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:BAUD
SYSTem:COMMunicate:SERial[:RECeive]:BAUD<wsp><value>
Sets the baud rate for the OTDR serial interface
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess?
Queries the OTDRs current GPIB address.
none
Possible values for the address are 1 .. 32 (a short value).
syst:comm:gpib:addr? +15<END>
NOTE
NOTE
parameters:
response:
example:
affects:
Valid baud rates are 1200, 2400, 9600, 19200,38400, 57600, 115200.
none
syst:comm:ser:baud 9600
All instruments
62
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:BAUD?
SYSTem:COMMunicate:SERial[1|2][:RECeive]:BAUD?
Returns the current baud rate for the OTDR serial interface
You can choose Serial 1 or 2 for the Rack OTDR only.
If you are using a Rack OTDR, and you do not specify a serial port
number, the baud rate for Serial 1 is returned.
none
Possible baud rates are 1200, 2400, 9600, 19200, 38400, 57600,
115200
syst:comm:ser:baud? +9600<END>
All instruments
SYSTem:COMMunicate:SERial[:RECeive]:BITS
SYSTem:COMMunicate:SERial[:RECeive]:BITS<wsp><value>
Sets the number of data bits for the OTDRs serial interface.
All changes take effect immediately. After this command, you
must reconfigure your RS232 to continue communication.
Valid numbers are 5 .. 8
none
syst:comm:ser:bits 6
63
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:COMMunicate:SERial:FEED
SYSTem:COMMunicate:SERial:FEED<wsp><command>
Send a command to the instrument connected to Serial 2
The command given as a text string in "".
none
command:
syntax:
description:
parameters:
response:
example:
SYSTem:COMMunicate:SERial:FEED?
SYSTem:COMMunicate:SERial:FEED?<wsp><query>
Send a query to the instrument connected to Serial 2
The query given as a text string in "".
none
syst:comm:ser:feed? "*idn?" HP E6000 Mini-
syst:comm:ser:feed "init"
affects:
64
command:
syntax:
description:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PACE
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PACE<wsp>
<pace>
Sets the pace for the OTDR serial interface
NOTE
NOTE
parameters:
NOTE
response:
example:
affects:
none
syst:comm:ser:pace hard
All instruments
65
command:
syntax:
description:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PACE?
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PACE?
Returns the pace for the OTDR serial interface
NOTE
parameters:
response:
none
Possible values are NONE, HARDware, and XONXoff.
NOTE
example:
affects:
command:
syntax:
description:
All instruments
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity
[:TYPE]
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity[:TYPE]<wsp>
<parity>
Sets the type of parity checking for the OTDRs serial interface.
NOTE
NOTE
parameters:
response:
example:
affects:
none
syst:comm:ser:par odd
All instruments
66
command:
syntax:
description:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity
[:TYPE]?
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity[:TYPE]?
Returns the type of parity checking for the OTDRs serial interface.
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
none
Possible values are NONE, ODD, EVEN.
syst:comm:ser:par? ODD<END>
All instruments
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity:
CHECk
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity:CHECk<wsp>
<boolean>
Determines whether parity checking is enabled for the OTDRs serial
interface.
You can choose Serial 1 or 2 for the Rack OTDR only.
If you are using a Rack OTDR, and you do not specify a serial port
number, the parity for Serial 1 is checked.
Possible values are 0 and 1
none
syst:comm:ser:par:chec 1
All instruments
67
command:
syntax:
description:
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity
:CHECk?
SYSTem:COMMunicate:SERial[1|2][:RECeive]:PARity:CHECk?
Queries whether parity checking is enabled for the OTDRs serial interface.
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
none
Possible values are
0: checking disabled
1: checking enabled
syst:comm:ser:par:chec? 1<END>
All instruments
SYSTem:COMMunicate:SERial:PORT?
SYSTem:COMMunicate:SERial:PORT?
Inquires the type of second serial port that is configured (Rack
OTDR only).
none
RS232 or RS485
syst:comm:ser:port? RS485<END>
Rack OTDR only
SYSTem:COMMunicate:SERial[:RECeive]:SBITS
SYSTem:COMMunicate:SERial[:RECeive]:SBITS<wsp><bits>
Sets the number of stop bits for the OTDRs serial interface.
All changes take effect immediately. After this command, you
must reconfigure your RS232 to continue communication.
Valid numbers are ONE, ONEHalf, TWO
none
syst:comm:ser:sbit two
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:COMMunicate:SERial[:RECeive]:SBITS?
SYSTem:COMMunicate:SERial[:RECeive]:SBITS?
Returns the number of stop bits for the OTDRs serial interface.
none
Possible values are ONE, ONEHalf, TWO
syst:comm:ser:sbit? TWO<END>
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:DATE
SYSTem:DATE<wsp><day>,<month>,<year>
Sets the OTDRs internal date.
The date in the format day, month,year (short values)
none
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:DATE?
SYSTem:DATE?
Returns the OTDRs internal date.
none
The date in the format day, month,year (short values)
syst:date? +20,+7,+1995<END>
All instruments
syst:date 20,7,1995
All instruments
69
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:ERRor?
SYSTem:ERRor?
Returns the contents of the OTDRs error queue. Removes the
returned entry from the queue.
none
The number of the latest error, and its meaning.
syst:err? -113,"Undefined header"<END>
All instruments
SYSTem:HELP?
SYSTem:HELP?<wsp><keyword>
Returns a help page corresponding to the specified keyword.
keyword given as a string in "". For example, "SYSTem",
"SOURce", "DISPlay", "IEEEcommon".
"" returns a list of valid keywords.
A Binary block containing the help page.
syst:help? "syst" #3316[help_page]<END>
All instruments
70
command:
syntax:
description:
parameters:
SYSTem:KEY
SYSTem:KEY<wsp><code>
Simulates keystrokes on the OTDRs frontpanel.
Valid key codes are as follows:
Mini-OTDR / Mini-FBL Rack OTDR
Mainframe OTDR
0:Select key.
1:Run/Stop key.
2:Up key
3:Down key
4:Left key
5:Right key
6:Help key
response:
example:
affects:
none
syst:key? 1<END>
All instruments
71
0: Enter/Return
1: <f2>
2: Up arrow
3: Down arrow
4: Left arrow
5: Right arrow
6: <f1>
0: Enter (RPG-click)
1: Softkey 1 (topmost)
2: Softkey 2
3: Softkey 3
4: Softkey 4
5: Softkey 5
6: Softkey 6
7: Help
8: Zoom Horizontal Out
9: Zoom Vertical In
10: Zoom Vertical Out
11: Zoom Horizontal In
12: Next marker
13: Print
14: Full Trace
15: Save
16: Trace/Event
17: Around Marker
18: Auto
19: Run/Stop
20: Decrease Brightness
21: Increase Brightness
command:
syntax:
description:
SYSTem:KEY?
SYSTem:KEY?
Returns either the last keystroke entered on the OTDR frontpanel
(not possible on Mainframe OTDR), or the last keystroke emulated
by the SYSTem:KEY remote command (all instruments).
parameters:
response:
none
Valid key codes are as follows:
Mini-OTDR / Mini-FBL Rack OTDR
0:Select key.
1:Run/Stop key.
2:Up key
3:Down key
4:Left key
5:Right key
6:Help key
example:
affects:
0: Enter/Return
1: <f2>
2: Up arrow
3: Down arrow
4: Left arrow
5: Right arrow
6: <f1>
syst:key? 1<END>
All instruments
72
Mainframe OTDR
0: Enter (RPG-click)
1: Softkey 1 (topmost)
2: Softkey 2
3: Softkey 3
4: Softkey 4
5: Softkey 5
6: Softkey 6
7: Help
8: Zoom Horizontal Out
9: Zoom Vertical In
10: Zoom Vertical Out
11: Zoom Horizontal In
12: Next marker
13: Print
14: Full Trace
15: Save
16: Trace/Event
17: Around Marker
18: Auto
19: Run/Stop
20: Decrease Brightness
21: Increase Brightness
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:PRESet
SYSTem:PRESet
Loads a predefined instrument setting that is also loaded on power
on.
none
none
syst:pres
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:SET
SYSTem:SET<wsp><setting>
Sets the specified instrument setting from a binary block.
binary block
none
syst:set binblock
Mini-OTDR, Rack OTDR, and Mainframe OTDR
command:
syntax:
description:
SYSTem:SET?
SYSTem:SET?
Reads the complete instrument setting in a binary block. The binary
block can be directly stored as a setting file.
none
binary block
syst:set? binblock
All instruments
parameters:
response:
example:
affects:
73
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:TIME
SYSTem:TIME<wsp><hour>,<minute>,<second>
Sets the OTDRs internal time.
The time in the format hour,minute,second. Hours are counted 0...23
(short values).
none
syst:time 20,15,30
All instruments
SYSTem:TIME?
SYSTem:TIME?
Returns the OTDRs internal time.
none
The time in the format hour,minute,second. Hours are counted 0...23
(short values).
syst:time? +20,+15,+30<END>
All instruments
SYSTem:UPTime?
SYSTem:UPTime?
Returns the time (in seconds) since you switched on your OTDR.
none
The time in seconds (int32 value).
syst:upt? 240<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
74
command:
syntax:
description:
parameters:
response:
example:
affects:
SYSTem:VERSion?
SYSTem:VERSion?
Returns the SCPI revision to which the OTDR complies.
none
The revision year and number.
syst:vers? 1995.0<END>
All instruments
75
76
Operations on Traces
and Measurements
This chapter gives descriptions of commands that you can use when
taking traces and measurements from your OTDR. The commands
are split into the following separate subsystems:
Root level commands: general commands.
:PROGRAM/:CALCULATE: commands which execute tasks
or calculate values.
:SENSE: commands which control measurement parameters.
:SOURCE: commands which control the optical source and
markers.
:TRACE: commands which relate to the traces in the OTDRs
memory.
Other commands are described in Chapter 3 Instrument Setup and
Status, and Chapter 5 Mass Storage, Display, and Print
Functions.
78
ABORt[1/2]
ABORt[1/2]
Stops a running measurement: abor or abor1: on the OTDR
abor2: on the Visual Fault Finder
NOTE
parameters:
response:
example:
affects:
none
none
command:
syntax:
description:
FETCh[:SCAlar]:POWer[:DC]?
FETCh[:SCALar]:POWer[:DC]?
Reads the current power meter value.
NOTE
parameters:
response:
NOTE
example:
affects:
abor
All instruments
none
The reference as a float value in dBm, W or dB.
If the reference state is absolute, units are dBm or W.
If the reference state is relative, units are dB.
fetc:pow? +4DBM<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
79
command:
syntax:
description:
INITiate[1|2][:IMMediate][:ALL]
INITiate[1|2][:IMMediate][:ALL]
Starts a measurement: init or init1: internal source
init2: power meter
NOTE
parameters:
response:
example:
affects:
none
none
command:
syntax:
description:
parameters:
INITiate2[:IMMediate]:CONTinuous
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
init
All instruments
INITiate2[:IMMediate]:CONTinuous<wsp><boolean>
Starts a power meter measurement.
A boolean value:
none
init2:cont 1
none
A boolean value:
0 single measurement
1 continuous measurement
init2:cont? 1<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
80
command:
syntax:
description:
parameters:
response:
example:
NOTE
KEYBoard
KEYBoard
Allows the use of a terminal as an external keyboard
none
none
keyb
keyb allows you to add text from a terminal (for example, when
specifying the name of a file to be saved). To use this facility, you should
do the following:
affects:
81
command:
syntax:
description:
NOTE
parameters:
response:
NOTE
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
READ[:SCAlar]:POWer[:DC]?
READ[:SCALar]:POWer[:DC]?
Reads the current power meter value.
The power meter must be running for this command to be
effective
none
The reference as a float value in dBm, W or dB.
If the reference state is absolute, units are dBm or W.
If the reference state is relative, units are dB.
read:pow? +4DBM<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
TRAFficdet
TRAFficdet<wsp><onoff>
Turn traffic detection on or off
ON: turn traffic detection on
OFF: turn traffic detection off.
none
traf on
82
command:
syntax:
description:
parameters:
PROGram:EXPLicit:CHECk:LIMit
PROGram:EXPLicit:CHECk:LIMit<wsp><param><wsp><value>
Set the Pass/Fail test limits for the specified parameter.
Valid values are as follows.
Units
Units
Limit
REFLective
mdB
10000 .. 65000
NONReflective
mdB
0 .. 5000
ATTenuation
mdB/km
0 .. 5000
CONNector loss
mdB
0 .. 5000
LOSS
mdB
0 .. 50000
LENGTh
mm
0 .. 500000000
TOLerance
mm
0 .. 50000000
NEW events
0=off, non-zero=on
SORT results
0=severity, 1=distance 0 or 1
The units specified above are implied, so you may only enter a
positive integer within the specified limits.
NOTE
response:
example:
affects:
none
prog:expl:chec:lim refl 30000
83
command:
syntax:
description:
parameters:
response:
NOTE
example:
affects:
PROGram:EXPLicit:CHECk:LIMit?
PROGram:EXPLicit:CHECk:LIMit?<wsp><param>
Query the Pass/Fail test limits for the specified parameter.
Valid units are: REFLective
NONReflective
ATTenuation
CONNector loss
LOSS
LENGTh
TOLerance
NEW events
SORT results
The units and limits as the same as for
PROGram:EXPLicit:CHECk:LIMit on page 83.
For more information about the Pass/Fail test limits, please
consult the E6000C Mini-OTDR Users Guide (English Agilent
Product number E6000-91031).
prog:expl:chec:lim? refl -30000<END>
84
command:
syntax:
description:
parameters:
PROGram:EXPLicit:EXECute
PROGram:EXPLicit:EXECute<wsp><task>
Allows executing special tasks on the OTDR.
A string specifying the task.
Currently only "scan" is valid on all instruments.
On the Mini-OTDR and Rack OTDR, you can also enter "check" to
start the Pass/Fail test.
Valid units are: SCAN: run a scan trace (not Mini-FBL)
CHECK: run a Pass/Fail Test (not Mini-FBL)
ORL?: inquire Optical Return Loss (not Mini-FBL)
TORL?: inquire Total ORL of a Link
NOTE
response:
example:
affects:
command:
syntax:
description:
parameters:
Because this command does not accept character data, you must
put quotation marks around the parameter scan or check.
none
prog:expl:exec "scan"
response:
example:
affects:
none
prog:expl:numb refl, 60000
All instruments
85
command:
syntax:
description:
parameters:
PROGram:EXPLicit:NUMBer?
PROGram:EXPLicit:NUMBer?<wsp><type>
Requests the threshold value.
REFLective, NONReflective, or END
On the Mini-FBL, only END is possible.
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
86
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
NOTE
example:
affects:
CALCulate:MATH:EXPRession:NAME?
CALCulate:MATH:EXPRession:NAME?<wsp><expr>
Allows calculating several loss and attenuation values. All
calculations use the stretch between markers A and B.
Valid values are:
LOSS
LSAattenuation
ATTenuation.
ORL: Optical Return Loss
The loss is returned in dB. The attenuations are returned in mdB/km.
calc:math:expr:name? att 291MDB/KM<END>
All instruments
CALCulate:MATH:EXPRession:REFLex?
CALCulate:MATH:EXPRessionREFLex?<wsp><pos1>,<pos2>,
<pos3>
Calculate the Reflectance of an event
The active marker must be at the position of the Event.
All instruments
87
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
CALCulate:MATH:EXPRession:SPLice?
CALCulate:MATH:EXPRession:SPLice?<wsp><pos1>,<pos2>,
<pos3>,<pos4>
Calculate the splice loss of an event.
The active marker must be at the position of the splice.
All instruments
CALCulate:MATH:EXPRession:TYPE
CALCulate:MATH:EXPRession:TYPE<wsp><type>
Sets the reflection parameter used for the return value of
calc:math:expr:refl? and the event table (for example,
trac:data:tabl).
Valid values are: REFLectance and HEIGht.
none
calc:math:expr:type refl
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
NOTE
example:
affects:
SENSe:AVERage:COUNt
SENSe:AVERage:COUNt<wsp><value>
Sets the averaging time.
Averaging time in seconds (a short value).
A value of 0 means that the measurement runs until it is stopped by
the user.
none
sens:aver:coun 180
All instruments
89
command:
syntax:
description:
parameters:
SENSe:AVERage:COUNt:NUMBer
SENSe:AVERage:COUNt:NUMBer<wsp><value>
Sets the number of averages to measure.
Number of averages as a power of 2 (a short value).
For example, if you enter 14, 214 averages are taken.
A value of 0 means that the measurement runs until it is stopped by
the user.
NOTE
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
none
sens:aver:coun:numb 14
For example, if you see 14, the instrument is configured to take 214
averages.
NOTE
example:
affects:
90
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:DETector[:FUNCtion]
SENSe:DETector[:FUNCtion]<wsp><mode>
Sets the current measurement mode.
Valid modes are:
AVERage
REAL time (not Mini-FBL)
CONTinue (not Mini-FBL)
CW
RETLoss (Mainframe OTDR only)
M2kHz (not Mainframe OTDR)
none
sens:det aver
All instruments
SENSe:DETector[:FUNCtion]?
SENSe:DETector[:FUNCtion]?
Returns the current measurement mode.
none
Possible responses are: AVERage
REAL time (not Mini-FBL)
CONTinue (not Mini-FBL)
CW
RETLoss (Mainframe OTDR only)
M2kHz (not Mainframe OTDR)
sens:det? AVER<END>
All instruments
91
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:DETector[:FUNCtion:]AUTO
SENSe:DETector[:FUNCtion]:AUTO<wsp><boolean>
Enables or disables the automatic measurement mode.
A boolean value: 0 disable auto mode
1 enable auto mode
none
sens:det:auto 1
Mini-OTDR, Rack OTDR, and Mainframe OTDR
SENSe:DETector[:FUNCtion:]AUTO?
SENSe:DETector[:FUNCtion]:AUTO?
Queries whether the automatic measurement mode is enabled.
none
A boolean value: 0 auto mode disabled
1 auto mode enabled
sens:det:auto? 1<END>
All instruments
SENSe:DETector[:FUNCtion:]OPTimize
SENSe:DETector[:FUNCtion]:OPTimize<wsp><mode>
Sets the optimization mode
Valid modes are: NONE standard optimization
RESolution optimize for resolution
DYNamic optimize for dynamic
LINearity - optimize for linearity (Mainframe
OTDR only)
none
sens:det:opt res
Mini-OTDR, Rack OTDR, and Mainframe OTDR
92
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:DETector[:FUNCtion:]OPTimize?
SENSe:DETector[:FUNCtion]:OPTimize?
Returns the current optimization mode.
none
Possible modes are NONE standard optimization
RESolution optimize for resolution
DYNamic optimize for dynamic
LINearity - optimize for linearity (Mainframe
OTDR only)
sens:det:opt? RES<END>
All instruments
SENSe:DETector:MODE
SENSe:DETector:MODE<wsp><mode>
Selects the mode of the OTDR screen
Valid modes are: OTDR OTDR mode
BREAK Fiber Break Locator
SOURce Source mode
none
sens:det:mode otdr
93
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:DETector:SAMPle:DISTance?
SENSe:DETector:SAMPle:DISTance?
Queries the current sample distance.
none
The sample distance in mm.
sens:samp:dist? +4600<END>
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:FIBer:REFRindex
SENSe:FIBer:REFRindex<wsp><value>
Sets the fibers refractive index.
The refractive index (a float value).
none
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:FIBer:REFRindex?
SENSe:FIBer:REFRindex?
Returns the current refractive index.
none
The refractive index (a float value).
sens:fib:refr? +1.4580000<END>
All instruments
sens:fib:refr 1.458
All instruments
94
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:FIBer:SCATtercoeff?
SENSe:FIBer:SCATtercoeff?
Returns the current scatter coefficient.
none
The scatter coefficient in dB (a float value).
sens:fib:scat? +51.500DB<END>
All instruments
command:
syntax:
description:
parameters:
response:
SENSe:FIBer:TYPE?
SENSe:FIBer:TYPE?
Queries the fiber type of the measurement module.
none
example:
affects:
SENSe:FIBer:SCATtercoeff
SENSe:FIBer:SCATtercoeff<wsp><value>[dB|mdB]
Sets the fibers scatter coefficient.
The scatter coefficient in mdB (default) or dB (a float value).
none
sens:fib:scat 51500mdb
MONomode
MULTimode
sens:fib:type? MULT<END>
All instruments
95
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
NOTE
example:
affects:
SENSe:POWer:FREQuency?
SENSe:POWer:FREQuency?
Queries the detected power meter input frequency.
none
Valid responses are: CW, LI, and the current frequency in Hz or KHz
sens:pow:freq? 270HZ<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
SENSe:POWer:REFerence
SENSe:POWer:REFerence<wsp><value>
[pW|nW|uW|mW|Watt|dBm]
Sets the power meter reference value
The reference as a float value. You may append a unit type.
Valid units are: pW, nW, uW, mW, Watt, and dBm.
If no unit type is specified, dBm is implied.
none
sens:pow:ref 4dBm
96
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:POWer:REFerence:DISPlay
SENSe:POWer:REFerence:DISPlay
Takes the current power meter value as the reference value
none
none
sens:pow:ref:disp
97
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:POWer:UNIT
SENSe:POWer:UNIT<wsp><boolean>
Sets the power meter power unit
A boolean value: 0 dBm
1 - Watt
or DBM or W
none
sens:pow:unit 1
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSe:POWer:UNIT?
SENSe:POWer:UNIT?
Inquires the current power meter power unit
none
DBM or W
sens:pow:unit? W<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
SENSE:POWer:WAVelength
SENSE:POWer:WAVelength<wsp><value>[NM | UM | MM | M]
98
command:
syntax:
description:
parameters:
response:
example
affects:
SENSE:POWer:WAVelength?
SENSE:POWer:WAVelength?
99
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]AM[:INTernal]:FREQuency[1]
[SOURce:]AM[:INTernal]:FREQency[1]<wsp><freq>
Sets the modulation frequency of the internal source
Valid units are: CW, F270HZ, F1KHZ, F2KHZ, and CODE
none
Mini-OTDR, Mini-FBL, and Rack OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]AM[:INTernal]:FREQuency[1]?
[SOURce:]AM[:INTernal]:FREQency[1]?
Queries the current modulation frequency of the internal source
none
Valid units are: CW, F270HZ, F1KHZ, F2KHZ, and CODE
am:freq? F270HZ<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]AM[:INTernal]:FREQuency2
[SOURce:]AM[:INTernal]:FREQency2<wsp><freq>
Sets the modulation frequency of the Visual Fault Finder
Valid units are: CW and F1HZ
none
am:freq f270hz
am:freq2 f1hz
100
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]AM[:INTernal]:FREQuency2?
[SOURce:]AM[:INTernal]:FREQency2?
Queries the current modulation frequency of the Visual Fault Finder
none
Valid units are: CW and F1HZ
am:freq2? F1HZ<END>
Mini-OTDR, Mini-FBL, and Rack OTDR
.
command:
syntax:
description:
parameters:
[SOURce:]HOFFset
[SOURce:]HOFFset<wsp><value>[MM | CM | M | KM | MI | FT |
KFT]
Sets the horizontal offset.
The offset as a float value. You may append a length unit.
Valid length units are: MM, CM, M, KM, MI, FT, KFT.
NOTE
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
none
hoff 5km
101
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
[SOURce:]MARKer1|2|3:POINt
[SOURce:]MARKer1|2|3:POINt<wsp><position>[length unit]
Sets the position of the selected marker (MARK1 = marker A,
MARK2 = marker B, MARK3 = marker C).
The Mini-OTDR and Rack OTDR have no Marker C.
MARK3 is therefore only valid for the Mainframe OTDR.
none
Position in length unit.
mark2:poin? +1KM <END>
Mini-OTDR, Rack OTDR, and Mainframe OTDR
102
command:
syntax:
description:
[SOURce:]MARKer1|2|3 [:STATe]
[SOURce:]MARKer1|2|3[:STATe]<wsp><boolean>
Activates or disables the selected marker (MARK1 = marker A,
MARK2 = marker B, MARK3 = marker C).
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
A boolean value:
0 disables marker
1 enables marker
none
mark2 1
none
A boolean value:
0 marker disabled
1 marker enabled
mark2? 1<END>
Mini-OTDR, Rack OTDR, and Mainframe OTDR
103
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]POWer:STATe[1|2]
[SOURce:]POWer:STATe[1|2]
Switches the laser of the chosen source on or off:
stat or stat1: internal source (default)
stat2: Visual Light Source
A boolean value: 0 Laser Off
1 - Laser On
none
pow:stat 1
104
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]PULSe:WIDTh?
[SOURce:]PULSe:WIDTh?
Returns the measurement pulsewidth.
none
The pulsewidth in ns/us (a short value).
puls:widt? 3US<END>
All instruments
command:
syntax:
description:
[SOURce:]PULSe:WIDTh:LLIMit?
[SOURce:]PULSe:WIDTh:LLIMit?
Returns the lower limit for the pulsewidth determined by the
measurement hardware.
none
The pulsewidth in ns/us (a short value).
puls:widt:llim? +10NS<END>
All instruments
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]PULSe:WIDTh:ULIMit?
[SOURce:]PULSe:WIDTh:ULIMit?
Returns the upper limit for the pulsewidth determined by the
measurement hardware.
none
The pulsewidth in ns/us (a short value).
puls:widt:ulim? +10US<END>
All instruments
105
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]RANGe:LUNit
[SOURce:]RANGe:LUNit<wsp><unit>
Sets the length unit.
Valid units are:
M meters
FT feet
MI miles
none
rang:lun m
All instruments
[SOURce:]RANGe:LUNit?
[SOURce:]RANGe:LUNit?
Queries the current length unit.
none
Valid units are:
M meters
FT feet
MI miles
rang:lun? M<END>
All instruments
[SOURce:]RANGe:SPAN
[SOURce:]RANGe:SPAN<wsp><value>[MM | CM | M | KM | MI |
FT | KFT]
Sets the measurement span.
The span as a float value. You may append a length unit.
Valid length units are: MM, CM, M, KM, MI, FT, KFT.
none
rang:span 50mi
106
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
[SOURce:]RANGe:SPAN?
[SOURce:]RANGe:SPAN?
Returns the current measurement span.
none
The span as a float value in the current length unit.
rang:span? +80.4670000KM<END>
All instruments
[SOURce:]RANGe:STARt
[SOURce:]RANGe:STARt<wsp><value>[MM | CM | M | KM | MI |
FT | KFT]
Sets the starting point for the measurement.
The start as a float value. You may append a length unit.
Valid length units are: MM, CM, M, KM, MI, FT, KFT.
none
rang:star 10km
107
command:
syntax:
description:
[SOURce:]WAVelength[1|2][:CW]
[SOURce:]WAVelength[1|2][:CW]<wsp><value>[NM | UM | MM | M]
NOTE
wav2 is only included for the sake of consistency. You will never
want to set the Visual Light Source wavelength
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
[SOURce:]WAVelength[1|2][:CW]?
[SOURce:]WAVelength[1:2][:CW]?
Inquires the wavelength for the specified source:
WAVelength or WAVelength1: internal source (default)
WAVelength2: Visual Light source
NOTE
parameters:
response:
example:
affects:
wav 1550E-3um
All instruments
none
The wavelength as a float value in nm.
wav? +1550NM<END>
All instruments
108
command:
syntax:
description:
[SOURce:]WAVelength[1|2][:CW]:AVAilable?
[SOURce:]WAVelength[1|2][:CW]:AVAilable?
NOTE
parameters:
response:
example:
affects:
109
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:CATalog?
TRACe:CATalog?
Returns the names of the currently loaded traces and their positions
in the trace array.
There is a maximum of two loaded traces for the Mini-OTDR and
Rack OTDR, and four loaded traces for the Mainframe OTDR.
none
A string terminated by <END>.
trac:cat? "1:TRACE1.SOR 2:TRACE2.SOR"<END>
All instruments
110
command:
syntax:
description:
parameters:
response:
NOTE
TRACe:DATA?
TRACe:DATA?
Reads a complete trace data array for the current trace.
none
The data is a Binary Block containing the trace data.
TRAC:DATA? returns blocks of unsigned short (16-bit) data in
Intel little endian byte ordering (low byte first).
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
All instruments
TRACe:DATA:CHECk:TABLe?
TRACe:DATA:CHECk:TABLe?
Returns the Pass/Fail test Checker Table.
none.
Block containing the Pass/Fail test table. The header is the same as a
binary, but the data is in ASCII format.
trac:data:chec:tabl? block<END>
Mini-OTDR and Rack OTDR
111
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DATA:CHECk:STATe?
TRACe:DATA:CHECk:STATe?
Returns the current Pass/Fail test state.
none
Possible values
INVALID
are:
PASSED
FAILED
trac:data:chec:stat? PASSED<END>
Mini-OTDR and Rack OTDR
TRACe:DATA:FCRetloss?
TRACe:DATA:FCRetloss?
Returns the Front connector Return Loss
none
Return loss in dB.
trac:data:fcr? -35723MDB<END>
All instruments
TRACe:DATA:LANDmark:ADD
TRACe:DATA:LANDmark:ADD<wsp><value>[MM | CM | M |
KM | MI | FT | KFT],<comm>
Adds a landmark.
<value> The landmark position as a float value. You may append
a length unit. Valid length units are: MM, CM, M, KM,
MI, FT, KFT.
<comm> Landmark name, given as a string in " " (max. 40
characters)
none
trac:data:land:add 2km,"Landmark A"
112
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DATA:LANDmark:DELete
TRACe:DATA:LANDmark:DELete<wsp><value>[MM | CM | M |
KM | MI | FT | KFT]
Deletes a landmark.
The landmark position as a float value. You may append a length
unit.
Valid length units are: MM, CM, M, KM, MI, FT, KFT.
none
trac:data:land:del 2km
113
command:
syntax:
description:
parameters:
NOTE
TRACe:DATA:LINE?
TRACe:DATA:LINE?<wsp><start>,<range>,<width>,<minmax>
Starting at sample start, examines the next width samples, and
notes their minimum/maximum value. (minmax determines whether
it is MIN or MAX).
Repeats this for range samples, and stores the resulting line in a
binary block.
start (int32) - starting point from which samples are taken.
range (int32) - number of separate samples analyzed,
width (int32) - number of points in each sample.
For an illustration of the interpretation of the parameters, see the
diagram below:
response:
binary block
114
NOTE
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
All instruments
TRACe:DATA:TABLe?
TRACe:DATA:TABLe?
Returns an event table.
none.
Block containing the event table. The header is the same as a binary,
but the data is in ASCII format.
trac:data:tabl? block
All instruments
TRACe:DATA:TABLe:LOCK
TRACe:DATA:TABLe:LOCK<wsp><boolean>
Locks/Unlocks the event table
A boolean value: 0: table unlocked
1: table locked
none
trac:data:tabl:lock 0
115
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DATA:TABLe:LOCK?
TRACe:DATA:TABLe:LOCK?
Returns whether the event table is locked.
none.
A boolean value: 0: table unlocked
1: table locked
trac:data:tabl:lock? 0<END>
Mini-OTDR, Rack OTDR, and Mainframe OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DATA:TORL?
TRACe:DATA:TORL?
Returns the Total Optical Return Loss
none
Return loss in dB.
trac:data:torl? +35.7DB<END>
All instruments
command:
syntax:
description:
TRACe:DATA:VALue?
TRACe:DATA:VALue?<wsp><sample point>
Returns the measured value at the specified sample point.
NOTE
parameters:
response:
example:
affects:
116
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DELete
TRACe:DELete
Closes the current trace.
none
none
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:DELete:ALL
TRACe:DELete:ALL
Closes all loaded traces.
none
none
command:
syntax:
description:
TRACe:FEED:CONTrol
TRACe:FEED:CONTrol<wsp><trace>
trac:del
All instruments
trac:del:all
All instruments
NOTE
parameters:
response:
example:
affects:
FIRSt
SECond
THIRd (Mainframe OTDR only)
FOURth (Mainframe OTDR only)
none
trac:feed:cont sec
117
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:FEED:CONTrol?
TRACe:FEED:CONTrol?
Returns the current trace.
none
Possible values
FIRSt
are:
SECond
THIRd (Mainframe OTDR only)
FOURth (Mainframe OTDR only)
trac:feed:cont? SEC<END>
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:FREE?
TRACe:FREE?
Returns the number of unused trace array fields.
none
A short value: 0...2.(0...4 for the Mainframe OTDR)
trac:free? +2<END>
All instruments
command:
syntax:
description:
parameters:
TRACe:POINts
TRACe:POINts
Sets the maximum number of samples for the current trace.
The number of data points (a short value).
Valid arguments are 4000, 8000, and 16000.
none
response:
example:
affects:
trac:poin 8000
118
command:
syntax:
description:
parameters:
response:
example:
affects:
TRACe:POINts?
TRACe:POINts?
Returns the number of trace data points for the current trace.
none
The number of data points (a short value).
trac:poin? +8192<END>
All instruments
119
120
122
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
DISPlay:BRIGhtness
DISPlay:BRIGhtness<wsp><value>
Controls the brightness for the display.
0 .. 100 (0 ..64 on the Mainframe OTDR)
none
disp:brig 32
All instruments
DISPlay:BRIGhtness?
DISPlay:BRIGhtness?
Requests the brightness for the display.
none
0 .. 100 (0 ..64 on the Mainframe OTDR)
disp:brig? 32<END>
All instruments
DISPlay:CONTrast
DISPlay:CONTrast<wsp><value>
Controls the contrast for the display.
0 .. 100
none
disp:cont 50
123
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
DISPlay:CONTrast?
DISPlay:CONTrast?
Requests the contrast for the display.
none
0 .. 100
disp:cont? 50<END>
All instruments
DISPlay:ENABle?
DISPlay:ENABle?
Queries the state of the LCD.
none
A boolean value: 0 the LCD is turned off
1 the LCD is turned on
disp:enab? 1<END>
All instruments
124
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
DISPlay[:WINDow]:GRAPhics:COLor
DISPlay[:WINDow]:GRAPhics:COLor<wsp><color>
Changes the color of the current trace.
The new trace color (a short value):
BLACk, RED, BLUE, GREen, GREY, WHITe
none
disp:grap:col blac
125
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
DISPlay[:WINDow]:GRAPhics:LTYPe?
DISPlay[:WINDow]:GRAPhics:LTYPe?
Queries the linestyle of the current trace.
none
A boolean value: 0 current linestyle is dotted
1 current linestyle is solid
disp:grap:ltyp? 0<END>
All instruments
DISPlay[:WINDow]:TEXT:DATA
DISPlay[:WINDow]:TEXT:DATA<wsp><c-no>,<comm>
Sets a comment in the trace.
<c-no> 0 .. 4 - comment number
<comm> Comment, given as a string in " " (max. 40 characters)
none
disp:text:data 0,"This is a Comment"
All instruments
DISPlay[:WINDow]:TEXT:DATA?
DISPlay[:WINDow]:TEXT:DATA? <wsp><c-no>
Requests an individual comment
0 .. 4 - comment number
Comment, given as a string, terminated by <END>
disp:text:data? 0 "This is a Comment"<END>
All instruments
126
command:
syntax:
description:
NOTE
DISPlay[:WINDow]:X:SCALe
DISPlay[:WINDow]:X:SCALe:<wsp><type>
Controls whether the display is in full trace mode or zoomed.
You must send this command before you perform any zooming
operations.
The DISP ... :PDIV/? commands described below only work
in AROund mode.
parameters:
response:
example:
affects:
FULLtrace or AROund.
none
Mini-OTDR, Rack OTDR, and Mainframe OTDR
command:
syntax:
description:
parameters:
response:
example:
affects:
DISPlay[:WINDow]:X:SCALe?
DISPlay[:WINDow]:X:SCALe?
Queries whether the display is in full trace mode or zoomed.
none
FULLtrace or AROund
disp:x:scal? FULL<END>
All instruments
disp:x:scal full
127
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
DISPlay[:WINDow]:X[:SCALe]:PDIVision
DISPlay[:WINDow]:X[:SCALe]:PDIVision<wsp><value>
Determines the scaling of the X-axis.
This command only works in AROund mode (see
DISP:X:SCAL).
none
Possible values for the scaling: 0...15 (a short value):
0 full trace ....
15 1 m/DIV
disp:x:pdiv? +3<END>
All instruments
128
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
DISPlay[:WINDow]:Y[:SCALe]:PDIVision
DISPlay[:WINDow]:Y[:SCALe]:PDIVision<wsp><value>
Determines the scaling of the Y-axis.
This command only works in AROund mode (see
DISP:X:SCAL).
none
Possible values for the scaling: 1...7(a short value):
1 > 5 dB/DIV ....
7 > 0.1 dB/DIV
disp:y:pdiv? +3<END>
All instruments
129
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ABORt
HCOPy:ABORt
Cancels the current print job.
none
none
command:
syntax:
description:
parameters:
HCOPy:DESTination
HCOPy:DESTination<wsp><printer>
changes the current printing device.
hcop:abor
All instruments
response:
example:
affects:
none
hcop:dest "PCL100DPI"
All instruments
130
command:
syntax:
description:
parameters:
response:
HCOPy:DESTination?
HCOPy:DESTination?
Queries the current printing device.
none
The printers name as a string terminated by <END>.
Valid names for the Mini-OTDR and Rack OTDR are:
PCL100DPI: Standard HP-PCL printer (for example, HP LaserJet or
HP DeskJet) @ 100 dots per inch
PCL150DPI: Standard HP-PCL printer (for example, HP LaserJet or
HP DeskJet) @ 150 dots per inch
EPSONPIN: Epson Pin printer
SEIKODPU: Seiko DPU-411/414
NONE: no printer configured
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
All instruments
HCOPy[:IMMediate]
HCOPy[:IMMediate]
Immediately starts printing everything that has been selected before.
none
none
hcop
All instruments
131
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM:ALL[:IMMediate]
HCOPy:ITEM:ALL[:IMMediate]
Immediately starts printing everything.
none
none
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow][:IMMediate]
HCOPy:ITEM[:WINDow][:IMMediate]
Immediately starts printing the parameter window.
none
none
command:
syntax:
description:
parameters:
HCOPy:ITEM[:WINDow]:STATe
HCOPy:ITEM[:WINDow]:STATe<wsp><boolean>
Enables or disables printing the parameter window.
A boolean value: 0 disable
1 enable
none
response:
example:
affects:
hcop:item:all
All instruments
hcop:item
All instruments
hcop:item:stat 1
All instruments
132
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow]:STATe?
HCOPy:ITEM[:WINDow]:STATe?
Queries printing the parameter window.
none
A boolean value: 0 parameter window will not be printed
1 parameter window will be printed
hcop:item:stat? 1<END>
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow]:TEXT[:IMMediate]
HCOPy:ITEM[:WINDow]:TEXT[:IMMediate]
Immediately starts printing the event table.
none
none
command:
syntax:
description:
parameters:
HCOPy:ITEM[:WINDow]:TEXT:STATe
HCOPy:ITEM[:WINDow]:TEXT:STATe<wsp><boolean>
Enables or disables printing the event table.
A boolean value: 0 disable
1 enable
none
response:
example:
affects:
hcop:item:text
All instruments
hcop:item:text:stat 1
All instruments
133
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow]:TEXT:STATe?
HCOPy:ITEM[:WINDow]:TEXT:STATe?
Queries whether the event table will be printed.
none
A boolean value: 0 event table will not be printed
1 event table will be printed
hcop:item:text:stat? 1<END>
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow]:TRACe[:IMMediate]
HCOPy:ITEM[:WINDow]:TRACe[:IMMediate]
Immediately starts printing the trace.
none
none
command:
syntax:
description:
parameters:
HCOPy:ITEM[:WINDow]:TRACe:STATe
HCOPy:ITEM[:WINDow]:TRACe:STATe<wsp><boolean>
Enables or disables printing the trace window.
A boolean value: 0 disable
1 enable
none
response:
example:
affects:
hcop:item:trac
All instruments
hcop:item:trac:stat 1
All instruments
134
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:ITEM[:WINDow]:TRACe:STATe?
HCOPy:ITEM[:WINDow]:TRACe:STATe?
Queries whether the trace window will be printed.
none
A boolean value: 0 trace window will not be printed
1 trace window will be printed
hcop:item:trac:stat? 1<END>
All instruments
HCOPy:ITEM[:WINDow]:TRACe:GRATicule:STATe
HCOPy:ITEM[:WINDow]:TRACe:GRATicule:STATe<wsp>
<boolean>
Enables or disables printing the trace window grid.
A boolean value: 0 disable
1 enable
none
hcop:item:trac:grat:stat 1
All instruments
HCOPy:ITEM[:WINDow]:TRACe:GRATicule:STATe?
HCOPy:ITEM[:WINDow]:TRACe:GRATicule:STATe?
Queries printing the trace window grid.
none
A boolean value: 0 trace window grid will not be printed
1 trace window grid will be printed
hcop:item:trac:grat:stat? 1<END>
All instruments
135
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
HCOPy:PAGE:SIZE
HCOPy:PAGE:SIZE<wsp><size>
Controls the paper size of the printout.
Valid parameters are LETTer, A or A4.
Please note that LETTer and A are the same page size.
none
hcop:page:size A4
All instruments
HCOPy:PAGE:SIZE?
HCOPy:PAGE:SIZE?
Queries the current paper size of the printout.
none
A value containing A or A4, terminated by <END>
hcop:page:size? A4<END>
All instruments
136
command:
syntax:
description:
parameters:
response:
example:
MMEMory:CATalog?
MMEMory:CATalog?
Returns the contents of the current directory.
none
A binary Block containing the contents of the directory as ASCII
text, separated by CR/LF. The first digit states the number of digits
following. The digits following give the total number of characters
in the list of filenames.
mmem:cat? #229.
..
DEMO1.SOR
DEMO2.SOR
<END>
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
All instruments
MMEMory:CDIRectory
MMEMory:CDIRectory<wsp><directory>
Changes the current directory.
The directory given as a string in " ".
none
mmem:cdir "TRACES"
All instruments
137
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:CDIRectory?
MMEMory:CDIRectory?
Queries the current directory.
none
The directory given as a string terminated by <END>.
mmem:cdir? "TRACES"<END>
All instruments
command:
syntax:
description:
parameters:
MMEMory:COPY:FILE
MMEMory:COPY:FILE?<wsp><file>,<newfile>,<device>
Copies the specified Bellcore binary file from the current device.
The file name given as a string in " ".
The name of the new file given as a string in " ".
Device where new file is located: FLASh - internal memory
FLOPpy diskette
PCMCia - memory card
none
mmem:copy:file "t0721_01.sor","\abc\test.sor",flop
Mini-OTDR, Mini-FBL, and Rack OTDR
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:DELete
MMEMory:DELete<wsp><file>
Deletes the specified file from the current directory.
The file name given as a string in " ".
none
mmem:del "t0721_01.sor"
All instruments
138
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:FREE
MMEMory:FREE
Performs garbage collection on internal memory to reclaim free
space.
none
none
mmem:free
139
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:LOAD:STATe, :LOAD:TRACe
for example: MMEM:LOAD:STATe<wsp><file>
Loads a settings file or a trace file.
The file name given as a string in " ".
none
mmem:load:trac "t0721_01.sor"
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:LOAD:FILE?
MMEMory:LOAD:FILE?<wsp><file>
Uploads the specified Bellcore binary file from the OTDR.
The file name given as a string in " ".
binblock (Bellcore binary)
mmem:load:file? "t0721_01.sor" binblock
All instruments
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:MDIRectory
MMEMory:MDIRectory<wsp><directory>
Creates a directory on the current storage device.
The directory given as a string in " ".
none
mmem:mdir "TRACES"
All instruments
140
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:MSIS
MMEMory:MSIS<wsp><device>
Changes the current storage device.
Valid devices are: FLASh - internal memory (not Mainframe OTDR)
FLOPpy diskette
HARDdisk (Mainframe OTDR only)
PCMCia - memory card (not Mainframe OTDR)
none
mmem:msis flop
All instruments
MMEMory:MSIS?
MMEMory:MSIS?
Queries the current storage device.
none
Possible devices are: FLAS - internal memory (not Mainframe
OTDR)
FLOP diskette
HARD (Mainframe OTDR only)
PCMC - memory card (not Mainframe OTDR)
mmem:msis? FLOP<END>
All instruments
MMEMory:NAME
MMEMory:NAME<wsp><name>
Changes the name of the current trace.
The name given as a string.
none
mmem:name "t0711_01.sor"
All instruments
141
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:NAME?
MMEMory:NAME?
Queries the name of the current trace.
none
The name given as a string.
mmem:name? "T0711_01.SOR"<END>
All instruments
command:
syntax:
description:
parameters:
MMEMory:SAVE:FILE
MMEMory:SAVE:FILE<wsp><file>,<binblock>
Downloads the specified file to the OTDR.
The file name given as a string in " ".
binblock (Bellcore binary)
none
mmem:save:file "t0721_01.sor",binblock
All instruments
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:STORe:STATe, :STORe:TRACe
for example: MMEMory:STORe:STATe<wsp><file>
Saves a setting or a trace under the specified name.
The file name given as a string in " ".
none
mmem:stor:trac "t0721_01.sor"
All instruments
142
command:
syntax:
description:
NOTE
parameters:
response:
example:
affects:
command:
syntax:
description:
parameters:
response:
example:
affects:
MMEMory:STORe:TRACe:REVision
MMEMory:STORe:TRACe:REVision<wsp><value>
Sets the Bellcore revision number used to store Bellcore files.
Bellcore revision 1.1 conforms to standards, but you may need to
use Bellcore revision 1.0 for backward compatibility.
All instruments
MMEMory:STORe:TRACe:REVision?
MMEMory:STORe:TRACe:REVision?
Queries the Bellcore revision number according to which Bellcore
files are stored on your OTDR.
none
Possible values: (a short value): 10: Bellcore revision 1.0
11: Bellcore revision 1.1
mmem:stor:trac:rev? +11<END>
All instruments
143
144
Programming Examples
Programming Examples
This section contains some example programs that you can use to
run an OTDR.
This programming examples do not cover the full command set for
the instrument. They are intended only as an introduction to the
method of programming the instrument.
We recommend that you send commands via a program, examples
of which are contained in this chapter. However, for testing
processes you can enter individual commands (for example,
*idn?) from your terminal program (see How to Send
Commands and Queries on page 152).
146
Programming Examples
NO T E
Connect the OTDR serial port to the serial interface of the PC.
Use an Agilent 5180-2477 RS232 cable or an equivalent.
Table 6-1
Pin
[
147
7
3
2
6, 8 (connected)
5
4
1
4
9
Programming Examples
This is the default configuration, so you should only need to send these
commands if the instrument configuration has been altered.
148
Programming Examples
SetCommState(hSer, &dcb);
SetCommTimeouts(hSer, &commtimeout);
ClearCommBreak(hSer);
PurgeComm(hSer,
PURGE_TXABORT|PURGE_RXABORT|PURGE_TXCLEAR|PURGE_RXCLEAR);
return hSer;
}
Figure 6-1
149
Programming Examples
Table 6-2
Speed:
Code, databits:
Communication:
Parity:
Startbits:
Stopbits:
Flow control:
Transmission parameters
19200 bps (Baud)
8 bit
Full duplex
no parity
1 (not configurable)
1
RTS-CTS (Hardware)
150
Programming Examples
151
Programming Examples
Figure 6-2
Send a break
This resets the instruments and RS232 to the values given in
step 3.
Repeat steps 1 to 4.
152
Programming Examples
NO T E
Commands
Commands must be followed by a newline ("\n").
For example, the abort command abor should be formatted as:
sprintf(txtbuffer,"ABOR\n");
There is no response.
You can check that a command has been sent correctly by sending
the query SYST:ERR?, which returns the contents of the
OTDRs error queue.
Queries
A query produces a response from the instrument.
If the response is short, you can read the line. Otherwise, you
should read the response one character at a time until you find an
<END> (see Figure 6-3).
sprintf(txtbuffer,"*IDN?\n");
numbytes = strlen(txtbuffer);
WriteFile(hSerial, txtbuffer, numbytes, &cnt, 0);
// read response
ReadFile(hSerial, txtbuffer, MAXNUMBYTES, &cnt, 0);
Figure 6-3
Query - example
Blocks transfer
Larger blocks of data are given as Binary Blocks, preceded by
#HLenNumbytes, terminated by <END>; HLen represents the
length of the Numbytes block. For example: #16TRACES<END>.
153
Programming Examples
For more examples, see Figure 6-4 and How to Upload a Bellcore
File from the current trace on page 156
// read the trace data ...
sprintf(txtbuffer,"TRACE:DATA?\n");
numbytes = strlen(txtbuffer);
WriteFile(hSerial, txtbuffer, numbytes, &cnt, 0);
// now comes the data: e.g. #48000.... which means:
//
| 4 digits following to tell the number
//
of bytes
//
|||| 8000 bytes following, containing
//
4000 trace pts
cnt=0;
while(!cnt) ReadFile(hSerial, header, 1, &cnt, 0); // read "#"
ReadFile(hSerial, header, 1, &cnt, 0); // read number of digits
header[1]=0;
numbytes = atoi(header);
ReadFile(hSerial, header, numbytes, &cnt, 0); // read digits
header[cnt] = 0;
numbytes = atoi(header);
printf("Reading %d points of trace data ...\n", numbytes/2);
// 1 point = 16 bit unsigned short
ReadFile(hSerial, tracebuf, numbytes, &cnt, 0); // read trace data
ReadFile(hSerial, header, 15, &cnt, 0);
// read rest:
<END>\n
Figure 6-4
154
Programming Examples
Select the OTDR screen (this is only possible with the MiniOTDR and Rack OTDR):
Send the command SENS:DET:MODE OTDR.
You can stop the measurement with the abor command, or wait
until the Averaging Time is complete,
7
155
Programming Examples
The measurement has now stopped, and you can check the results
156
Programming Examples
Figure 6-5
157
Programming Examples
Programming Examples
NOT E
Reclaim extra disk space, if required (this is not possible with the
Mainframe OTDR).
Send the command MMEM:FREE.
MMEM:FREE replaces internal disk space only (not, for example, for the
Flash Disk or Floppy disk).
159
Programming Examples
* Module:
demoapp.cpp
*
* Description:
application to demonstrate a SCPI data transfer between PC<->OTDR
*
* Copyright:
12/02/1996 Hewlett-Packard GmbH
*
* NOTE:
This application is not supported by HP/Agilent!
*
*
HP/Agilent cannot be held responsible
*
*
for any problems/damages caused by this program!
*
*
*
* Compile:
Compile this program as a 32Bit Console Application under Win95/NT. *
*
We recommend a struct member byte alignment of 2 bytes.
*
* -----------------------------------------------------------------------------------*/
#include <windows.h>
#include <stdio.h>
#include <string.h>
#define INTERFACE "COM1"
#define MAXNUMBYTES 255
#define TRLEN 16512
HANDLE InitSerial( int baudrate )
{
static HANDLE hSer = CreateFile(
INTERFACE,
// use COM1 / Serial A
GENERIC_READ | GENERIC_WRITE, // open for read & write access
0, NULL,
OPEN_EXISTING,
// well, hopefully ... :-)
0, NULL );
if(!hSer)
{
return NULL;
}
// configure the interface ...
DCB dcb;
COMMTIMEOUTS commtimeout;
GetCommTimeouts(hSer, &commtimeout);
commtimeout.ReadIntervalTimeout = 3000;
commtimeout.ReadTotalTimeoutMultiplier = 200;
commtimeout.WriteTotalTimeoutMultiplier = 200;
commtimeout.WriteTotalTimeoutConstant = 3000;
GetCommState(hSer, &dcb);
dcb.DCBlength = sizeof(dcb);
dcb.BaudRate = baudrate;
dcb.ByteSize = 8;
dcb.Parity = 0;
dcb.StopBits = 1;
dcb.fBinary = 1;
dcb.fParity = 0 ;
dcb.fOutX = 0;
dcb.fInX = 0;
dcb.fDtrControl = DTR_CONTROL_DISABLE;
dcb.fRtsControl = RTS_CONTROL_HANDSHAKE;
// RTS flow control
SetCommState(hSer, &dcb);
SetCommTimeouts(hSer, &commtimeout);
ClearCommBreak(hSer);
PurgeComm(hSer, PURGE_TXABORT|PURGE_RXABORT|PURGE_TXCLEAR|PURGE_RXCLEAR);
160
Programming Examples
return hSer;
}
void main(int argc, char** argv)
{
int baudrate=19200;
HANDLE hSerial=NULL;
char txtbuffer[MAXNUMBYTES+1];
char header[16];
unsigned short tracebuf[TRLEN];
unsigned long cnt;
unsigned long numbytes;
//
//
//
//
//
//
//
161
// measurement start
// measurement span
// pulsewidth
// wavelength
Programming Examples
162
164
This appendix assumes that you are using Windows 95. If you are using
Windows NT, please replace every reference to win95 with winnt.
Windows 95 and Windows NT are registered trademarks of Microsoft
corporation.
HP VEE automatically calls the initialize and close functions to
perform automatic error checking.
165
Configuration screen.
3
NO T E
If you do not see this driver in the list, it has not been installed properly.
5
If you are planning to use the COMx port in the machine, specify
the address of the instrument as ASRLx.
Figure A-1
VXIplug&play window
2
NO T E
167
NO T E
If you do not have VISA installed, you see a message advising you to
install VISA.
Press Cancel to temporarily exit this installation procedure; install
VISA on your PC, then run OTDR.EXE again.
You see a window showing you what you can install (Figure A2).
4
Figure A-2
168
if you wish.
169
170
ViBoolean id_query: a Boolean flag which indicates if insystem verification should be performed.
Passing VI_TRUE (1) will perform an in-system verification;
passing VI_FALSE (0) will not.
If you set id_query to false, you can use the generic functions
of the instrument driver with other instruments.
ViBoolean reset: a Boolean flag which indicates if the
instrument should be reset when it is opened.
Passing VI_TRUE (1) will perform a reset when the session is
opened; passing VI_FALSE (0) will not perform a reset,
ViPSession instrumentHandle: a pointer to an
instrument session.
InstrumentHandle is the handle which addresses the
instrument, and is the first parameter passed in all driver
functions.
Successful completion of this function returns VI_SUCCESS
171
You can find a partial list of the type definitions and constant
definitions for the visatype.h in the HP OTDR Instrument Driver
Online Help.
172
function call.
hpotdr_errorQueryDetect
(instrumentHandle, VI_TRUE);
When enabled, the driver queries the instrument for an error
condition before returning from the function.
If an error occurred, errStatus (Step 1) will contain a code
indicating that an error was detected
(hpotdr_INSTR_ERROR_DETECTED).
3
173
Subsystem Functions
These functions combine multiple SCPI commands into a single,
functional operation. They are designed to allow quick and easy
access to common instrument command sequences.
Subsystem functions are instrument-specific, and cab be used for
functional tasks.
Passthrough Functions
Passthrough functions pass SCPI commands directly to the
instrument. These functions are used when there is not a driver
function available to set or perform a particular operation.
Utility Functions
Utility functions perform a variety of standard tasks.
Example Programs
See the Online Help and Chapter 6 Programming Examples.
LabView
The 32-bit HP/Agilent OTDR driver can be used with LabVIEW
4.0 and above. LabVIEW 4.0 is a 32-bit version of LabVIEW
which runs on Windows 95 and Windows NT.
To access the functions of the HP/Agilent OTDR instrument driver
from within LabVIEW 4.0, select FILE from the main menu, then
select the CONVERT CVI FP FILE submenu item.
In the file selection dialog box which appears, select hpotdr.fp
and click on the OK button.
LabVIEW will create a series of VI's, one per driver function. It
will create a file called hpotdr.llb which contains these VI's.
This library of VI's can then be accessed like any other VI library in
LabVIEW.
174
NO T E
You must use the 32-bit version of the HP/Agilent OTDR driver with
LabVIEW 4.0.
NO T E
LabWindows
The 32-bit HP/Agilent OTDR driver can be used with LabWindows
4.0 and above. LabWindows 4.0 is a 32-bit version of LabWindows
which runs on Windows 95 and Windows NT.
To access the functions of the HP/Agilent OTDR driver from within
LabWindows, select INSTRUMENT from the main menu, and then
select the LOAD... submenu item.
In the file selection dialog box which appears, select hpotdr.fp
and click on the OK button. LabWindows loads the function panel
and instrument driver.
The driver now appears as a selection on the Instrument menu, and
can be treated like any LabWindows driver.
NO T E
Instrument Addresses
When you are using HP VXIplug&play instrument drivers, you
should enter the instrument addresses using only upper case letters.
This is to ensure maximum portability.
175
Callbacks
Callbacks are not supported by this driver.
176
177
If you do not have web access, please contact your Agilent supplier,
or use the version of OTDR.EXE on your installation CD.
178
Index
A
Close
Abort
measurement .......79
printing .............130
90
Color .....................125
Command messages .17
Command syntax .....17
Commands .............153
Comment ...............126
Common commands .20
Common status registers 22
Condition register ....56, 59
Continue mode ........91
Continuous measurement 80
Contrast .................123,
124
Copy
file
Battery
current ..............58
power ...............57
power capacity ....57
..................138
Current ..................58
Current trace ...........117,
118
CW mode
download ...........157
upload ..............156
143
Binary block
153
...........18,
119
Device
...................158
..............141
..............139
change
format
.....45
179
................141
change ..............137
contents ............137
create ...............140
query ................138
Display
brightness ..........123
contrast .............123,
124
................124
Display Operations ...123
DISPlay Subsystem ..123
Dotted line ..............125,
126
Download file .........142,
157
Dynamic optimization 92,
93
LCD
...............91
D
query
Directory
60
.................115
.................133,
134
Front Matter
F
Factory default
Fiber
type
I
........47
.................95
.93
copy .................138
delete ...............138
download ...........142
upload ..............140
..............139
Floppy ...................141
format ..............139
Identification ...........48
IEEE-Common Commands
45
Initialize .................154
Input frequency .......96
Input queue .............19
Installed options ......50
Instrument Behaviour Settings ...............61
Instrument Configuration
148
format
example
Interface
behaviour settings
112
GPIB address
Grid
print
Keyboard
Keystroke
.................135
...............81
..........61, 62
.61
................127
G
.................114
92,
93
Linestyle
................125,
Load file
Lock
................140
126
event table
L
Landmark
add ..................112
delete ...............113
Laser
state .................104
switch on ...........104
LCD
180
......................124
.........115
Loss ......................87
LSA Attenuation ......87
............149
load .................73
read .................73
save .................53
set ...................73
device
Full trace
store
Linearity optimization
Instrument setting
Format
...............139
Free space ..............139
reclaim .............139
Frequency ..............96
Learn .....................49
Length unit .............106
Line
M2kHz mode
Marker
..........91
activate .............103
disable ..............103
position .............102
state .................103
..........155
.................80
.................79
Measurement Functions 89
Measurement mode ..91
automatic ...........92
Message exchange ...18
MMEMory subsystem 137
Measurement
start
stop
Modulation frequency
101
Module
fiber type
...........95
......95
Multimode fiber
Index
N
................141
..............139
Power ....................57
capacity ............57
current ..............58
Power Meter ...........158
format
Non-Reflective Threshold
85, ................86
Notices ..................2
Number of averages .90
59
start measurement
.80
Power meter
80
56
............154
OTDR mode ...........93
OTDR screen ..........93
Output queue ..........19
P
Pace ......................65, 66
Paper size ...............136
Parameter window
.................132,
133
Parity checking ........67, 68
Parity type ..............66, 67
Pass/Fail test ...........85
limits ................83, 84
state .................112
table .................111
print
147
82
97
98
99
......................156
abort ................130
device ...............130,
initialize
Queries ..................153
Questionable enable .59, 60
Questionable event register
continuous measurement
80
PC
PCMCIA
131
.........133,
134
grid ..................135
paper size ..........136
parameter window 132,
133
print all .............132
print all selected ...131
trace .................134,
135
Print operations .......130
Printer ...................130,
131
PROGram subsystem 83
Pulsewidth ..............104,
105
lower limit .........105
upper limit .........105
event table
181
93
Return Loss
147
...................68
RS485
S
Sample distance .......94
Save ......................53,
156
setting ..............142
trace .................142
Front Matter
Saved settings
Scale
measurement ......80
power meter measurement
.........51
..............128
..............129
Scan Trace ..............85,
156
Scatter coefficient ....95
SCPI revision ..........75
Self-test .................54
SENSe subsystem ....89
x-scale
y-scale
Serial 2
80
27
Setting
save
.................142
.................140
SYSTem subsystem
126
Source Mode
158
119
...........93,
156
110
Terminal program
Terminate
....150
Threshold ...............85,
Time .....................74
enter
................81
since power on
....74
182
...............153
U
........86
Test .......................54
Text
33, ................34
Splice loss ..............88
Start ......................107
laser .................104
135, ...156
current task
126
..61
107
69
CALCulate .........83
DISPlay ............123
HCOPy .............130
MMEMory .........137
PROGram ..........83
SENSe ..............89
SOURce ............100
STATus ............56
SYSTem ...........61
TRACe .............110
66
68
67
69
Settings file
load
118
Serial interface
close ................117
close all .............117
color ................125
comment ...........126
current trace .......117,
data array ...........111
data points .........118,
laser .................104
measurement ......79
configuration ......68
send command ....64
send query .........64
send/receive data ..61
116
Trace
.....................17,
106
Upload file .............140,
156
Uptime ..................74
Units
86
Index
V
Visual Fault Finder
modulation frequency
100, ...101
W
Wait ......................55
Wavelength ............108
available ............109
power meter .......98, 99
X
x-scale
...................128
Y
y-scale
...................129
Z
Zoom
around marker
.....127
183