Getting ASCII Data with PRINt? ALL Query
This program example shows you how to get ASCII data from a state listing
using the PRINt? ALL query. There are two things you must keep in mind:
You must select the logic analyzer, which is always SELECT 1 for the
1660-series logic analyzers.
You must select the proper menu. The only menus that allow you to use
the PRINt? ALL query are the listing menus and the disk menu.
10 ! ****** ASCII DATA *******
20 !
30 !
40 ! This program gets STATE Listing data from the 1660-series logic
50 ! analyzers in ASCII form by using the PRINT? ALL query.
60 !
70 !****************************************************************
80 !
90 DIM Block$[32000]
100 OUTPUT 707;"EOI ON"
110 OUTPUT 707;": SYSTEM:HEAD OF F"
120 OUTPUT 707;": SELECT 1" ! Always a 1 fo r the 1660-serie s logic
130 ! analyzers.
140 !
150 OUTPUT 707;":MENU 1,7" ! Selects the Listing 1 menu. Print? All
160 ! will only work in Listing and Disk menus.
170 !
180 OUTPUT 707;": SYSTEM:PRINT ? ALL"
190 ENTER 707 USING "-K";Block$
200 !
210 !****************************************************************
220 ! Now display the ASCII data you received.
230 !
240 PRINT USING "K";Block$
250 !
260 END
Programming Examples
Getting ASCII Data with PRINt? ALL Query
36–24