150 !
160 ! ************* INTITIALIZE VARIABLE FOR NUMBER OF BYTES *****************
170 ! The variable "Numbytes" contains the number of bytes in the buffer.
180 !
190 REAL Numbytes
200 Numbytes=0
210 !
220 ! ************** RE-INITIALIZE TRANSFER BUFFER POINTERS ******************
230 !
240 CONTROL @Buff,3;1
250 CONTROL @Buff,4;0
260 !
270 ! *********************** SEND THE DATA QUERY **************************
280 OUTPUT 707;":SYSTEM:HEADER ON"
290 OUTPUT 707;":SYSTEM:LONGFORM ON"
300 OUTPUT @Comm;"SELECT 2"
310 OUTPUT @Comm;":SYSTEM:DATA?"
320 !
330 ! ******************** ENTER THE BLOCK DATA HEADER *********************
340 ! Enter the block data header in the proper format.
350 !
360 ENTER @Comm USING "#,B";Byte
370 PRINT CHR$(Byte);
380 WHILE Byte<>35
390 ENTER @Comm USING "#,B";Byte
400 PRINT CHR$(Byte);
410 END WHILE
420 ENTER @Comm USING "#,B";Byte
430 PRINT CHR$(Byte);
440 Byte=Byte-48
450 IF Byte=1 THEN ENTER @Comm USING "#,D";Numbytes
460 IF Byte=2 THEN ENTER @Comm USING "#,DD";Numbytes
470 IF Byte=3 THEN ENTER @Comm USING "#,DDD";Numbytes
480 IF Byte=4 THEN ENTER @Comm USING "#,DDDD";Numbytes
490 IF Byte=5 THEN ENTER @Comm USING "#,DDDDD";Numbytes
500 IF Byte=6 THEN ENTER @Comm USING "#,DDDDDD";Numbytes
510 IF Byte=7 THEN ENTER @Comm USING "#,DDDDDDD";Numbytes
520 IF Byte=8 THEN ENTER @Comm USING "#,DDDDDDDD";Numbytes
530 Str1$=DVAL$(Numbytes,10)
531 ! DVAL$ returns an 11 character string
532 PRINT Str1$[12-Byte]
540 !
Programming Examples
Sending Queries to the Logic Analyzer
18–20
Содержание 16554A
Страница 2: ...ii ...
Страница 5: ...SPA Subsystem 16 DATA and SETup Commands 17 Programming Examples 18 Index SYMBol Subsystem 15 v ...
Страница 6: ...vi ...
Страница 16: ...Contents 10 ...
Страница 17: ...Part 1 1 Introduction to Programming 2 Module Level Commands General Information ...
Страница 18: ......
Страница 19: ...1 Programming the HP 16554A HP 16555A HP 16555D ...
Страница 35: ...2 Module Level Commands ...
Страница 37: ...Module Level Syntax Diagram Figure 2 1 Module Level Commands 2 3 ...
Страница 42: ...2 8 ...
Страница 44: ......
Страница 45: ...3 MACHine Subsystem ...
Страница 47: ...Machine Subsystem Syntax Diagram Figure 3 1 MACHine Subsystem 3 3 ...
Страница 56: ...3 12 ...
Страница 57: ...4 WLISt Subsystem ...
Страница 59: ...WLISt Subsystem Syntax Diagram Figure 4 1 WLISt Subsystem 4 3 ...
Страница 71: ...5 SFORmat Subsystem ...
Страница 73: ...Figure 5 1 SFORmat Subsystem Syntax Diagram SFORmat Subsystem 5 3 ...
Страница 74: ...Figure 5 1 continued SFORmat Subsystem Syntax Diagram continued SFORmat Subsystem 5 4 ...
Страница 89: ...6 STRigger STRace Subsystem ...
Страница 91: ...Figure 6 1 STRigger Subsystem Syntax Diagram STRigger STRace Subsystem 6 3 ...
Страница 92: ...Figure 6 1 continued STRigger Subsystem Syntax Diagram continued STRigger STRace Subsystem 6 4 ...
Страница 111: ...7 SLISt Subsystem ...
Страница 113: ...Figure 7 1 SLISt Subsystem Syntax Diagram SLISt Subsystem 7 3 ...
Страница 114: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 4 ...
Страница 115: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 5 ...
Страница 134: ...7 24 ...
Страница 135: ...8 SWAVeform Subsystem ...
Страница 137: ...Figure 8 1 SWAVeform Subsystem Syntax Diagram SWAVeform Subsystem 8 3 ...
Страница 146: ...8 12 ...
Страница 147: ...9 SCHart Subsystem ...
Страница 154: ...9 8 ...
Страница 155: ...10 COMPare Subsystem ...
Страница 157: ...COMPare Subsystem Syntax Diagram Figure 10 1 COMPare Subsystem 10 3 ...
Страница 167: ...11 TFORmat Subsystem ...
Страница 169: ...TFORmat Subsystem Syntax Diagram Figure 11 1 TFORmat Subsystem 11 3 ...
Страница 175: ...12 TTRigger TTRace Subsystem ...
Страница 177: ...Figure 12 1 TTRigger Subsystem Syntax Diagram TTRigger TTRace Subsystem 12 3 ...
Страница 178: ...Figure 12 1 continued TTRigger Subsystem Syntax Diagram continued TTRigger TTRace Subsystem 12 4 ...
Страница 198: ...12 24 ...
Страница 199: ...13 TWAVeform Subsystem ...
Страница 201: ...Figure 13 1 TWAVeform Subsystem Syntax Diagram TWAVeform Subsystem 13 3 ...
Страница 202: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 4 ...
Страница 203: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 5 ...
Страница 228: ...13 30 ...
Страница 229: ...14 TLISt Subsystem ...
Страница 231: ...Figure 14 1 TLISt Subsystem Syntax Diagram TLISt Subsystem 14 3 ...
Страница 232: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 4 ...
Страница 233: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 5 ...
Страница 252: ...14 24 ...
Страница 253: ...15 SYMBol Subsystem ...
Страница 255: ...SYMBol Subsystem Syntax Diagram Figure 15 1 SYMBol Subsystem 15 3 ...
Страница 261: ...16 SPA Subsystem ...
Страница 263: ...Figure 16 1 SPA Subsystem Syntax Diagram SPA Subsystem 16 3 ...
Страница 264: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 4 ...
Страница 265: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 5 ...
Страница 286: ...16 26 ...
Страница 287: ...17 DATA and SETup Commands ...
Страница 301: ...Part 3 18 Programming Examples Programming Examples ...
Страница 302: ......
Страница 303: ...18 Programming Examples ...
Страница 330: ...Index 6 ...