10 Advanced Parameters and Commands
30 / 41
10.8
Save Parameters in Flash (
X
)
By means of the command
X=1
all parameter values are stored into a system file within the flash
memory. After a re-start they are automatically restored. However, neither new recorded correction
images, nor modified set values (
J
and
K
for all valid
S
) are stored and will therefore be lost after the
switching-off.
10.9
Reset Parameters to Standard Values (
Z
)
The command
Z=1
sets the module into a factory default state. It has to be paid attention to the fact
that these standard values may differ from the actual camera adjustments set at camera delivery. Hence
after executing this command the camera may not operate as expected!
10.10
Upload a File to Flash (
Q
)
The data in the Flash memory are managed in a minimalist file system. Files are identified via one
byte. Valid file numbers are between 1 (0x01) and 254 (0xFE). A further byte can be used to define
the file type. There is no directory structure. This results in a maximum possible number of 254
simultaneously stored files.
A lot of file numbers are already reserved by factory. For the correction data of the IRC-320 the file
numbers 1, 32-96, 112-113, 128 are used. File numbers greater than or equal to 240 are reserved for
the system itself and will be not visible to the user.
For user data we recommend the file numbers between 16 (0x10) and 31 (0x1F).
The file system is administrated by serial commands (RS232 or Pleora Gigabit Ethernet). There are
different commands to control the file system:
l=1
List actually stored file numbers.
d=<p8>
Delete the file with the specified file number.
v=<p8>
View file. Dumps all bytes of the specified file to the serial interface.
Q=<p8>
Upload a file and store it in the Flash memory.
Warning: The commands
d=<p8>
and
Q=<p8>
do not need additional confirmation! Files below ID
0xF0 are not write-protected and thus are modified or deleted without warning!
Take a look to the Command Reference, page 32 for more details.
Please note that the upload via the Pleora Device Port Serial 0 can take a lot of time (only some
thousand bytes/minute). For bigger files we recommend the RS232 port or the Pleora Port Bulk 0. For
details of configure the port refer to Chapter 10.7 p.29.
The command
Q=<p8>
is used to transmit files to the module. <p8> is an 8 bits wide parameter value
in ASCII hexadecimal notation. It specifies the number for the file to be created or overwritten. After
confirmation of the command by sending a carriage return character
[CR]
additional parameters will
be expected; e.g. the type of the file, its size and also the data itself.
Below you will see an example of a character sequence. It creates a file under the number 16 (0x10)
with file type 66 (0x42) containing the text “Testtext” as data:
>Q=10[CR]
N00000007S4200[PAUSE]D5465737474657874
>
As from confirmation of the command
Q
with
[CR]
the following characters are not echoed back as
usual. That means that the control character sequence
N00
… has to be send “blind”.
VDS Vosskühler GmbH
IRC-320