User manual

Remote Control Commands
R&S
®
RTB2000
261User Manual 1333.1611.02 ─ 06
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.
15.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 RTB2000 using a socket connection, Visa or a
terminal program.
15.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/RTB2004.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/RTB2004.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/RTB2004.FWU"\n
15.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?
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-
Programming Examples