![R&S RTA4000 Скачать руководство пользователя страница 429](http://html2.mh-extra.com/html/rands/rta4000/rta4000_user-manual_3161987429.webp)
Remote control commands
R&S
®
RTA4000
429
User Manual 1335.7898.02 ─ 08
2. Send the firmware update file data to the internal RAM of the instrument:
:DIAG:UPD:TRAN:DATA offset,checksum,blockdata\n
The offset parameter specifies the byte offset of the blockdata in the file. The
checksum parameter is a CRC-16-CCITT type checksum calculated for the raw
binary data in blockdata. In SCPI, block data is composed of a header #nm con-
taining the length of the data followed by the data in raw binary format. Here, m is
the length of the data in byte, and n is the number of digits in m.
The firmware update file can be split into multiple blocks, where each block has to
be transferred with the above command. You can also transfer the file in a single
block.
Example to send all data at once, without CRC:
DUT#sendRAW DIAG:UPD:TRAN:DATA 0,0,#822393104
DUT#sendFileContent "W:\RTA4004.FWU"
DUT#sendByte 10 //end of command '\n'
3. Close the transfer:
:DIAG:UPD:TRAN:CLOSE\n
4. Start the firmware update:
:DIAG:UPD:INST ""\n
The instrument checks and executes the firmware update.
17.2.3
Search
17.2.3.1
Searching for a pulse of specified width
Search for positive pulses with pulse width 12
±
10
µ
s (2
µ
s to 22
µ
s).
Prerequisite: A pulse signal is connected to channel 2.
SEAR:STAT ON // Turn on search
SEAR:COND WIDTH // Select search condition
SEAR:SOUR CH2 // Configure search source
SEAR:TRIG:WIDT:POL POS // Configure search parameters: Polarity
SEAR:TRIG:WIDT:RANG WITH // Configure search parameters: Condition = within
SEAR:TRIG:WIDT:WIDT 12e-6 // Configure search parameters: Pulse width
SEAR:TRIG:WIDT:DELT 10e-6 // Configure search parameters: +/- delta
SEAR:RESD:SHOW ON // Show result table
SEAR:RCO? // Get number of search events found
<-- 1.400E+01
SEAR:RES:ALL? // Get all search results
<-- 1,5.201200e-06,0,WIDTH,POSITIVE,1.220160e-05,2,4.120040e-05,0,WIDTH,
POSITIVE,3.076800e-06,3,4.732480e-05,0,WIDTH,POSITIVE,9.127200e-06,4,
6.499960e-05,0,WIDTH,POSITIVE,1.835160e-05,5,8.634920e-05,0,WIDTH,POSITIVE,
3.052000e-06,6,1.293984e-04,0,WIDTH,POSITIVE,9.176800e-06,7,1.477228e-04,0,
WIDTH,POSITIVE,3.052000e-06,8,1.623224e-04,0,WIDTH,POSITIVE,3.102000e-06,9,
Programming examples