![R&S RTA4000 User Manual Download Page 428](http://html2.mh-extra.com/html/rands/rta4000/rta4000_user-manual_3161987428.webp)
Remote control commands
R&S
®
RTA4000
428
User Manual 1335.7898.02 ─ 08
8-bit and 16-bit data
At the end of the above example, the 8-bit waveform is read as 16-bit data, for exam-
ple,
0xFF
is read
0xFF00
, or
0x1A
is read
0x1A00
. The
yOrigin
value is the same in
both cases, but the
yIncrement
differs.
8-bit data
16-bit data
Result
yIncrement * byteValue
n
2e
-4
* 128
7,8125E
-7
* 32768
0,0256 V
2e
-4
* 125
7,8125E
-7
* 32000
0,025 V
In the reverse case, if a 16-bit waveform is read with 8-bit data format, data precision
may be reduced. Data values ar truncated, and only the more significiant bits remain.
For example, the 16-bit data
0xabcd
is read
0xab
in 8-bit format, and
cd
is lost.
17.2.2
Firmware update
There are two ways to update the firmware on the instrument remotely. The web
browser does not yet include firmware update functionality.
To prepare the remote update, configure the instrument's interface to Ethernet, USB
TMC or USB VCP. Connect to the R&S
RTA4000 using a socket connection, Visa or a
terminal program.
17.2.2.1
Using MMEM:DATA + DIAGnostic:UPDate:LOAD
1. Send the firmware update file data to the internal storage of the instrument, for
example:
:MMEM:DATA "/INT/RTA4004.FWU",blockdata\n
In SCPI, block data is composed of a header #nm containing 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 has to be sent in a sin-
gle transfer.
2. Start the firmware update:
:DIAG:UPD:LOAD "/INT/RTA4004.FWU"\n
The instrument loads, checks and executes the firmware update, and restarts.
3. After restart, delete the firmware update file in the internal storage:
:MMEM:DEL "/INT/RTA4004.FWU"\n
17.2.2.2
Using DIAGnostic:UPDdate:TRANsfer
1. Open a data transfer for the firmware update file, and check for errors:
:DIAG:UPD:TRAN:OPEN FIRM\n
:SYST:ERR:ALL?
Programming examples