![Fluke 54200 Скачать руководство пользователя страница 251](http://html1.mh-extra.com/html/fluke/54200/54200_user-manual_2310705251.webp)
Remote Control
Programming Examples
6
6-43
Programming Examples
The following examples are related to an IBM-compatible PC. The first one uses the
built-in IEEE-488 Interface, the second one uses the standard serial port of the controller
and the RS-232 Interface. You should have basic knowledge of the MS-DOS operating
system of your controller and the programming language QuickBasic (version 4.0 and
above) to understand the examples that follow.
Example for the IEEE-488 Interface
DECLARE SUB SendCmd (WR$)
DECLARE SUB SendStr (WR$)
DECLARE SUB ErrChk (Cs!, Sts%)
REM $INCLUDE: 'qbdecl4.bas'
CLS
PRINT " "
PRINT " "
PRINT " ***** DEMO PROGRAM FOR FLUKE 54200/100 *****"
PRINT
PRINT " PRESS 'RETURN' TO CONTINUE "
PRINT
PRINT " To leave running program type 'END' or 'end' "
BEEP
PRINT
DO 'waiting for 'RETURN'
B$ = ""
DO UNTIL B$ <> ""
B$ = INKEY$
LOOP
LOOP UNTIL B$ = CHR$(13)
CLS 'clears screen
Stp = 0
BDNAME$ = "GEN1" 'name of the device on the conf.table
CALL IBFIND(BDNAME$, GEN%) 'open device
CALL ErrChk(1, GEN%) 'check error
IF Stp = 0 THEN
CALL IBCLR(GEN%) 'send interface clear
CALL ErrChk(2, IBSTA%) 'check error
END IF
IF Stp = 0 THEN
A$ = "*ese 255" 'initialize ESR register
CALL SendCmd(A$) 'send command
A$ = "*cls" 'clear status register
CALL SendCmd(A$) 'send command
A$ = "*IDN?" 'ask for identity
CALL SendStr(A$) 'send command string
WHILE Stp = 0
LINE INPUT "COMMAND : ", A$ 'reading keyboard input
IF A$ = "END" OR A$ = "end" THEN
CALL IBLOC(GEN%) 'set instrument to 'LOCAL'
CLS 'clear screen
Stp = 1
ELSE
CALL SendStr(A$) 'send command string
END IF
PRINT
PRINT
WEND
END IF
END
Содержание 54200
Страница 2: ......
Страница 6: ......
Страница 14: ......
Страница 19: ...Installation and Safety Instructions GB Shipment Note 1 1 3 Figure 1 1 Front Panel Figure 1 2 Rear Panel...
Страница 20: ...54200 Users Manual 1 4...
Страница 28: ...54200 Users Manual 1 12...
Страница 32: ...54200 Users Manual 1 16...
Страница 44: ...54200 Users Manual 1 28...
Страница 45: ...2 1 Chapter 2 Main Features Title Page Introduction 2 3 Main Features 2 3...
Страница 46: ......
Страница 50: ......
Страница 142: ...54200 Users Manual 4 76...
Страница 153: ...Function Reference TELETEXT 5 5 11 Figure 5 5 Position and Level of Antiope Data Lines...
Страница 266: ...54200 Users Manual 6 58...
Страница 292: ...54200 Users Manual 8 2...
Страница 322: ...54200 Users Manual 8 32...
Страница 324: ......
Страница 325: ...A 1 Appendix A TV Systems Used in Various Countries...
Страница 326: ...54200 Users Manual A 2...
Страница 334: ......
Страница 335: ...B 1 Appendix B VHF UHF Channel Frequencies for Different TV Systems...
Страница 336: ...54200 Users Manual B 2...
Страница 345: ...C 1 Appendix C Default Settings for Countries...
Страница 346: ...54200 Users Manual C 2...
Страница 348: ......
Страница 349: ...D 1 Appendix D Spectras of TV Audio Systems...
Страница 350: ...54200 Users Manual D 2...
Страница 351: ...Spectras of TV Audio Systems Examples D D 3 Examples...
Страница 352: ......
Страница 353: ...E 1 Appendix E Nomenclature of Color Bar Signals...
Страница 354: ...54200 Users Manual E 2...
Страница 356: ......
Страница 357: ...F 1 Appendix F Menu Trees...
Страница 358: ......
Страница 359: ...Menu Trees F F 3...
Страница 360: ...54200 Users Manual F 4...
Страница 361: ...Menu Trees F F 5...
Страница 362: ...54200 Users Manual F 6...
Страница 363: ...Menu Trees F F 7...
Страница 364: ...54200 Users Manual F 8...
Страница 365: ...G 1 Appendix G Pattern Popup Menus...
Страница 366: ...G 2...
Страница 372: ...54200 Users Manual G 8...
Страница 378: ...54200 Users Manual 6...
Страница 380: ...54200 54100 Users Manual Manual Supplement 1...