Printing To The Disk - HP 16500C Programmer's Manual

Logic analysis system
Hide thumbs Also See for 16500C:
Table of Contents

Advertisement

Programming Examples

Printing to the disk

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"
100
110
115
!
120
OUTPUT 707;":MENU 1,7"
130
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
15–12
! Selects the module in slot 1. This program
! assumes a logic analyzer module is installed
! in slot 1.
! Selects the Listing 1 menu.
! will only work in Listing and Disk menus.
Print to disk

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

16501a

Table of Contents