Use the tables below to determine the relationships between the functions in the previous PixeLINK Camera API (Release 3) and the current PixeLINK Camera API (Release 4).
Identification |
PimMegaGetImagerType |
USE: PxLGetCameraInfo |
PimMegaGetHardwareVersion |
USE: PxLGetCameraInfo |
Naming | |
PimMegaGetImagerName | PimMegaSetImagerName |
USE: PxLGetCameraInfo | USE: PxLSetCameraName |
Stream Specifications | |
PimMegaGetCurrentFrameRate | |
USE: PxLGetFeature Usage: Select FEATURE_FRAME_RATE. See Features. | |
PimMegaGetDataTransferSize | PimMegaSetDataTransferType |
USE: PxLGetFeature. Usage: Select FEATURE_PIXEL_FORMAT See Features. | USE: PxLSetFeature Usage: Select FEATURE_PIXEL_FORMAT and one of PIXEL_FORMAT_MONO8, PIXEL_FORMAT_MONO16 PIXEL_FORMAT_BAYER8 PIXEL_FORMAT_BAYER16 |
PimMegaGetImagerClocking | PimMegaSetImagerClocking |
Not Applicable | Not Applicable |
PimMegaGetTimeout | PimMegaSetTimeout |
Not Applicable | Not Applicable |
SubWindow Coordinates and Decimation | |
PimMegaGetSubWindow | PimMegaSetSubWindow |
USE: PxLGetFeature Usage: Select FEATURE_ROI and FEATURE_PIXEL_ADDRESSING. See Features. | USE: PxLSetFeature Usage: Select FEATURE_ROI. |
PimMegaGetSubWindowPos | PimGetSubWindowPos |
USE: PxLGetFeature Usage: Select FEATURE_ROI. See Features. | USE: PxLSetFeature Usage: Select FEATURE_ROI. |
PimMegaGetSubWindowSize | PimMegaSetSubWindowSize |
USE: PxLGetFeature Usage: Select FEATURE_ROI and FEATURE_PIXEL_ADDRESSING. See Features. | USE: PxLSetFeature Usage: Select FEATURE_ROI and FEATURE_PIXEL_ADDRESSING |
Video Mode | |
PimMegaGetVideoMode | PimMegaSetVideoMode |
Not Applicable | Not Applicable |
Video Stream Controls |
PimMegaStartVideoStream |
USE: PxLSetStreamState Usage: Select START_PREVIEW_STATE. See Preview State. |
PimMegaPauseVideoStream |
USE: PxLSetStreamState Usage: Select START_PREVIEW_STATE See Preview State |
PimMegaStopVideoStream |
USE: PxLSetStreamState Usage: Select STOP_PREVIEW_STATE See Preview State. |
Overlay Callback |
PimMegaSetOverlayCallBack |
USE: PxLSetCallback |
Image Control | |
PimMegaGetGamma | PimMegaSetGamma |
USE: PxLGetFeature Usage: Select FEATURE_GAMMA. See Features. | USE: PxLSetFeature Usage: Select FEATURE_GAMMA |
PimMegaGetImageFlip | PimMegaImageFlip |
USE: PxLGetFeature Usage: Select FEATURE_FLIP. See Features. | USE: PxLSetFeature Usage: Select FEATURE_FLIP |
PimMegaAutoExposure | |
USE: PxLSetFeature Usage: Select FEATURE_SHUTTER and FEATURE_FLAG_ONEPUSH. See Feature_Flags. | |
PimMegaGetExposureGain | PimMegaSetExposureGain |
USE: PxLGetFeature Usage: Select FEATURE_GAIN. See Features. | USE: PxLSetFeature Usage: Select FEATURE_GAIN. |
PimMegaGetExposureTime | PimMegaSetExposureTime |
USE: PxLGetFeature Usage: Select FEATURE_GAIN. See Features. | USE: PxLSetFeature Usage: Select FEATURE_GAIN. |
PimMegaGetMaxExposureTime | |
USE: PxLGetCameraFeature Usage: Select FEATURE_SHUTTER. | |
PimMegaRequestContinuousAutoExposure | |
USE: PxLGetFeature Usage: Select FEATURE_SHUTTER and FEATURE_FLAG_AUTO (See: Feature_Flags) | |
PimMegaWhiteBalance | |
USE: PxLSetFeatures Usage: Select FEATURE_WHITE_BAL and FEATURE_FLAG_AUTO (See Feature_Flags). | |
PimMegaGetBlueGain | PimMegaSetBlueGain |
USE: PxLGetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL. See Features. | USE: PxLSetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL |
PimMegaGetGreenGain | PimMegaSetBlueGain |
USE: PxLGetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL. See Features. | USE: PxLSetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL. |
PimMegaGetRedGain | PimMegaSetRedGain |
USE: PxLGetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL. See Features. | USE: PxLSetFeature Usage: Select FEATURE_HUE, FEATURE_WHITE_BAL. |
PimMegaGetSaturation | PimMegaSetSaturation |
USE: PxLGetFeature Usage: Select FEATURE_SATURATION. See Features. | USE: PxLSetFeature Usage: Select FEATURE_SATURATION |
PimMegaGetLightSource | PimMegaSetLightSource |
USE: PxLGetFeature Usage: Select FEATURE_WHITE_BAL. See Features. | USE: PxLSetFeature Usage: Select FEATURE_WHITE_BAL |
Image Capture |
PimMegaCaptureFrameToBitmap |
USE: PxLGetNextFrame, PxLFormatImage Usage: For PxLFormatImage, select IMAGE_FORMAT_BMP. See Image_File_Format. |
PimMegaSaveFrameAsBitmap |
USE: PxLFormatImage Usage: Select IMAGE_FORMAT_BMP. See IMAGE_FILE_FORMAT. |
PimMegaSaveFrameAsJPEG |
USE: PxLFormatImage Usage: Select IMAGE_FORMAT_JPEG. See Image_File_Format |
PimMegaSaveFrameAsTiff |
USE: PxLFormatImage Usage: Select IMAGE_FORMAT_TIFF. See Image_File_Format. |
Video Data Buffers |
PimMegaFlushVideoData |
Not Applicable |
Raw to RGB Conversion |
PimMegaConvertColor16BppTo24Bpp |
USE: PxLFormatImage |
PimMegaConvertColor16BppTo48Bpp |
USE: PxLFormatImage |
PimMegaConvertMono8BppTo24Bpp |
USE: PxLFormatImage |
PimMegaConvertMono16BppTo24Bpp |
USE: PxLFormatImage> |
PimMegaConvertMono8BppTo24Bpp |
USE: PxLFormatImage |
Enhanced Control Commands | |
PimMegaReadExtI2CRegister | PimMegaWriteExtI2CRegister |
Not Applicable | Not Applicable |
PimMegaReadCommand | PimMegaWriteCommand |
Not Applicable | Not Applicable |
PimMegaGetGpo | PimMegaSetGpo |
USE: PxLGetFeature Usage: Select FEATURE_GPIO. See Features. | USE: PxLSetFeature Usage: Select FEATURE_GPIO |
PimMegaReadGpio | PimMegaWriteGpio |
Not Applicable | Not Applicable |
External Trigger Commands |
USE: PxLSetFeature, PxLGetNextFrame Usage: For PxLSetFeature, Select FEATURE_TRIGGER (see TRIGGER_TYPE). Select the appropriate feature flag when putting the camera into trigger mode. (see FEATURE_FLAGS). |
PimMegaStopTriggerMode |
Not Applicable |
Uninitialization |
PimMegaUnintialize |
USE: PxLUninitialize |