Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
JDS Uniphase Manuals
Water Filtration Systems
TB9 Series
User manual
Rs232 Interface Programming Example - JDS Uniphase TB9 Series User Manual
Optical grating filter
Hide thumbs
JDS Uniphase
TB9 Series
User Manual
1
2
3
Table Of Contents
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
page
of
34
Go
/
34
Contents
Table of Contents
Bookmarks
Table of Contents
Advertisement
INPUT #2, sr
PRINT sr
PRINT #1, "SPOLL 05"
INPUT #2, sr
PRINT sr
RETURN
RS232 Interface Programming Example
This section provides a programming example for controlling the TB9 grating filter over the
RS232 interface. The sample was written in MS-DOS Qbasic and run on a personal computer,
equipped with a serial port. The COM 2 port of the computer must be designated as the serial
port and must be connected to the TB9 grating filter.
The RS232 command that appears in this section does not show the terminating character
<CR>; however, it is implied.
The RS232C interface cannot receive an SRQ interrupt.
OPEN "com2:1200,n,8,1" FOR RANDOM AS #1
CLS
' clear unit
PRINT #1, "clr"
' identify unit
PRINT #1, "idn?"
INPUT #1
PRINT a$
' set unit to 1550 nm
PRINT #1, "wvl 1550 nm"
' fetch status
PRINT #1, "wvl?"
INPUT #1, wvl
PRINT #1, "xdr?"
INPUT #1, xdr
PRINT #1, "stb?"
INPUT #1, stb
PRINT #1, "sre?"
INPUT #1, sre
PRINT #1, "err?"
INPUT #1, err
PRINT #1, "lerr?"
INPUT #1, lerr
' print status
PRINT wvl,xdr,stb,sre,err,lerr
CLOSE
END
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
' read status register
' verify SRQ bit is set
' serial poll again to verify SRQ bit is cleared
' read status register
Operating and Maintenance Instructions – 28
Table of
Contents
Previous
Page
Next
Page
1
...
30
31
32
33
34
Show Quick Links
Quick Links:
Optics
Specifications
Hide quick links:
Permanently
Temporary
Cancel
Advertisement
Table of Contents
Related Products for JDS Uniphase TB9 Series
JDS Uniphase Testifier
JDS Uniphase T-BERD MTS 8000
JDS Uniphase TT100
JDS Uniphase Talk-N-Trace TM-110
JDS Uniphase TP250
JDS Uniphase TT250
JDS Uniphase TB/MTS-5801
JDS Uniphase TB/MTS-5802
JDS Uniphase TB/MTS-5812
JDS Uniphase TB/MTS-5801P
JDS Uniphase TB/MTS-5802P
JDS Uniphase TB/MTS-5812P
JDS Uniphase TestifierPRO
JDS Uniphase T-BERD
This manual is also suitable for:
Tb9226
Tb9166
Tb9223
Tb9126
Tb9116
Tb9106
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL