Sending Queries to the Logic Analyzer
This program example contains the steps required to send a query to the
logic analyzer. Sending the query alone only puts the requested information
in an output buffer of the logic analyzer. You must follow the query with an
ENTER
statement to transfer the query response to the controller. When the
query response is sent to the logic analyzer, the query is properly terminated
in the logic analyzer. If you send the query but fail to send an
ENTER
statement, the logic analyzer will display the error message "Query
Interrupted" when it receives the next command from the controller, and the
query response is lost.
10 ! ****************** DATA COMMAND AND QUERY EXAMPLE ********************
20 ! for the HP 16554A/HP 16555A/HP 16555D
30 !
40 ! ********************* CREATE TRANSFER BUFFER *************************
50 !
51 ! NOTE WELL! The data from the 16554A may be up to 19Mbytes long!
52 ! NOTE WELL! The data from the 16555A may be up to 38Mbytes long!
53 ! NOTE WELL! The data from the 16555D may be up to 76Mbytes long!
54 ! You may estimate the size of the buffer needed using the following
55 ! formula.
56 !
57 ! LET Cards = Number of 16554/16555 cards in your module.
58 ! LET Samples = Memory Length (see Acquisition Control in Trigger Menu)
59 ! LET BufferSize = (12 * Samples * Boards) + 1000
60 !
61 ! For example, a 1 board system with a full memory length of 1040384
62 ! requires (12 * 1040384) + 1000 = 12,485,608 bytes.
63 !
64 ! You may have to enlarge the workspace of your Basic environment
65 ! to accomodate this buffer.
66 ASSIGN @Buff TO BUFFER [3700000]
70 !
80 ! **************** INITIALIZE HPIB DEFAULT ADDRESS *********************
90 !
100 REAL Address
110 Address=707
120 ASSIGN @Comm TO Address
130 !
140 CLEAR SCREEN
Programming Examples
Sending Queries to the Logic Analyzer
18–19
Содержание 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 ...