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
Summary of Contents for 16554A
Page 2: ...ii ...
Page 6: ...vi ...
Page 16: ...Contents 10 ...
Page 17: ...Part 1 1 Introduction to Programming 2 Module Level Commands General Information ...
Page 18: ......
Page 19: ...1 Programming the HP 16554A HP 16555A HP 16555D ...
Page 35: ...2 Module Level Commands ...
Page 37: ...Module Level Syntax Diagram Figure 2 1 Module Level Commands 2 3 ...
Page 42: ...2 8 ...
Page 44: ......
Page 45: ...3 MACHine Subsystem ...
Page 47: ...Machine Subsystem Syntax Diagram Figure 3 1 MACHine Subsystem 3 3 ...
Page 56: ...3 12 ...
Page 57: ...4 WLISt Subsystem ...
Page 59: ...WLISt Subsystem Syntax Diagram Figure 4 1 WLISt Subsystem 4 3 ...
Page 71: ...5 SFORmat Subsystem ...
Page 73: ...Figure 5 1 SFORmat Subsystem Syntax Diagram SFORmat Subsystem 5 3 ...
Page 74: ...Figure 5 1 continued SFORmat Subsystem Syntax Diagram continued SFORmat Subsystem 5 4 ...
Page 89: ...6 STRigger STRace Subsystem ...
Page 91: ...Figure 6 1 STRigger Subsystem Syntax Diagram STRigger STRace Subsystem 6 3 ...
Page 111: ...7 SLISt Subsystem ...
Page 113: ...Figure 7 1 SLISt Subsystem Syntax Diagram SLISt Subsystem 7 3 ...
Page 114: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 4 ...
Page 115: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 5 ...
Page 134: ...7 24 ...
Page 135: ...8 SWAVeform Subsystem ...
Page 137: ...Figure 8 1 SWAVeform Subsystem Syntax Diagram SWAVeform Subsystem 8 3 ...
Page 146: ...8 12 ...
Page 147: ...9 SCHart Subsystem ...
Page 154: ...9 8 ...
Page 155: ...10 COMPare Subsystem ...
Page 157: ...COMPare Subsystem Syntax Diagram Figure 10 1 COMPare Subsystem 10 3 ...
Page 167: ...11 TFORmat Subsystem ...
Page 169: ...TFORmat Subsystem Syntax Diagram Figure 11 1 TFORmat Subsystem 11 3 ...
Page 175: ...12 TTRigger TTRace Subsystem ...
Page 177: ...Figure 12 1 TTRigger Subsystem Syntax Diagram TTRigger TTRace Subsystem 12 3 ...
Page 198: ...12 24 ...
Page 199: ...13 TWAVeform Subsystem ...
Page 201: ...Figure 13 1 TWAVeform Subsystem Syntax Diagram TWAVeform Subsystem 13 3 ...
Page 202: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 4 ...
Page 203: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 5 ...
Page 228: ...13 30 ...
Page 229: ...14 TLISt Subsystem ...
Page 231: ...Figure 14 1 TLISt Subsystem Syntax Diagram TLISt Subsystem 14 3 ...
Page 232: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 4 ...
Page 233: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 5 ...
Page 252: ...14 24 ...
Page 253: ...15 SYMBol Subsystem ...
Page 255: ...SYMBol Subsystem Syntax Diagram Figure 15 1 SYMBol Subsystem 15 3 ...
Page 261: ...16 SPA Subsystem ...
Page 263: ...Figure 16 1 SPA Subsystem Syntax Diagram SPA Subsystem 16 3 ...
Page 264: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 4 ...
Page 265: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 5 ...
Page 286: ...16 26 ...
Page 287: ...17 DATA and SETup Commands ...
Page 301: ...Part 3 18 Programming Examples Programming Examples ...
Page 302: ......
Page 303: ...18 Programming Examples ...
Page 330: ...Index 6 ...