Remote control commands
R&S
®
NRPM
108
User Manual 1425.8663.02 ─ 07
●
An appended delimiter (LF, 0x0a).
Example:
If you want to update the firmware of the R&S
NRPM, you first need an update
file, e.g.
nrpm3_FW_15.02.12.01.rsu
.
Lets assume that this file has a size of 10242884 bytes. To send the file to the
sensor module for updating the firmware to the new one, your application must
assemble a memory block. The memory block consists of the command, the"
Definite Length Block" header, the contents of the
*.rsu
file and a trailing delim-
iter (0x0a = linefeed).
First, have a look at the size of the binary data; it is 10242884 in this case. This
number has eight digits. Now you have all the information to assemble every-
thing:
●
The
SYST:FWUP
command
●
A blank as a separator.
●
The '#' sign.
●
The '8' for the length of the file size.
●
The '10242884' specifying the size of the file.
●
....... (the contents of the
*.rsu
file)..... .
●
0x0a as a delimiter.
In this example, you would write exactly 10242905 bytes to the sensor module
(for example via a 'viWrite()' function).
The result sums up from the values of the above list to:
9 + 1 + 1 + 1 + 8 + 10 1= 10242905
In a (pseudo) string notation, it is:
SYST:FWUP #810242884.........(file content)........ <LF>
Where
<LF>
is a single 0x0a character and
........(file
content)........
is the direct byte-by-byte contents of the
*.rsu
file.
Setting parameters:
<fwudata>
<block_data>
Usage:
Setting only
Manual operation:
Configuring the general functions