EasyManua.ls Logo

Hioki 3560 - Sample Program

Hioki 3560
156 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
114
────────────────────────────────────────────────────
8.3 Sample Program
────────────────────────────────────────────────────
100 DIM A$[100]
110 DIM B$[100]
120 CLEAR 701
130 OUTPUT 701;"*RST"
140 OUTPUT 701;"*IDN?"
150 ENTER 701;A$
160 PRINT A$
170 OUTPUT 701;"*TST?"
180 ENTER 701;B$
190 PRINT B$
200 END
8
.3 Sample Program
The program shown below is described in HPBASIC which is created by
using the HP’s controller. For information on HPBASIC, refer to its
user’s manual. All the messages in the sample program are described in
shortened form. The GP-IB address of the 3560 is set to "1".
(1) 3560 inquiry program
This program initializes the 3560. It inquires to determine the
manufacturer, model name, and software version. This program also
executes the self test and inquires to determine the result.
Program list Program comments
100 Defines character strings
110 Defines character strings
120 Initialize the interface
130 Initialize the 3560
140 Query device ID
150 Get data
160 Display data
170 Execute and query self test
180 Get data
190 Display data
200 End of program

Table of Contents

Related product manuals