372ĆBased Programming
Reference
3Ć154
FUNC ENTRY3
Processing 3
FUNC ENTRY4
Processing 4
RETURN
Each subroutine name can consist of one to eight alphanumeric characters.
A subroutine is called by using the statement CALL <subroutine name>.
Flow Control
In general, a program is executed in the order in which instructions are
described. Program flow, however, can be controlled by CALL/FUNC/REĆ
TURN, FOR/ENDFOR, or IF/ENDIF statements.
In addition, program execution can be interrupted and suspended.
Loop
Loops have FOR . . . ENDFOR instructions. In each loop register X is used
as a loop counter and, when a initial value and a final value of the loop are
given in the register, is incremented by 1 when the loop is executed. When
the initial value is larger than the final value, the loop will be infinite.
It is possible to exit from a loop by using a BREAK instruction.
Conditional Branch
Conditional branch is performed using IF . . . ENDIF, or IF . . . ELSE . . .
ENDIF instructions. The X register value and the GONOGO test result are
used to evaluate the condition. If the result is true, the processing described
between the IF and ENDIF instructions, or between the IF and ELSE instrucĆ
tions, is executed. If the result is false, the processing between the ELSE
and ENDIF instructions is executed, or no processing is executed when the
IF . . ENDIF conditional branch structure is used.
The result of GONOGO testing in IF statement depends on the result of
cursor1 and/or cursor2 as follows:
H
Cursor 1
XGONOGO/YGONOGO, Cursor 2
OFF/DOT/SLOPE/
GAIN
The result of the cursor 1 becomes the result of the IF statement.
H
Cursor 1
OFF/DOT/SLOPE/GAIN, Cursor 2
XGONOGO/
YGONOGO
The result of the cursor 2 becomes the result of the IF statement.
H
Cursor 1
XGONOGO/YGONOGO, Cursor 2
XGONOGO/
YGONOGO
The result of the IF statement PASSES only when both cursors become
PASS. Other combination of results cause the result of the IF statement
to FAIL.
Summary of Contents for 372
Page 4: ......
Page 6: ...About this Manual ii ...
Page 14: ...Contents x ...
Page 22: ...Contents xviii ...
Page 30: ...Consignes de Sécurité Safety Summary xxvi ...
Page 31: ...Getting Started ...
Page 32: ......
Page 36: ...Overview Getting Started 1Ć4 ...
Page 90: ...Tutorial Ć About the Sample Disk Getting Started 1Ć58 ...
Page 91: ...Operating Basics ...
Page 92: ......
Page 108: ...Mounting the Device Under Test Operating Basics 2Ć16 ...
Page 110: ...Before and After Floating Measurement Operating Basics 2Ć18 ...
Page 111: ...Reference ...
Page 112: ......
Page 174: ...Pulse Mode Reference 3Ć62 ...
Page 176: ...Auxiliary Voltage Supply Reference 3Ć64 ...
Page 186: ...Adjusting the Graph Display Reference 3Ć74 ...
Page 190: ...Mathematical Operation Reference 3Ć78 ...
Page 210: ...Zoom Reference 3Ć98 ...
Page 217: ...Text Editing on the Graph 372 User Manual 3Ć105 Figure 3Ć46 ăClear Labels PopĆup Menu ...
Page 218: ...Text Editing on the Graph Reference 3Ć106 ...
Page 228: ...Hardcopy Reference 3Ć116 ...
Page 230: ...Initializing the 372 Reference 3Ć118 ...
Page 234: ...Time Stamp Reference 3Ć122 ...
Page 236: ...Adjusting CRT Brightness Reference 3Ć124 ...
Page 238: ...ID Information Reference 3Ć126 ...
Page 254: ...Floppy Disk System Reference 3Ć142 ...
Page 280: ...Sample Programs Reference 3Ć168 ...
Page 286: ...GPIB Reference 3Ć174 ...
Page 287: ...Appendices ...
Page 288: ......
Page 292: ...Appendix B Specifications Appendices AĆ4 ...
Page 312: ...Appendix B Specifications Appendices AĆ24 ...
Page 358: ...Appendix B Specifications Appendices AĆ70 ...