EasyManua.ls Logo

Hioki 3560 - Page 127

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...
115
────────────────────────────────────────────────────
8.3 Sample Program
────────────────────────────────────────────────────
100 DIM M$[10],S$[10],AR$[10]
110 DIM A$[50],B$[50],C$[50],D$[50],E$[50]
120 CLEAR 701
130 INPUT"MODE? (R/RV) ";M$
140 IF M$="R" THEN 160
150 IF M$="RV" THEN 180
160 OUTPUT 701;":MOD R"
170 GOTO 190
180 OUTPUT 701;":MOD RV")
190 INPUT"SAMPLING? (F/M/S) ";S$
200 IF S$="F" THEN 230
210 IF S$="M" THEN 250
220 IF S$="S" THEN 270
230 OUTPUT 701;"SAMP FAST"
240 GOTO 280
250 OUTPUT 701;"SAMP MED"
260 GOTO 280
270 OUTPUT 701;"SAMP SLOW"
280 INPUT"AUTORANGE? (A/M) ";Ar$
290 IF Ar$="A" THEN 310
300 IF Ar$="M" THEN 330
310 OUTPUT 701;":AUT ON"
320 GOTO 410
330 OUTPUT 701;":AUT OFF"
340 INPUT"RESISTANCERANGE? (0 3100) ";Rr
350 IF Rr<0 OR Rr>3100 THEN 340
360 OUTPUT 701;":RRAN ";Rr
370 IF M$="R" THEN 410
380 INPUT"VOLTAGERANGE? (‑50 50) ";Vr
390 IF Vr<‑50 OR Vr>50 THEN 380
400 OUTPUT 701;":VRAN ";Vr
410 OUTPUT 701;":MOD?"
420 ENTER 701;A$
430 OUTPUT 701;":SAMP?"
440 ENTER 701;B$
450 OUTPUT 701;":AUT?"
460 ENTER 701;C$
470 OUTPUT 701;":RRAN?"
480 ENTER 701;D$
490 IF M$="R" THEN 540
500 OUTPUT 701;":VRAN?"
510 ENTER 701;E$
520 PRINT A$,B$,C$,D$,E$
530 GOTO 550
540 PRINT A$,B$,C$,D$
550 END
(2) 3560 measurement mode, sampling rate, and measurement range
setup program
This program sets the measurement mode, sampling rate, and
measurement range of the 3560, and inquires to determine the
established settings.
100 Defines character strings
110 Defines character strings
120 Initialize the interface
130 Specify the measurement mode
140 Select the measurement mode
150
160 Set the measurement mode (Resistance mode)
170
180 Set the measurement mode (Resistance and
volatage mode)
190 Specify the sampling rate
200 Select the sampling rate
210
220
230 Set the sampling rate to FAST
240
250 Set the sampling rate to MEDIUM
260
270 Set the sampling rate to SLOW
280 Specify the auto range
290 Select the range
300
310 Set the auto range to ON
320
330 Set the auto range to OFF
340 Specify the resistance range
350
360 Set the resistance range
370
380 Specify the voltage range
390
400 Set the voltage range
410 Query the measurement mode
420 Get data
430 Query the sampling rate
440 Get data
450 Query the autorange
460 Get data
470 Query the resistance range
480 Get data
490
500 Query the voltage range
510 Get data
520 Display data (Resistance and voltage
measurement mode)
530
540 Display data (Resistance and voltage
measurement mode)
550 End of program

Table of Contents

Related product manuals