Printing to the disk

This program prints acquired data to a disk file. The file can be either on a

LIF or DOS disk. If you print the file to a DOS disk, you will be able to view

the file on a DOS compatible computer using any number of file utility

programs.

10 ! ********* PRINTING TO A DISK FILE **********
20 !
30 !
40 ! This program prin ts the acquired da ta to a disk file. I will
50 ! print to either a LIF or DOS file using the PRINT ALL command.
60 !
70 !****************************************************************
80 !
90 OUTPUT 707;":SE LECT 1" ! Always a 1 for th e 1660-series lo gic
100 ! analyzers.
110 !
120 OUTPUT 707;":MENU 1,7" ! Selects the Listing 1 menu. Print to disk
130 ! will only work in Listing and Disk menus.
140 !
150 OUTPU T 707;":SYST EM:PRINT ALL , DISK, DISKFILE"
160 !
170 !****************************************************************
180 ! Now display catalog to see that the file has been saved on the disk.
190 !
200 DIM File$[100]
210 DIM Specifier$[2]
220 OUTPUT 707;": EOI ON"
230 OUTPUT 707;": SYSTEM:HEADE R OFF"
240 OUTPU T 707;":MMEM ORY:CATALOG? ALL"
250 ENTER 707 USING "#,2A";Specifier$
260 ENTER 707 USING "#,8D";Length
270 FOR I=1 TO Length STEP 70
280 ENTER 707 USING "#,70A";File$
290 PRINT File$
300 NEXT I
310 ENTER 707 USING "A";Specifier$
320 END
Programming Examples

Printing to the disk

36–27