Programming Examples; Gpib Interface Programming Example - JDS Uniphase RX3 Series User Manual

Multichannel backreflection meter
Table of Contents

Advertisement

36
Command
A08E
A09E
A11E TO A30E
A41E
A42E
A45E
A46E
A47E
A50E
A51E
A99E
1
Same as key.
2
Valid in Power mode only.
3
Valid in BR mode only.
4
Same as initialize.
When the keypad is locked out, the computer controls the meter and the only key that functions
on the meter is the I/O (on/off) key.

Programming Examples

GPIB Interface Programming Example

The following sample program, written in MS-DOS
used with an IOTECH GP4**A interface board.
All GPIB messages must end with the terminating sequence <CR> <LF>.
10
OPEN "\DEV\IEEEOUT" FOR OUTPUT AS #1
20
OPEN "\DEV\IEEEIN" FOR INPUT AS #2
30
PRINT #1, "TERM CR LF"
40
PRINT #1, "CLEAR 05"
50
PRINT #1, "REMOTE 05"
60
PRINT #1, "OUTPUT 05; A08E"
70
PRINT #1, ENTER 05
80
INPUT #2, READING$
90
PRINT READING$
100
PRINT #1, "LOCAL 05"
2
MS-DOS is a trademark of Microsoft Corporation
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Switch to Backreflection mode.
2
Measure dark signal
.
Set output channel (command = channel number 10).
Select 1.3 source if available.
Select 0.85 source if available.
Set relative power reference.
Perform SETUP measurements.
3
Measure BR
.
0
3
Set BR
to 99.9 dB
.
0
4
Initialize meter
.
Enable keypad.
Operation
(table continued)
2
Qbasic, controls the RX3 meter. It can be
' set terminating characters
' (IOTECH)
' interface clear
' lockout keypad
' backreflection mode
' read measurement
' display measurement
' enable keypad
.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents