79
────────────────────────────────────────────────────
8.2 Sample programs
────────────────────────────────────────────────────
Program comments
Line
Comment
100
Open the RS-232C circuit file.
110
Initialize variables.
120-140
Open a file
150-200
Confirm that the 3157 is in the READY state.
210-280
Make test settings.
290-360
Make five tests.
400
Close the RS-232C circuit file.
420-440
Check that a test has started.
450-520
Confirm that the 3157 is in the TEST state.
530-580
Check that a test has finished.
590-680
Display the test results and outputs them to a file.
Sample display
Drive? A
File? XXX
Press any key to start
1,25.1,0.090,5.0,PASS
Press any key to start
2,25.2,0.098,5.0,PASS
Press any key to start
3,24.6,0.101,0.1,UFAIL
Press any key to start
4,24.7,0.102,0.1,UFAIL
Press any key to start
5,24.7,0.101,0.1,UFAIL
Sample output
1,25.1,0.090,5.0,PASS
2,25.2,0.098,5.0,PASS
3,24.6,0.101,0.1,UFAIL
4,24.7,0.102,0.1,UFAIL
5,24.7,0.101,0.1,UFAIL
Содержание 9593-02
Страница 2: ......
Страница 6: ...ii Introduction...
Страница 16: ...10 2 3 Specifications...
Страница 76: ...70 8 1 Sample program Flowchart...
Страница 86: ...80 8 2 Sample programs...
Страница 88: ...82...
Страница 89: ......
Страница 90: ......
Страница 91: ......
Страница 92: ......