Download Print this page

Axis PEN-01 User Manual page 4

To pendrive

Advertisement

4. Adapter configuration
After connecting pendrive to adapter, adapter tries to open „config.txt" file and readouts
configuration parameters. If there isn't configuration file in the pendrive main catalog, it will
be created and it will have default parameters. To change the parameters, user should edit
„config.txt" file using computer and text editor. User can also use program AXIS PEN.
Each
line
of
a
„PARAMETER_NAME = VALUE". If particular line of a configuration file contains such a
sequence of characters: "//" it means that everything fallowing this sequence is a comment
and won't be interpreted by PEN-01 as a parameter name or value. Values of parameters
can by placed directly after "=" character or can by placed in the quotation marks (if
parameter contains white spaces, value of this parameter has to be put in quotation marks).
If the configuration file haven't particular parameter or the value of this parameter is
incorrect, then the value of the parameter will be set to default.
It is possible to use control codes in configuration file by using special escape character
('\' character). This character causes fallowing it characters to be interpreted in a different
way than usual. Possible escape sequences are:
\b
\f
\n
\r
\t
\x<2-hex-digits>
\X<2-hex-digits>
\\
\"
\<anything-else>
Maximum size of configuration file is 1KB.
configuration
file
should
- Backspace;
(same as \x08)
- FormFeed;
(same as \x0c)
- Newline;
(same as \x0a)
- Carriage-Return; (same as \x0d)
- Horizontal Tab;
(same as \x09)
- code of character (e.g. \x4e means 'N' character)
- same as above
- means '\' character
- means '"' character
- treated as if there where no '\' character
be
written
in
a
fallowing
way:

Advertisement

loading