
SCPI Command Set
command. The data within a single block capture trace is continuous
from one packet to the other, but not necessary between successive block capture
commands issued.
Syntax
:TRACe:BLOCk:DATA?
Parameter
None
Response
Control port 37001: empty string
Data port 37000: <NRr>
Output Data Type
Hexadecimal bytes
*RST State
N/A
Examples
:TRACE:BLOCK:DATA?
Note:
The status of the query will be return through the control port 37001 as usual,
however the data will be returned through the data port 37000. Once the
:TRACe:BLOCk:DATA? command is issued, a block of SPP * PACKets of data will be
returned. In other words, :TRACe:BLOCk:DATA? needs to be sent only once to get SPP
* PACKets block of data.
The returned data in each VRT packet is presented in continuous hexadecimal chunk, as
shown here:
Response <NRr> ::= <VRT header bytes>{<data payload bytes>}
[<4 bytes VRT trailer>]
Further description on the VRT data output formats can be found in the VRT's
:TRACe:BLOCk:PACKets
This command sets or queries the total number of packets set in the WSA. The
maximum is limited by the storage capacity of a WSA5000 and the samples per packet
(SPP) size set through
. Therefore, when :TRACe:BLOCk:PACKets?
MAX query command is sent, the returned value will vary depending on the SPP value of
a WSA and the data output format. For example, the WSA5000 has 128 MBytes storage
capacity, if SPP is 32768 with I
14
Q
14
output format, then the maximum packet size is 1023
(or 128 MB / (4 bytes-per-sample * (32768 + 6))). If I
14
is the output format, then the
maximum is 2047 (or 128 MB * / (2 bytes-per-sample * (32768 + 6))).
In single block capture mode, this command is used in conjunction with the
command to set the total number of samples to capture. In other
words, the data from one packet to the next within a single block capture mode is
continuous.
Syntax
:TRACe:BLOCk:PACKets <integer>
:TRACe:BLOCk:PACKets? [MAX | MIN]
Parameter
<input packet value>
[MAX | MIN]
for query1 – (WSA's max storage storage capacity
÷ (# bytes-per-sample * (SPP value + 6 Header and trailer words)))
Input Data Type
Integer | Character
Allowable Values
1 – (WSA's max storage storage capacity ÷ (# bytes-per-sample *
72
ThinkRF WSA5000 Wireless Signal Analyzer Programmer's Guide