R3131 Spectrum Analyzer Operation Manual
I/O method
Content
ASCII format DDDD CR LF
1 t
Delimiter
Data for one point
Four-byte data without header
Input GPIB code
Output GPIB code
Memory A
Memory B
TAA
TAB
TAA?
TAB?
Binary format
DID DD
two
for continuous
DD
High
parts:
DD + EOI
Delimiter
Low-order byte for 501st point
-order byte for 501st point
high-and low-order bytes. EOI signal is
501 points.
II
Low-order byte for 1st point
High-order byte for 1st point
Each point data is divided into
attached at the end of the data
Input GPIB code Output GPIB code
Memory A
Memory B
TBA
TAB
TBA?
TBB?
(1)
Sample Programs for PC9801 series (GPIB address = 8)
Example PC-11: Output data from memory A in ASCII format.
10 1SET IFC:ISET REN
Execute interface clear and remote enable.
20
DIM TR(501)
30 PRINT @8;"DLODTG"
'
Set to negative detector.
40
PRINT @8;"TAA?" '
Specify ASCII output from memory A.
50 FOR 1=0 TO 500
60
INPUT @8;TR(I)
' Fetch data for 501 points.
70
PRINT I;"=";TR(I)
80 NEXT I
90 END
4.1 GPIB Remote Programming
Trace data can be in input or output in either ASCII or binary format.
4-38