Versions Compared

Key

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

...

Note: ApBaseCOM does not use Matlab itself, but if you are using DevWare plug-ins that use Matlab, you must install the MatLab Runtime library via this link.
http://www.onsemi.com/pub/Collateral/MCRINSTALLER.ZIP

ApBaseCom.DLL Registration

Although the software installer registers both 32-bit and 64-bit apbaseCom.dll, it is possible that the registration process fails without warning.

If you experience errors regarding server creation, please perform the following;

  1. Open a CMD window.
  2. Navigate to the 32-bit SW installation folder, usually "C:\Aptina Imaging" 
  3. Enter; %SystemRoot%\Syswow64\regsvr32 apbasecom.dll
  4. You should see a pop-up dialog that displays that the registration was successful.
  5. Navigate to the 64-bit SW installation folder, usually "C:\Aptina Imaging\bin" 
  6. Enter; %SystemRoot%\system32\regsvr32 apbasecom.dll
  7. You should see a pop-up dialog that displays that the registration was successful.

Quick Start

To use ApBase COM, create an object of type apbaseCom.ApBase. The details will depend on the tool or language you are using. The following example is in Matlab.
Here is a minimal procedure to open a demo kit camera, initialize the ON Semiconductor device, grab an image and convert it to RGB.

...

Get the value of an integer-valued color pipe state variable. See the State STATE Variables for a list of color pipe variables.

...

Set the value of an integer-valued color pipe state variable.  See the State STATE Variables for a list of color pipe variables.

...

Get the value of a string-valued color pipe state variable.  See the State STATE Variables for a list of color pipe variables.

...

Set the value of a string-valued color pipe state variable.  See the State STATE Variables for a list of color pipe variables.

...