Getting Ascii Data With Print? All Query - HP 16500C Programmer's Manual

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

Advertisement

Getting ASCII Data with PRINt? ALL Query

This program example shows you how to get ASCII data from a listing
display, like the disk catalog or state listing, using the PRINt? ALL query.
There are two things you must keep in mind:
You must select the mainframe, which is always SELECT 0 for the
HP 16500C mainframe.
You must select the proper menu. The only menus that allow you to use
the PRINt? ALL query are the disk menu and listing menus.
10
!
20
!
30
!
40
! This program gets the hard disk directory from the HP 16500C mainframe
50
!
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 OFF"
120
OUTPUT 707;":SELECT 0"
130
!
140
!
150
OUTPUT 707;":MENU 0,1"
160
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
****** ASCII DATA *******
! Always a 0 for the HP 16500C mainframe
! Selects the hard disk menu.
! will only work in disk menu and listings.
Programming Examples
Getting ASCII Data with PRINt? ALL Query
Print? All
15–9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

16501a

Table of Contents