Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

opens an Aptina Imaging demo camera and then executes a preset from an INI file


Description

Inipreset.exe opens an Aptina Imaging demo camera and then executes a preset from an INI file.

  • Usage: inipreset [options]
  • Usage: inipreset [options] <inifilename> <preset>

Simple example:

  • inipreset MT9D111-REV3.ini "Demo Initialization"

Command line parameters

-ini <.ini filename>
Specify the ini file name (the -ini is optional). The current directory is searched first, then the Aptina Imaging installation directory. This parameter is required.

-preset
Specify the preset to load (the -preset is optional). This parameter is optional. If not specified then the first preset in the file is used.

 

-cam <n>
If more than one camera is connected to the computer, this specifies which device to use. Default is 0.

 

-nosensor
If the preset does not use sensor registers then you can use this parameter to save time (it will skip the sensor ID probe).

 

-sdat <.sdat filename>
Specify a sensor data file (.sdat) file to use. This is optional.
Using this parameter saves time because it will skip the sensor ID probe. The current directory is searched first, then the Aptina Imaging installation directory.

 

-log
Enable logging of I2C transactions and error messages to the log file, normally error_0.txt or similar.