![YOKOGAWA 7556 Скачать руководство пользователя страница 86](http://html.mh-extra.com/html/yokogawa/7556/7556_user-manual_911164086.webp)
10-12
IM 755601-01E
Example 3
Set the trigger mode to internal trigger and trigger
the measurement
:
CMD$ =
"
TRIG:MODE INT
"
'
............(1)
CALL IBWRT(M7556%, CMD$)
CMD$ =
"
MEAS ON
"
'
............(2)
CALL IBWRT(M7556%, CMD$)
LOOP1:
CMD$ =
"
READ?
"
'
............(3)
CALL IBWRT(M7556%, CMD$)
D$ = SPACE$(20)
CALL IBRD(M7556%, D$)
PRINT D$
GOTO LOOP1
:
(1) Set the trigger mode to internal trigger.
(2) Switch to the measurement mode.
(3) Query the measured data.
Example 4
Use the common command *TRG
:
CMD$ =
"
TRIG:MODE MAN
"
'
............(1)
CALL IBWRT(M7556%, CMD$)
CMD$ =
"
MEAS ON
"
'
............(2)
CALL IBWRT(M7556%, CMD$)
LOOP1:
CMD$ =
"
*TRG
"
'
............(3)
CALL IBWRT(M7556%, CMD$)
CMD$ =
"
READ?
"
'
............(4)
CALL IBWRT(M7556%, CMD$)
D$ = SPACE$(20)
CALL IBRD(M7556%, D$)
PRINT D$
GOTO LOOP1
:
(1) Set the trigger mode to manual.
(2) Switch to the measurement mode.
(3) Generate the trigger.
(4) Query the measured data.
Note
QuickBASIC may be interrupted when a GPIB SRQ signal
occurs, and possibly go to a user-specified service routine.
To intercept SRQ signal interruptions and to make them available
to user programs, the NI-488.2 for MS-DOS drivers uses the
QuickBASIC “ON PEN” statement.
Output Example
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
1.02
•
•
•
10.1 Before Programming