than this number of characters the program will not function properly and may crash. Any
leading space on a line is ignored for interpretation purposes but still counts towards the
maximum line buffer length mentioned above. So if you want to make the file more 'human
readable' by adding some custom indents to it, that is OK. Any trailing white space is also
ignored for interpretation but also counts towards the maximum line buffer length.
The file has two sections: Settings read from the camera firmware and custom settings
provided by the PARD Capture software.
The first line in the file must begin with PCamSet followed by the version number of the
settings file (1 in the above example) followed by the number of settings retrieved from the
camera itself (20 in the above example) followed by the number of widgets used in the
settings window (139 in the above example). No blank lines or comment lines can
precede this − it must be the very first line in the file. This marks the beginning of a
settings file and it also marks the beginning of the section in the settings file that lists the
settings from the camera firmware with each of those settings arranged in a block of lines.
You could re-arrange the order of these settings blocks but you
must
keep each data
block together. For example you could mix up the order of the camera firmware settings
blocks or you could even mix in some of the customs settings up at the beginning of the
file. The file reader in the PARD Capture software does not care about that.
The camera firmware settings come in blocks. Each block begins with 'idx:' followed by an
integer and the line after that is the name of the control (preceded by 'name:'.
If you make any edits you
must
ensure that 'idx:' always comes immediately before its
corresponding 'name:' line. Any number of blank or comment lines can come in between
them but nothing else (the same is true for the other mandatory conditions described
below).
If you make any edits you
must
ensure that the 'ctrl:' line comes before the 'curr:' line and
the 'mdx:' line is the last line in a block except for any menu item names that come after it
(you
must
ensure any menu item names that follow the 'mdx:' line are preserved). You
must
ensure all the other members of a block are kept together but the order in which
they appear does not matter provided the rules are adhered to. For example 'curr:' could
be moved to come before 'max:' if you like.
The custom settings come after the line that begins 'PCustSet' (the version number of the
customs settings format appears after this). The version number must be correct and
compatible with the version of the PARD Capture program for this file to be readable. The
foregoing describes the position of the PCustSet line in a file that has been generated by
PARD Capture. The actual position of the PCustSet line in this file is irrelevant to the
PARD Capture program provided it is found before the end of the settings and provided it
does not come before the PCamSet line.
OptArc AF51 Camera Page 86 of 99 User Guide v1.02