Remote control commands
R&S
®
NRPM
127
Mannual 1425.8663.02 ─ 08
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:
SYSTem:FWUPdate:STATus?
While a firmware update is in progress, the LED of the sensors flashes in bright
white color. When the firmware update is completed, you can read the result of
the update with the
SYST:FWUP:STAT?
command.
Configuring the general functions