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 flexible disk in the DOS format, 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 prints the acquired data to a disk file on a floppy disk.
50 ! It will print to either a LIF or DOS file using the PRINT ALL command.
60 !
70 !****************************************************************
80 ! This program assumes a logic analyzer module
85 ! is installed in slot 1.
90 OUTPUT 707;":SELECT 1" ! Selects the module in slot 1. This program
100 ! assumes a logic analyzer module is installed
110 ! in slot 1.
115 !
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 OUTPUT 707;":SYSTEM:PRINT ALL, DISK, ’DISKFILE’, INTERNAL1"
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:HEADER OFF"
235 OUTPUT 707;":MMEMORY:MSI INTERNAL1"
240 OUTPUT 707;":MMEMORY: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
15–12
Summary of Contents for 16501A LOGIC
Page 2: ...ii ...
Page 12: ...Contents 8 ...
Page 14: ......
Page 15: ...1 Introduction to Programming ...
Page 38: ...1 24 ...
Page 39: ...2 Programming Over HP IB ...
Page 45: ...3 Programming Over RS 232 C ...
Page 55: ...4 Programming Over LAN ...
Page 68: ...4 14 ...
Page 69: ...5 Programming and Documentation Conventions ...
Page 81: ...6 Message Communication and System Functions ...
Page 91: ...7 Status Reporting ...
Page 93: ...Figure 7 1 Status Byte Structures and Concepts Status Reporting 7 3 ...
Page 97: ...Figure 7 2 Service Request Enabling Status Reporting Key Features 7 7 ...
Page 100: ...Figure 7 3 Parallel Poll Data Structure Status Reporting Parallel Poll 7 10 ...
Page 105: ...8 Error Messages ...
Page 110: ...8 6 ...
Page 112: ......
Page 113: ...9 Common Commands ...
Page 116: ...Figure 9 1 Common Commands Syntax Diagram Common Commands 9 4 ...
Page 122: ...Figure 9 2 IST Data Structure Common Commands IST Individual Status 9 10 ...
Page 132: ...9 20 ...
Page 133: ...10 Mainframe Commands ...
Page 135: ...Figure 10 1 Mainframe Commands Syntax Diagram Mainframe Commands 10 3 ...
Page 136: ...Figure 10 1 continued Mainframe Commands Syntax Diagram continued Mainframe Commands 10 4 ...
Page 159: ...11 SYSTem Subsystem ...
Page 161: ...Figure 11 1 System Subsystem Commands Syntax Diagram SYSTem Subsystem 11 3 ...
Page 172: ...11 14 ...
Page 173: ...12 MMEMory Subsystem ...
Page 175: ...Figure 12 1 MMEMory Subsystem Commands Syntax Diagram MMEMory Subsystem 12 3 ...
Page 198: ...12 26 ...
Page 199: ...13 INTermodule Subsystem ...
Page 201: ...Figure 13 1 Intermodule Subsystem Commands Syntax Diagram INTermodule Subsystem 13 3 ...
Page 216: ...13 18 ...
Page 217: ...14 TGTctrl Subsystem ...
Page 219: ...Figure 14 1 Targetcontrol Subsystem Commands Syntax Diagram TGTctrl Subsystem 14 3 ...
Page 220: ...Figure 14 1 continued Targetcontrol Subsystem Commands Syntax Diagram TGTctrl Subsystem 14 4 ...
Page 233: ...Part 3 15 Programming Examples 15 1 Programming Examples ...
Page 234: ......
Page 235: ...15 Programming Examples ...