Home
Sparrow - ICP DAS
Contents
1. IMS_ScanCamera IMS Get Feature e Camera video mode setting IMS_InitCamera L IMS_ScanCamera IMS_Set_VideoMode 48 e Check camera video resolution IMS_ScanCamera IMS_InitCamera l Ea IMS_Get VideoResolution e Check camera color format IMS_ScanCamera IMS_InitCamera IMS Get ColorFormat e Camera Acquisition IMS_ScanCamera IMS_InitCamera IMS_Register_Callback e Camera AOI setting and acquisition IMS_ScanCamera IMS_InitCamera IMS_Set AOI Parameter IMS_Start_Acquire IMS_Register_Callback IMS_Start_Acquire e Check Camera AOI setting IMS_ScanCamera IMS_InitCamera IMS_Get_AOI Parameter 49 IMS_Stop_Acquire IMS_Stop_Acquire e External trigger setting for camera acquisition IMS_ScanCamera IMS InitCamera IMS_Set Trigger IMS_Register_Callback IMS_Start_Acquire IMS_Stop Acquire e Camera acquisition by software trigger IMS InitCamera IMS_ScanCamera IMS_Register_Callback IMS_Set_Trigger IMS_Start_Acquire IMS_Do_SWTrigger IMS_Stop Acquire e Enable camera test image IMS ScanCamera IMS InitCamera L IMS_Enable_Testlmage e Camera digital input output setting IMS ScanCamera IMS InitCamera L IMS_Set_GPlOMode 50 Check Camera digital input output setting IMS_ScanCamera IMS_InitCamera L IMS_Get_GPIOMode Write digital input output control into camera IMS_ScanCamera IMS_InitCamera L
2. IMS_GPIO_Write Read digital input output control status from camera IMS_ScanCamera IMS_InitCamera L IMS_GPIO_Read Set strobe control IMS_InitCamera IMS_ScanCamera IMS_Set_Strobe Get strobe control IMS_InitCamera L IMS_ScanCamera IMS _Get_Strobe Bia Set LUT Lookup Table into camera IMS_InitCamera L IMS_ScanCamera IMS_Set_LUT Get LUT Lookup Table from camera IMS_InitCamera IMS_ScanCamera IMS_Get_LUT Write data into camera data flash ex Camera Configure file IMS_InitCamera L IMS_ScanCamera IMS Write _DataFlash Read data from camera data flash IMS_InitCamera Le IMS_ScanCamera IMS_Read_DataFlash Get camera information IMS_InitCamera Le IMS_ScanCamera IMS_Get _Cameralnform 52 e Get the last error of camera IMS ScanCamera IMS_InitCamera IMS GetLastError e AES project encrypted code write into the camera IMS_ScanCamera IMS_InitCamera IMS_Get_Cameralnform AES_GET_REG IMS_Write_DataFlash 53 5 3Camera Management IMS_ScanCamera Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_ScanCamera U16 numCam Visual Basic 6 0 IMS_ScanCamera ByRef numCam As Integer As Integer VC NET 2005 short IMS_ScanCamera IntPtr numCam Description This function scans all ICP DAS cameras in system After scanning the total number of camera will be stored in numCam Parameters
3. RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 95 5 12 AES Project Encryption IMS_Get_Cameralnform Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_CameraInform 116 CamID PCAM_INFO CamInfo Visual Basic 6 0 IMS_Get_Cameralnform ByVal CamID As Integer CamInfo As CAM_INFO As Integer VC NET 2005 short IMS_Get_CameraInform Int16 CamID ref CAM_INFO Caminfo Description This function is used to get camera model name and unique serial number This information is retrieved by CAM_INFO struct which is composed of 2 members 1st member char ModelName 32 store the Camera Model name 2nd member U8 SerialNumber 16 store the unique Serial Number Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 CamInfo Pointer to tte CAM_ INFO struct that will be filled with camera information the model name amp unique serial number Return RETURN _SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LAS
4. VC NET 2005 short IMS_Set_VideoMode Int16 CamID UInt32 VideoMode Description This function is used to set the video mode The applicable Video mode may depend on camera type Please check the return code to insure the video mode setting is successfully Available Video Modes gt 640 x 480 VM_640X480_MONO8_30FPS VM_640X480_MONO16_30FPS VM_640X480_RGB_30FPS VM_640X480_MONO8_15FPS VM_640X480_MONO16_15FPS VM_640X480_RGB_15FPS VM_640X480_MONO8_7 5FPS VM_640X480_MONO16_7 5FPS VM_640X480_RGB_7 5FPS gt 800 x 600 IMS 130 only VM_800X600_MONO8_30FPS VM_800X600_MONO16_30FPS VM_800X600_RGB_30FPS VM_800X600_MONO8_15FPS VM_800X600_MONO16_15FPS VM_800X600_RGB_15FPS VM_800X600_MONO8_7 5FPS VM_800X600_MONO16_7 5FPS VM_800X600_RGB_7 5FPS gt 1024 x 768 IMS 130 only VM_1024X768_MONO8_30FPS VM_1024X768 MONO16_30FPS VM_1024X768 MONO8_15FPS VM_1024X768 MONO16_15FPS VM_1024X768 RGB_15FPS VM_1024X768_MONO8_7 5FPS VM_1024X768 MONO16_7 5FPS VM_1024X768 RGB _7 5FPS gt 1280 x 960 IMS 130 only VM_1280X960_MONO8_30FPS VM_1280X960_MONO8_15FPS VM_1280X960_MONO16_15FPS VM_1280X960_RGB_15FPS VM_1280X960_MONO8_7 5FPS VM_1280X960_MONO16_7 5FPS VM_1280X960_RGB_7 5FPS VM_AOI 68 Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 VideoMode The target video mode to set Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The Ca
5. less visual artifacts than the interlaced mode but requires a higher refreshing rate Sensor Size The Sensor Size is the dimensions of Image Sensor Size CCD CMOS sensor area which is responsible for transforming light into electrical signals Typically the sensor size from 1 4 to 1 and measured by diagonal size 103 7 3Revision History Change Description 104 8 Warranty Policy ICP DAS supplies a one year warranty period for the Sparrow IMS Series IEEE 1394 camera series however there certain instances of limited of warranty situations whereby ICP DAS will not take any responsibility in the following cases 1 When user open camera housing then warranty will void immediately 2 Incase damages or losses are caused by fire earthquake or other acts of the Gods the act by third party misuse by the user deliberately or erroneously use under extreme operating conditions 3 In case damages or losses are caused by malfunction resulting from bad connection with other equipment 4 In case damages or losses are caused by incorrect use which is not in line with instruction in user s manual 5 In case indirect additional consequential damages loss of expected interest suspension of business activities are incurred as results of malfunction or non function of the equipment we shall be exempted from assuming responsibility for such damages 105 9 ICP DAS Worldwide Headquarters
6. FireWire in 6 pin with power 4 pin without power reference to its speeds of operation In 1995 the IEEE Institute of Electrical and Electronic Engineers defined this standard is IEEE 1394 There are two IEEE 1394 standards in current market 1394a for data transmission rates up to 400Mbps and the other is IEEE 1394b for data transmission rates up to 800Mbps IEEE 1394 Firewire Link 0 100 White Gain is the level of amplification of a signal The Gain affects image sharpness sensed by the naked eye When gain is increased in an image one must also take into consideration the addition of significant noise Pixel Size Most CCD and CMOS imagers consist of picture elements dubbed pixels Each pixel is one sensor within the array and has a definite size which should be available by the manufacturer Sizes typically range from 8 20 microns The pixel size is a technical parameter that relates to resolution process feature dimensions and pixel Sensor Array architecture For a given die size a high resolution requires a small pixel Progressive Scan A system of video scanning whereby lines of a picture are transmitted consecutively such as in the computer world This method is often 2 used in DVD video encoding where the video is produced by scanning the film It is also used in enhanced 5 10 and high definition television systems as it is supposed to produce 99 12
7. IMS 30 Monochrome Mode IMS 130 Monochrome Mode Spectral Sensitivity Spectral Sensitivity Relative Response Waveform nm Wave Length nm IMS 30 Color mode IMS 130 Color mode Spectral Sensitivity Spectral Sensitivity AN Relativa Response Wave Length nm Wavelength nm 1 6 Benchmarks Sparrow IMS series is able to connect to IEEE 1394a 400Mbps or IEEE 1394b 800Mbps IEEE interface port The bandwidth of IEEE interface port may decide the frame rate of camera acquisition and also the sharing connected structure may reduce camera acquisition speed The following benchmark information is based on the IEEE 1394 port bandwidth condition and user may get the reference for system performance consideration 1 6 1 Standard Video Mode IMS 130 only IMS 130 only MONO16 7 5FPS RGB 15FPS RGB 7 5FPS 19 bonos 755 O t ooo woos e 0 woos oo f ooo woor o To perses o o 1 6 2 AOI Video Mode When set the camera Video Mode in VM_AOI the real acquisition speed will base on the IEEE 1394 bandwidth video format and resolution for the frame rate result Normally IEEE 1394a host chipset bandwidth can reach about 30MB s and IEEE 1394b host chipset can reach bandwidth around 60MB s By using more Sparrow cameras in the system user must consider if here is enough bandwidth of IEEE 1394 or choose multiple host chipsets interface card for it Model No ms 130 640
8. gt o gt o gt pP 14 gt gt LL I 1 2s 0 0 D hf PP D D e e ee ae O 4 6Camera Feature The Camera Feature allow user real time to adjust the camera parameter while camera during the image acquisition Each parameter range and functionality description please refers Chapter 1 4 for detail information Camera Feature i Brightness 96 lo US w OFI W Sharpness 11440 M Shutter second lo 0187213 4 Gain DE lo 0 399023 le Gamma 0 999023 44 4 7Color Parameter The Color Parameter function is only work on camera Video Mode RGB selected User can adjust the color parameter during the image acquisition Each parameter range and functionality description please refers Chapter 1 4 for detail information Color Mode Only M Saturation degree o m I Hue degree o n iN White Balance R 850 a GI L 45 5 Function Library Users can use these functions to develop application programs under Visual C 6 0 Visual Basic 6 0 Boland C Builder 6 0 and VC NET 2005 The Sparrow DLL file IMSCamera dll is in common use on Visual C Visual Basic and Boland C Builder and VC NET 2005 development language For Visual C Boland C Builder and VC NET 2005 please just follow standard Syntax description to use For Visual Basic here is IMSCamera bas module file in the sample program and user also
9. 1394B 45 4 5 meters high flex 1394b cable 1394b 9P MALE 4500t50mm 1394 connector 9 pin male connector with screw nickel plated PVC molding UL 20279 cable 26AWG x 1pair 2 x DRAIN AM x 2pcs 22AWG x 2 conductors Double shielded Cable wiring gauge 25 2 2 4 1394 Repeater 1394R3B e SZZZI 1394R3B repeater offers 1port to 2 ports IEEE 1394a signal o repeat and cable extension need The 1394R3B allow convert E So Wire A 1394 1995 to 1394a S Top Side View Left Side View Right Side Vide Chip PHY TI TSB41AB3 1394 Bus Transfer Rate 100 200 400 Mbps Device Interface A 400 Mbps 2 port 3 3V PHY Power Input Range DC 12V 30V Max 1 35A Connector 6 Contact Male x3 DC Walkman type 2 0mm DC Jack x1 Dimension 72mm W x 58mm H x 20mm D 1394R3B DC power input ONLY for using Notebook 1394 port or 1394 PCMCIA interface card 2 2 5 1394 CAT5 CAT6 Repeater FW UTPS400 FW UTPS400 repeater is ideally for 1394a signal to be transmitted and received over CAT5 or CAT6 Unshielded Twisted Pair UTP cable The FW UTPS400 offers one RJ 45 connector and two 1394a connectors interface fe Ei i Bre Normally user must use 2pcs Brae Stee parumane FW UTPS400 for one pair work and the an ell Working distances up to 55 meters per Pont pair The wiring signal of the RJ45 connector is compatible with 100baseT Ethernet pin1 2 3 and 6 Users can use the
10. 3 for GPIO pin 1 3 individually Mode The Mode of GPIO Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned 84 CAM State 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 85 IMS_Get_GPIOMode Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_GPIOMode I16 CamID U16 Channel U16 Mode Visual Basic 6 0 IMS_Get_GPIOMode ByVal CamID As Integer ByVal Channel As Integer ByRef Mode As Integer As Integer VC NET 2005 short IMS_Get_GPIOMode Int16 CamID UInt16 Channel IntPtr Mode Description This function is used to get current GPIO mode setting for specified Channel Please refer to IMS_Set_GPIOMode Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Channel The Channel ID value 1 3 for GPIO pin 1 3 individually Mode Pointer to the variable that will be filled with current mode setting Return RETURN _ SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this functi
11. Figure 4 1 EzView_Pro utility layout 37 4 2Menu The most functionalities control of Sparrow camera is under EZView Pro utility menu which defines as Camera Configure Function and About selections 4 2 1 Camera The Camera function menu will show up function control included Scan Camera Select Camera Video Mode Camera Info Check Bus Rate and Exit Ea EzYiew Pro E Confine Function About can Camera les Select Camera Ff Camera 0 Video Mode Camera Info Check Bus Rate Exit Scan Camera This function is same with Scan Camera icon and EzView Pro utility will scan and list out the Sparrow 1394 cameras available at the local computer Select Camera This function is same with Camera Information combo list and user can use this function to select specific available camera Video Mode General Video Mode Setting The Sparrow camera General Video Mode support 4 standard resolutions and 3 difference color modes and the maximum possibility frame rate for difference resolution and color mode combination 38 Yideo Mode Video Mode Resolution 640 x 480 Color Gray 8 bit FPS 7 5 640 X 480 3 200 Xx 600 SUI Setting 1024 x 768 Vosition 1280 X 960 AOI Setting The AOI Setting only workable when user select the Video Mode in AOI User can set the AOI size and start position for the area of interest field Also Sparrow camera will be calculated for maximum possib
12. Gain Gain function will be changes over all image data and its adjustable level of amplification of the camera signal Sparrow IMS series offers adjustable function of Gain and absolute value range from 6 26386 24 0001 However when gain is increased in an image one must also take into consideration the addition of significant noise Therefore keep the Gain value in 0 is strong recommend by default 1 4 9 Shutter Exposure Shutter function is adjustable level of shutter speed for the exposure of image integration time However the camera shutter integration time must be less than the frame rate Therefore the Sparrow IMS series offers adjustable function of Shutter speed and range from 4 65us 133ms 1 4 10 Trigger Control Sparrow IMS series offers two Trigger control mode included Standard Trigger Mode and Bulb Shutter Mode The trigger control resource could be come from hardware or software 10 Sparrow IMS series designs the pin 1 of GPIO interface which dedicated for physical external hardware trigger resource lt is opto isolated open collector circuit designed For detail schematic please refer 1 4 11 and input voltage range from 3 3VDC to 30VDC in maximum input 8 3mA gt Standard Trigger Mode The Standard Trigger Mode offers the control resource can be come from hardware or software lf user selects the trigger resource from software and user be able to use camera acquire image by programming software trigger
13. IMS_ScanCamera reports 3 available A cameras then valid camera ID are 0 1 and 2 On_Off True Enable trigger function False disable trigger function TriggerSouce The source of trigger input Also specify rising or falling edge 80 TriggerMode Specify the trigger mode 0 for Standard External Trigger Mode 1 for Bulb Shutter mode Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 81 IMS_Get_Trigger Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_Trigger I16 CamID bool On_Off U16 TriggerSource U16 TriggerMode Visual Basic 6 0 IMS_Get_Trigger ByVal CamID As Integer ByRef on_off As Boolean ByRef TriggerSource As Integer ByRef TriggerMode As Integer As Integer VC NET 2005 short IMS_Get_Trigger Int16 CamID IntPtr On_Off IntPtr TriggerSource IntPtr TriggerMode Description This function is to get current configure of trigger function Please refer to IMS_Set_Trigger Parameters The ID of Camera to
14. Width U16 Height Visual Basic 6 0 IMS_Get_AOI_Parameter ByVal CamID As Integer ByRef Color As Long ByRef FrameRate As Single ByRef Left As Integer ByRef Top As Integer ByRef Width As Integer ByRef Height As Integer As Integer VC NET 2005 short IMS_Get_AOI_Parameter Intl6 CamID IntPtr Color IntPtr FrameRate IntPtr Left IntPtr Top IntPtr Width IntPtr Height Description Before calling this you should set VM_AOI in IMS_Set_VideoMode first This function is used to read back current parameter values for AOI Area Of Interest function Please refer to IMS_Set_AOl_ Parameter Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Color Pointer to the variable that will be filled with video Color information VM MONO8 VM_MONO16 or VM_RGB FrameRate Pointer to the variable that will be filled with current Frame rate in FPS Left Pointer to the variable that will be filled with current AOI starting X position Top Pointer to the variable that will be filled with current AOI starting Y position Width Pointer to the variable that will be filled with current AOI horizontal size Height Pointer to the variable that will be filled with current AOI vertical size Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State Current Camera State Camera State
15. be initialized If IMS_ScanCamera reports 3 available CARO cameras then valid camera ID are 0 1 and 2 On_Off Pointer to the variable that will be filled with current on off status TriggerSouce Pointer to the variable that will be filled with current source of trigger input Also specify rising or falling edge TriggerMode Pointer to the variable that will be filled with current trigger mode Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 82 IMS_Do_SWTrigger Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Do_SWTrigger I16 CamID Visual Basic 6 0 IMS_Do_SWTrigger ByVal CamID As Integer As Integer VC NET 2005 short IMS_Do_SWTrigger Intl6 CamID Description This function is used to generate a software asynchronous trigger Please refer to IMS_Set_Trigger This call only works when TriggerSource is set to 15 You still need to successfully call IMS_Start_Acquire before IMS_Do_SWTrigger Parameters The ID of Camera to be initialized If IMS_ScanCamera reports 3 available tei cameras then valid camera ID are 0 1
16. can define or modify function module file as you need Please refer to Table 5 1 List of Functions for functions by category All the data types follow Microsoft standard definitions 46 5 1 List of Functions VIA Section Function RR InitCamera a oo InitCamera_SC mos GetLastError Camera Management see AA CloseCamera IMS_Check_BusRate Check _BusRate MN _Register_Callback Callback vent Callback vent CallBackRoutine Dooe 7 Camera Acquisition 5 5 IMS Stop Acauire Camera Configuration 5 6 IMS_Set_ Trigger Trigger Setting 5 7 IMS_Get Trigger IMS_Do_SWTrigger Do IMS_Do_SWTrigger IMS_Set_GPIOMode CPI Gant I IMS_Get GPIOMode sOY Get_GPIOMode ontro he de Colo ooo GPIO_ LIMS_GPIO Read PIMS _GPIO MIE GPIO IMS_GPIO Write IMS_Set_Strobe Strobe Control 5 9 IMS_Get_Strobe IMS Set LUT Look Up Table 5 10 IMS _ Get LUT IMS Read DataFlash D Flash Control lea IMS_Write_DataFlash IMS_Get_Cameralnform AES Project Encryption AES_GET_REG Test Pattern IMS_Enable_Testlmage Table 5 1 List of Functions 47 5 2Programming Flowchart Camera scan amp initial IMS_ScanCamera IMS_InitCamera Camera close IMS_CloseCamera e Check 1394 Bus Rate IMS_InitCamera Le IMS_ScanCamera IMS_Check_BusRate Camera feature setting IMS_InitCamera L IMS_ScanCamera IMS_Set Feature e Check camera feature setting IMS_InitCamera
17. crossover type Cat5e or Cat6 cable 1394a signal rating S100 5200 5400 Windows XP must rollback to SP1 Power Input Range DC 8V 30V max 1 35A 6 pin 1394a x 2 RJ 45 x 1 Walkman type 2 0mm DC Jack x1 96 Installation Guide Sparrow IMS 130 IEEE 1394b cameras support operation in VISION BOX IPC PC and Notebook system The installation guide shows how user should use this camera correctly and safely by steps Please read through this installation guide carefully and follow the installation steps of your specified system platform CAUTION DO NOT open the camera housing in any situation Touching internal components may damage camera function Meanwhile when customer to open camera housing then warranty will be void immediately A Be careful not to allow liquids flammable or metallic material inside of the camera 3 1Hardware Installation 3 1 1 VISION BOX The VISION BOX has built in two 1394a ports with 6 pin standard 1394a connector User can use 1394a to 1394b bilingual cable connected to VISION BOX directly 3 1 2 IPC PC Platform e With built in 6 pin1394 port simply plug in 1394a to 1394b bilingual cable to 1394 port e Without built in 1394 port Please following steps as below to install your 1394 interface card on a PCI or PCI E bus 1 Remove the computer cover using the instructions from the computer manual 2 Check that there is an empty PCI or PCI E slot to accommodate the card 3 Rem
18. image and construction by red green and blue individually color data each pixel size is three bytes LU PEEL LI ELI titi LSAGRELALI iuiu A A ny O Pi gia Penale a LU Se innit e UTO kiia er dith ty ECCESSO Lp daly Titties Tritt tt mm retetttiat itt 2 EST GLI SILELI SI LLLBIRLA LI REA P UA A a ii CALIL TETE Fon sete ipit U ee js Ki 11 NT t Mm MAA Arribes 4 Li begs Mette ettteteeety s d Laysasessanessuas UU ae EA SCART AOTT lu tegsnagezatinne i r T 4 xt tee Suit Te i ian het te T neon AF BAR de A y By Lia Ad TIA I BALLALELA ttt En E f aati We LL O LLIN a CTT NY WETTE J Figure 1 2 Mono AOI Acquisition Before using AOI function please make sure AOI mode is selected in Video Mode NO activated if AOI is not selected The AOI function will required the values of Left Top Width and Height to specify AOI region Due the AOI image data structure so user must to follow the possible values of AOI definition as below Full Image l I I I AOI Height I I I I gt AO Width A IMS 30 648 488 y AOI Left IMS 130 1288 964 AOI Left The value must be 2 N when N is an integer AOI Top The value must be 2 N when N is an integer AOI Width The value must be 8 N when N is an integer AOI Height The value must be 2 N when N is an integer AOI Left AOI Width must be under the total width of Ful
19. ll suggest you to use NI IMAQ directly Sparrow IMS series are fully compatible with NI IMAQ 1394 Please just select NI IMAQ IEEE 1394 IIDC Digital Camera driver for your installation and DO NOT install the Sparrow driver After installation is completed then you can use Measurement amp Automation Explorer of NI for configuration of the camera and the image grab test Y NI IMAQ IEEE 1394 Devices Measurement amp Automation Explorer File Edit View Tools Help Confi guration fel Save E Revert I gt Snap P Grab lA Histo gram E Save Image sp Show Help E gy My System Devices and Interfaces PX1 PEI System Unidentified m y Ports Serial amp Parallel SES ENI IMAQ IEEE 1394 Devices E3 cam 1 3MP Color 1394b CCD H E Software E S3 Remote Systems 656x491 1 1 S bitimage 10 ideo Mode Format 7 Mode 0 656x491 y Timeout 3 5000 ms Ignore First Frame Color Y Mono 8 y Speed 400 Mb Packet Size 4084 bytes ari General P Acquisition Parameters EA Bayer Color Frames per second 88 99 displayed acquired When you install the NI IMAQ 1394 driver all Sparrow official drivers and API and EZView Pro utilities would be fail to work 35 3 2 3 Windows XP SP1 rollback Windows XP Service Pack 2 or above version may decrease the performance of IEEE 1394 device due to XP SP2 compatibility To optimize IEEE 1394 performance MS XP SP1 is su
20. numCam The pointer to the variable that will be filled with number of ICP DAS camera scanned Return RETURN_SUCCESSFUL Successfully Note This function shall always return RETURN SUCCESSFUL 54 IMS_InitCamera Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_InitCamera I16 CamID Visual Basic 6 0 IMS_InitCamera ByVal CamID As Integer As Integer VC NET 2005 short IMS_InitCamera_SC Int16 CamID Description This is Camera initialization function It is required before configuration setting and image acquiring Before calling this You should call IMS_ScanCamera first to determine how many available cameras Call IMS_CloseCamera to close camera Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Return RETURN _ SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 55 IMS_InitCamera_SC Syntax Visual C 6 0 Boland C Builder 6 0 I1
21. specify AOI region Please keep in mind that the possible values have some limitations e Left value must be 2 N where N is an integer e Top value must be 2 N where N is an integer e Width value must be 8 N where N is an integer e Height value must be 2 N where N is an integer e Left Width lt Full image width e Top Height lt Full image height 705 Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Color The video Color format VM MONO8 VM_MONO16 or VM_RGB FrameRate Target Frame rate in FPS for example 15 0 Left AOI starting X position Top AOI starting Y position Width AOI horizontal size Height AOI vertical size Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN CHECK _LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image E IMS_Get_AOI Parameter Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_AOI_Parameter I16 CamID U32 Color F32 FrameRate U16 Left Ul6 Top U16
22. yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image zia IMS_Set_AOI Parameter Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_AOI_Parameter I16 CamID U32 Color F32 FrameRate Ul6 Left Ul6 Top U16 Width U16 Height Visual Basic 6 0 IMS_Set_AOI_Parameter ByVal CamID As Integer ByVal Color As Long ByVal FrameRate As Single ByVal Left As Integer ByVal Top As Integer ByVal Width As Integer ByVal Height As Integer As Integer VC NET 2005 short IMS_Set_AOI_Parameter Int16 CamID UInt32 Color Single FrameRate UIntl6 Left UInt16 Top UInt16 Width UInt16 Height Description Before calling this you should set VM_AOI in IMS_Set_VideoMode first This function is used to set parameters for AOI Area of Interest function The Color parameter specify for the color format e VM _MONO8 Black amp white 8 bit mode Every pixel is 1 byte e VM _MONO16 Black amp white 16 bit mode Every pixel is 2 bytes e VM RGB Color 24 bit mode Every pixel has 3 byte for Red Green amp Blue individually The FrameRate parameter specify for the target frame rate For example FrameRate 15 0 means 15 0 fps NOTE If target FrameRate is out of possible range it will be automatically converted to the closest allowable frame rate Use IMS_Get_AOl_Parameter to check actual frame rate The Left Top Width Height parameters are
23. 1394 host controller PCI interface card with 4 channels 1394a interface connector lt 1394 Connector supported simultaneous dual ports data transmission at rates of 400Mbps 32 bit PCI local bus complies with PCI 2 1 and 2 2 specification Host Bus Use only one IRQ for both OHCI 1 1 channels Interface Protocol Bus Master DMA 1394 Bus Transfer Rate 100 200 400 Mbps Host Bus Burst Data Rate Up to 133 MB s burst rate IEEE 1394 to PCI Chip 2x Ti TSB43AB21 External X 2 FW 6pin X 4 OHCI 1 FW 6pin X 1 1394 Connector 1394 Bus Power Connector Mini 4 pin DC 12V power connector Bus Power Connector with mini 4 pin DC 12V Power Connector Maximum 1394 Bus Transfer is 800 Mbps 400 Mbps per channel DA OHCI 2 FW 6pin X 1 2 2 3 1394 Cable ICPDAS prepare two type 1394 cables and both with high flex reliability wiring design The CA 1394AB 45 is IEEE 1394 bilingual cable and it s ideally for 1394a interface to 1394b connection The CA 1394B 45 is IEEE 1394b cable and it s ideally for standard 1394b point to point connection 2 2 3 1 CA 1394AB 45 4 5 meters high flex 1394a to 1394b bilingual cable 1394b SF MALE 4500250mm 13944 6P MALE On ae 1394 connector 9 pin male connector with screw nickel plated PVC molding 6 pin male connector with spring latch PVC molding UL 20279 cable 26AWG x 1pair 2 x DRAIN AM x 2pcs 22AWG x 2 conductors Double shielded Cable wiring gauge 2 2 3 2 CA
24. 3 IEC 61000 4 2 1995 A2 2000 IEC 61000 4 3 2002 IEC 61000 4 4 1995 A2 2001 IEC 61000 4 5 1995 A1 2000 IEC 61000 4 6 1996 A1 2000 IEC 61000 4 8 1993 A1 2000 IEC 61000 4 11 1994 A1 2000 101 7 2Glossary AOI is means the area of interest A user defined x offset rectangular area a Square is common on a CCD that is 0 0 exposed and processed as an image For image processing field the AOI also means a user defined area La y offse for inspection or measurement application for saving system images processing time Bit Depth The number of bits used to code a value such as a pixel component into an integer value This is directly related to the number of levels that the value might have such as 256 with an 8 bit depth or 1 024 with a 10 bit depth 0 CIA CMOS Complementary Metal Oxide Semiconductor CMOS is a widely used type of semiconductor CMOS semiconductors use both NMOS negative polarity and PMOS positive polarity circuits Since only one of the a circuit types is on at any given time CMOS chips require less power than chips using just one type of transistor CMOS traditionally consumes little power and can be fabricated on just about any e standard silicon production line so they tend to be extremely inexpensive compared to CCD sensors FireWire 1394 The 1394 digital link standard was conceived in 1986 by technologists at Apple Computer who chose the trademark
25. 6 __stdcall IMS_InitCamera_SC I16 CamID Visual Basic 6 0 IMS_InitCamera ByVal CamID As Integer As Integer VC NET 2005 short IMS_InitCamera Int16 CamID Description This is Camera initial function and after successfully initialized the camera the configurations stored inside the data flash will be set into the Camera The effect is the same as calling IMS InitCamera and then following configuration setting functions e IMS Set VideoMode e IMS Set AOI Parameter e IMS Set Feature for all features e IMS Set Trigger e IMS Set GPlOMode e IMS Set Strobe To modify configurations stored inside data flash please use EzView Pro utility Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description 56 CAM State 0 NOT SCANNED Camera not scanned CAM _ State _ 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 57 GetLastError Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_GetLastErr
26. As Long ByVal TimeOut_ms As Long As Integer VC NET 2005 short IMS_Start_Acquire Intl6 CamID UInt32 NumFrames UInt32 TimeOut_ms Description This function starts image acquiring process After successfully starting acquisition the CallBackRoutine specified by IMS_Register_CallBack could be triggered The acquiring process stops when e Captured NumFrames Frames e Time out occurs In this case CallBackRoutine will be called with TimeOutFlag 1 e IMS Stop _Acquire is successfully called Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 NumFrames Specifying the total number of frames that you want to capture After capturing enough frames the acquiring process stops automatically lf NumFrames is set 0 it will acquire is unlimited number of frames Only IMS_Stop_Acquire can stop it or time out occurs TimeOut_ms Specifying the time out value in milliseconds If TimeOut_ms 0 the acquiring process will never time out Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code 65 Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialize
27. Description CAM State 0 NOT SCANNED Camera not scanned 74 CAM State 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 5 75 2 IMS Set Feature Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_Feature I16 CamID U32 FeatureID F32 Feature Value bool FeatureOnOff Visual Basic 6 0 IMS_Set_Feature ByVal CamID As Integer ByVal FeatureID As Long ByVal Feature Value As Single ByVal FeatureOnOff As Boolean As Integer VC NET 2005 short IMS_Set_Feature Int16 CamID UInt32 FeatureID Single Feature Value bool FeatureOnOff Description This function is used to set Features of ICPDAS Cameras The FeaturelD parameter specify for which feature to be set a new value Available features including FeaturelD Value range unit CAMERA FEATURE BRIGHTNESS 0 0 6 2439 CAMERA_FEATURE_SHARPNESS 0 4095 CAMERA FEATURE WHITE BALANCE R 0 1023 s CAMERA FEATURE WHITE BALANCE B 0 1023 CAMERA FEATURE HUE 180 0 179 912 Degree CAMERA_FEATURE_SATURATION 0 0 399 902 CAMERA _FEATURE_GAMMA 0 50 3 99902 CAMERA_FEATURE_SHUTTER 4 65e 6 0 133263 or 1 fps us ms CAMERA_FEATURE GAIN 6 26386 24 0001 dB The FeatureValue parameter specify for the feature value lts may call failed when user set the value out of range The FeatureOnOff parameter is used to turn on or off the featu
28. E IO Setting AES Encryption Camera Scann E E Camera Feature N Brightness 9 Y Sharpness 0 005001 0 Lede lolo lolo lobo ee Y Gamma cl dele bebe lb Status Ready we 640 H 450 Gray 8 FPS 7 50 Trigger is OFF E LUT User is able to download or upload the camera look up table information via LUT function The LUT information present by txt file format and user can modify the LUT information then upload to Sparrow camera for modifying the image data analog to digital convert structure E AES encrypted SN code Click AES encrypted SN code AES encryption dialog will be pop out User can input 16byte key word for combine with current Sparrow unique hardware ID and will generate an AES encrypted register code Normally user can save this AES code for protect the system copy right 4 2 4 About Click About copyright and version information of EzView_Pro utility is shown up in message box About EzYiew_ Fro Peso Ee View Pro Version 10 lt gt EZvew Copyright C 2009 ICPDAS Co 4 3Tool Icons Camera Scan Click the Camera Scan icon to list the Sparrow 1394 cameras available at the local computer Snap Shot Click the Snapshot icon A single image will appear in the Full Image and Partial Image display window Live Stop Capture Click the Video Capture icon A video frame will appear in the Full Image and Partial Image display window Video Mode Click the Video Mode icon
29. ICP DAS CO LTD No 111 Kuangfu N Rd Hukou Shiang Hsinchu Hsien Taiwan 303 R O C TEL 886 3 597 3366 FAX 886 3 597 3733 service icodas com USA Branch Office ICP DAS USA Inc 2531 West 237th Street Suite 121 Torrance CA 90505 USA TEL 1 310 517 9888 FAX 1 310 517 0998 Sales icpdas usa com Europe Branch Office Taiwan Branch Office Ban Ciao 16F 1 No 33 Sec 1 Minson Road Banciao City Taipei Hsien Taiwan 220 R O C TEL 886 2 2950 0655 FAX 886 2 2950 0807 banciao icpdas com Hsin Tien 7F 2 No 137 Lane 235 Bao Chiao R Hsin Tien City Taipei Hsien Taiwan 231 R 0 C TEL 02 8919 2216 FAX 02 8919 2221 hsintien icodas com Tai Chung 9F 6 No 123 Sec 3 Zhong Gang Road Tai Chung City Taiwan 407 R O C TEL 04 2358 2815 FAX 04 2358 9114 taichung icpdas com Kao Hsiung 3F No 505 Zhong Shan second Road Kao Hsiung City Taiwan 801 R O C TEL 07 215 7688 FAX 07 216 2602 kaoshiun icodas com ICPDAS EUROPE GmbH Humboldtstrasse 36 70771 Leinfelden Echterdingen Germany TEL 0049 711 9 97 37 75 FAX 0049 711 9 97 37 84 info icpdas europe com China Branch Office Beijing TEL 86 10 6298 0924 FAX 86 10 6296 2890 beijin icodas com cn Shanghai TEL 86 21 6247 1722 FAX 86 21 6247 1725 shanghai icpdas com cn Wuhan TEL 86 27 8548 3302 Kunming TEL 86 13113689519 86 87 1294 5396
30. IEEE 1394b Industrial CCD Camera Series IMS 30 IMS 130 User s Manual Manual Version 1 0 Release Date May 20 2009 ICP DAS Co LTD i s lt lt lt i i ww icpdas com 1 Table of Contents INTOQUCUON cilea 5 1 1 Fero S uaaa a 5 1 2 APPICANOA Sa IAE 5 1 3 System Requiem ai od 5 1 4 Function Descriptions ii 7 141 A0lAressotinicresl Leila 7 TAZ BONES rica ia 8 LAS SNApiess aereo 8 1 4 4 White Balance ei 8 AS A e o A 9 LALO SAI IN A a 9 tAr Gamma and LU Totoro 10 TAS ais 10 149 ASNUUIEE EXDOSUNC aglio 10 AO TUE ge CONO a dial eee ne 10 1 4 11 GPIO General Purpose Digital Input and Output 13 14 12 Strobe DOMO eee Oa ae SSA a I riale 16 1 4 13 Save Camera Configura ON iii A e 16 A 14 Data Flash Controls a o sio 16 1 4 15 Software AES Project Encryption iii 17 1 4 16 Test Palacio A aida 17 1 5 SECAR A ere cale leali 18 1 6 ES BIC PMU einer scuba ttaudeteledein e a e a a Aig ea 19 126 1 Standard Video MOG 6 css a 19 1 6 2 AOI Video Mode 20 16 3 IGP DASIEEE 394prodUcis ira 20 Haraware HeferenCe sie ee lane nn 21 2 1 Sparrow IMS 30 IMS 130 iii 21 211 Cameraspecilicalon calli il 21 22 Camera Merna e aida 22 2 1 9 Standard Package Contente scr 22 2 2 Optional ACCESS OMeS rererere aTa E a E Na a N 23 221 VISION BOX PIANON e la 23 2 2 2 1394 Intenace CANS Sireni
31. NNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 88 5 9Strobe Control IMS_Set_ Strobe Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_Strobe I16 CamID F32 Delay_ms F32 Duration_ms Visual Basic 6 0 IMS_Set_Strobe ByVal CamID As Integer ByVal Delay_ms As Single ByVal Duration_ms As Single As Integer VC NET 2005 short IMS_Set_Strobe Int16 CamID Single Delay_ms Single Duration_ms Description This function is used to set the Strobe parameter The Delay_ms define the time period in ms between beginning of exposure and strobe signal output The Duration_ms define the length of strobe signal in mini second You can select which GPIO pin s to output strobe signal by using IMS_Set_GPlOMode Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Delay_ms The delay time between beginning of exposure and strobe signal output Range 0 10 000 0 ms Duration_ms The duration of strobe signal Range 0 10 000 0 ms Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve
32. OT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 70 IMS_Get_ColorFormat Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_ColorFormat I16 CamID U32 Color Visual Basic 6 0 IMS_Get_ColorFormat ByVal CamID As Integer ByRef Color As Long As Integer VC NET 2005 short IMS_Get_ColorFormat Int16 CamID IntPtr Color Description This function is used to get the video color format If successfully returned the Color will be filled the color format information Color Format e VM MONO8 Black amp white 8 bit mode Every pixel is 1 byte e VM _MONO16 Black amp white 16 bit mode Every pixel is 2 bytes e VM_RGB Color 24 bit mode Every pixel has 3 byte for Red Green amp Blue individually Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Color Pointer to the variable that will be filled with video Color information VM MONO8 VM_MONO16 or VM_RGB Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized
33. TERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 96 AES_GET_REG Syntax Visual C 6 0 Boland C Builder 6 0 stdcall AES_GET_REG char raw 16 char AES_Key 16 char Encrypted 16 Visual Basic 6 0 AES_GET_REG ByVal raw As Variant ByVal AES_Key As Variant ByVal Encrypted As Variant As Long VC NET 2005 long AES_GET_REG Byte raw Byte AES_Key IntPtr Encrypted Description This function is used compute AES encryption SN code Parameters Raw The raw data to be encrypted Size of raw is 16 bytes AES_Key The AES Key Size of AES_Key is 16 bytes Encrypted The AES encrypted result Size of Encrypted is 16 bytes Return RETURN_SUCCESSFUL Successfully 97 5 13 Test Pattern IMS_Enable_Testlmage Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Enable_TestImage I16 CamID bool On_Off Visual Basic 6 0 IMS_Enable_TestImage ByVal CamID As Integer ByVal on_off As Boolean As Integer VC NET 2005 short IMS_Enable_TestImage Int16 CamID bool On_Off Description This function is to enable or disable the test pattern output Parameters CamID The ID of Camera to be in
34. The Video Mode dialog will show up for aes the selection of video mode parameter setting IO Setting Click the IO Setting icon The GPIO dialog will show up for the selection of GPIO and strobe control setting AES Encryption AES Encryption Click AES Encryption icon 4 4Camera List The Camera list will show up current available camera in local computer and the ID box will show the camera ID information once the camera has been selected Camera List ID 019DE000B5308000 43 4 5Display Window The EzView_Pro utility supports two display windows for real time image display The full image data will be reduction show in the bottom right display window and there have a ROI Regional of Interest box to allow user to move the position to see the ROI raw data image show in the partial image display window Camera Feature 7 o 0915527 Y Sharpness 1440 Z l 0187213 4 gt m Iv O y Le D D la Y Gamma lo 999023 Color Mode Onity a D gt P ra ee as J 7 de 7 a m 7 8 So p gt gt b i gt lt s rd g gt se 2 3 I gt gt gt gt gt gt Ea gt 1 5 a J gt gt gt 3 Po J e o s 5 a y J Iv Ji 2 O _ Ta d ce Di DI Li a DI DI 5 Ja gt gt Jg D PP Ho n e W e gt gt PpP 9 y j ve gt
35. The trigger signal can be chosen by rising edge or falling edge when user selected the trigger resource from hardware Trigger by Rising Edge CdL Sensor Exposure Exposure lime I aL 4us delay Sensor Readout image Data Figure 1 4 10 1 Standard Trigger by Rising Edge Trigger by Falling Edge W a Sensor Exposure 4us delay Sensor Readout image Data Figure 1 4 10 2 Standard Trigger by Falling Edge gt Bulb Shutter Mode The Bulb Shutter Mode offers the control resource can be come from hardware or software If user selected the trigger resource from software and then user is able to use camera acquire image by programming software trigger The camera exposure time will be base on the trigger signal duration and the trigger signal can be choose by rising edge or falling edge when user selects the trigger resource from hardware 11 Trigger by Rising Edge Lig Sensor Exposure i Exposure Time ui lt 4us delay Sensor Readout Image Data Figure 1 4 10 3 Bulb Shutter Trigger by Rising Edge Trigger by Falling Edge n a Sensor Exposure i Exposure Time gt ira Sensor Readout Image Data Figure 1 4 10 4 Bulb Shutter Trigger by Falling Edge 12 1 411 GPIO General Purpose Digital Input and Output The Sparrow IMS series offers the GPIO interface and pin define as below GPIOO Opto isolated input Default for Trigger Input 3 3V
36. al 64k Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Address Byte address Data Pointer to the variable that will be filled with read value Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 94 IMS_Write_DataFlash Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Write_DataFlash I16 CamID U32 Address US Data Visual Basic 6 0 IMS_Write_DataFlash ByVal CamID As Integer ByVal Address As Long ByVal Data As Byte As Integer VC NET 2005 short IMS_Write_DataFlash Int16 CamID UInt32 Address Byte Data Description This function is used to write a byte value to data flash of Sparrow IMS Series camera The Address specify the byte address of data flash to write range from 0x0 OxFFFF total 64K Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Address Byte address Data The Data value to write to flash Return RETURN_SUCCESSFUL Successfully
37. and 2 Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 83 5 8GPIO Control IMS_ Set _GPIOMode Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_GPIOMode I16 CamID U16 Channel U16 Mode Visual Basic 6 0 IMS_Set_GPIOMode ByVal CamID As Integer ByVal Channel As Integer ByVal Mode As Integer As Integer VC NET 2005 short IMS_Set_GPIOMode Int16 CamID UInt16 Channel UInt16 Mode Description This function is used to set the GPIO mode Every GPIO channel can be independently chosen to work and definition as below e General purposed input Mode 0 e General purposed output Mode 1 e Strobe Output with High active output Mode 2 e Strobe Output with Low active output Mode 3 The Channel parameter specify for which GPIO channel to be set Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Channel The Channel ID value 1
38. arranty PONCY ii 105 ICGPDAS WOrlOWid e bisindia liete 106 1 Introduction Sparrow a new IEEE 1394 camera product line of ICP DAS designed for industrial machine vision applications Sparrow IMS series are designed within high sensitivity industrial CCD sensor and be able to acquire color image or monochrome image The IMS 30 offers 640 x 480 resolutions and acquisition speed up to 83 frames per second and the IMS 130 offers 1288 x 964 resolutions and acquisition speed up to 31 frames per second Sparrow series also offers industrial digital I O and screw locked 1394b connector interface designed Compact housing with industrial level design can be adopted into all kind of inspection system such as inspection by robot arms Sparrow IMS series image applications can be implement on industry environments such as semiconductor electric component high speed assembly and manufacture quality control 1 1 Features Progressive scan for on the fly applications VGA to up 1 3 mega pixel high resolution Small and exquisite compact industrial housing design Built in 32MB memory buffer 64KB data flash and AES project encryption Robust external trigger I O interface supported Free SDK API for VC VB BCB and VC Net 2005 Supports Windows XP driver only 1 2 Applications Electronic component inspection Alignment AOI system Manufacturing quality control Food and beverage inspection Factory automation inspection 1 3 System Requireme
39. ate Visual Basic 6 0 IMS_Check_BusRate ByVal CamID As Integer ByRef BusRate As Integer As Integer VC NET 2005 short IMS_Check_BusRate Int16 CamID IntPtr BusRate Description This function is used to check current IEEE 1394 bus rate Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 BusRate Pointer to the variable that will be filled the bus rate information when function successfully returned If RETURN_UNAVAILABLE or RETURN_CHECK_LASTERROR returned BusRate remains unchanged BusRate is in unit of Mbps So if busRate 400 it means 400 Mbps Return RETURN _ SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 61 5 4Callback Event IMS_Register_Callback Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Register_CallBack I16 CamID void UserData void __stdcall CallBackRoutineX116 CamID U8 pBuffer U32 size void UserData U8 TimeOutFlag Vis
40. can select the trigger source and trigger mode for it The trigger function is activated when trigger is enabling 40 Ext Trigger Setting Trigger Source 0 GPIO_0 Falling Edge About Trigger Mode 0 Standard Trigger Mode About m GPIO amp Strobe Click GPIO amp Strobe GPIO dialog will be pop out User can select the GPIO channel and set the lO or strobe function active by high or low Also user can set the strobe delay time and duration time for strobe output timing Channel 1 3 General purposed output High Low High active strobe output Low active strobe output Channel 2 General purposed input General purposed output High active strobe output Low active strobe output Channel 3 General purposed input General purposed output C High active strobe output Low active strobe output strobe Timing Setting Delay Time ms 0 Duration ms 0 Range 0 10 000 0 ms Range 07 10 000 0 ms m Enable Test Image Click Enable Test Image and click Snapshot or Live Capture function icon Sparrow camera will generate internal testing pattern and transmits out the image data as below Sparrow camera will not be able to acquire any live image before user to disable the test image function 41 a EzYiew_Pro Camera List Sr i Ext Trigger Bic sr Na GPIO amp Strob edocs amp e GPIO Camera 0 ID foi 9DB00085308000
41. cify for which feature value to read Available features including FeatureID Value range unit CAMERA_FEATURE_BRIGHTNESS 0 0 6 2439 CAMERA_FEATURE_SHARPNESS 0 4095 CAMERA FEATURE WHITE BALANCE R 0 1023 CAMERA FEATURE WHITE BALANCE B 0 1023 CAMERA_FEATURE_HUE 180 0 179 912 Degree CAMERA_FEATURE_SATURATION 0 0 399 902 CAMERA_FEATURE_GAMMA 0 50 3 99902 CAMERA_FEATURE_SHUTTER 4 65e 6 0 133263 or 1 fps us ms CAMERA_FEATURE_GAIN 6 26386 24 0001 dB Parameters The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cani cameras then valid camera ID are 0 1 and 2 FeaturelD The camera features Feature Value Pointer to the variable that will be filled with current feature value FeatureOnOff Pointer to the variable that will be filled with current feature on off state Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State 78 RETURN_CHECK_LASTERROR Current Camera State Camera State CAM State 0 NOT SCANNED CAM_State_1_NOT_INIT CAM _State_ 2 INIT NOT ACQUIRING CAM_State_3 ACQUIRING_IMAGE Some error occurs please call IMS_GetLastError to retrieve the error code Description Camera not scanned Camera was scanned but not initialized yet Camera was initialized but not in acquiring Camera is acquiring image TO 5 7 Trigger Setting IMS_Set_Trigger Syntax Visual C 6 0 Bo
42. d absolute value range from 0 0 399 902 0 0 399 902 1 4 7 Gamma and LUT Gamma and LUT Lookup Table function will be changes 1croas 1ms 138 Channel 3 BitDepth 9 Entries 2048 image data converted structure Once change gamma value p eo then the lookup table data structure will be change immediately Sparrow IMS offers adjustable function of gamma and absolute value range from 0 50 3 99902 Sparrow IMS camera series support three 11 bit input lookup table that produce 9 bit outputs Three channels can be individually for red green and blue color data output or CUM EEE EF WO WOWWNNNN eo ALL 8 8 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 H 5 5 5 5 6 equalized value for monochrome color format oOMM MM Fer II ONNNNAdLAi AN 506 506 596 _Il 1 I 506 506 506 It can be used to apply a non linear mapping of the image ahora gp 506 506 506 result User can used this function to get Lookup Table file of RL 507 507 507 the camera This file is standard text file format and user can 597 597 597 568 568 568 open or modify Lookup Table content very easily faa tas bis 508 508 508 509 509 509 509 509 509 509 509 509 1 1 I 509 509 509 By default when gamma value 1 0 which yields a linear ia 516 516 516 response then gamma functionality will be OFF and failed to 519 510 516 514 511 541 change the Lookup Table content 511 511 511 1 4 8
43. d yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_ State 3 ACQUIRING_IMAGE Camera is acquiring image 66 IMS_Stop_Acquire Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Stop_Acquire I16 CamID Visual Basic 6 0 IMS_Stop_Acquire ByVal CamID As Integer As Integer VC NET 2005 short IMS_Stop_Acquire Intl6 CamID Description This function will stop image acquiring process After successfully stop Acquisition the CallBackRoutine won t be triggered any more Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 67 5 6Camera Configuration IMS Set VideoMode Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_VideoMode I16 CamID U32 VideoMode Visual Basic 6 0 IMS_Set_VideoMode ByVal CamID As Integer ByVal VideoMode As Long As Integer
44. e error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 87 IMS_GPIO_Write Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_GPIO_Write I16 CamID U16 Channel bool Value Visual Basic 6 0 IMS_GPIO_Write ByVal CamID As Integer ByVal Channel As Integer ByVal value As Boolean As Integer VC NET 2005 short IMS_GPIO_Write Int16 CamID UInt16 Channel bool Value Description When GPIO 1 3 is set as general purposed output mode you can use this function to set its value For 3 3V output set Value true For O V output set Value false For GPIO mode setting please refers to IMS_Set_GPIOMode Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Channel The Channel ID value 1 3 for GPIO pin 1 3 individually Value Output value of GPIO pin false for OV output Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCA
45. e following installation for different programming environment installations 3 2 1 Visual Studio VC VB BCB VC NET Users 1 Insert the Sparrow Driver CD to CD ROM DVD ROM drive 2 The Sparrow Driver CD will start to prepare driver installation as below Sparrow Setup Welcome to the InstallShield Wizard for Sparrow The Install5hieldR Wizard will install Sparrow on your computer To continue click Next Welcome to the InstallShield Wizard for Sparrow The Install5heldR Wizard will install Sparrow on your computer To continue click Nest e 4 The Sparrow series default path located at CAUICPDAS Sparrow and you can click Change button to change driver installation path otherwise please click Next button for continue driver installation Sparrow Setup Choose Destination Location Select folder where setup will install files Install Sparrow to CAICPOAS Sparrow 5 Please click the Install button Sparrow Setup Ready to Install the Program The wizard is ready to begin Installation Click Install to begin the installation If you want to review or change any of your Installation settings click Back Click Cancel to exit the wizard i Cancel 652 6 Driver installing Sparrow Setup Setup Status Sparrow Setup is performing the requested operations Installing CAWINDOWS S Driver Caches130643P7 CAB n om mymWmWwmwy q InstallShreld 7 When d
46. er 6 es C gt gt Status LED A NS 2 IR Cut I J Filter p IEEE 1394b 5 with screw Front View Rear View M2x2 M3 x 2 5 Mounting Holes A ca Holes a I OR o gt J 1 4 20 Tripod JAM NUT gt Tripod Adapter O Mounting Holes Tripod Adapter Bottom View 2 1 3 Standard Package Contents eros Adapter with screws GPIO Wiring Connector GPIO Wiring Connector Connector 99 2 2Optional Accessories To optimizing system performance and reliability 4 optional accessories are suggested 2 2 1 VISION BOX platform Model No VB 115 C10 VB 115 H10 VB 216C VB 216H ds y cese A ds ST Lia e 16 Appearance a e e ___n_ nor CPU intel Mobile Celeron M 1 5GHz 4GB 233x Compact 2 5 160GB SATA 2GB 266x Compact 2 5 80GB SATA OS Storage Flash Card Hard Disk Flash Card Hard Disk 1394 ports 1394a ports 400Mbps bandwidth x 2 ports PCI Bus One 32 bit 33MHz PCI Slot Not support PCI long card Front I O 2 x USB 2 0 Ports ATX power on off switch Status LEDs HDD Access Power LAN PS 2 connector VGA connector 6 x USB 2 0 ports 2 x GbE LAN ports 4 x Serial Ports via one DB44 connector 3 x RS 232 1 x RS 232 422 485 Rear I O DVI Interface 1 x MIC in 1 x Speaker out 2 pin connector output for remote power on off switch DC in power connector for 12V 30V DC power input DC to DC power designed for on board supporting f
47. ggested There have two solutions for get the fix SP2 bug installation file 1 Go to the Microsoft download center for download the file at http www microsoft com downloads details aspx Familyld CA0F2007 18B5 4112 8BD6 8 BF4BD3130B9 amp displaylang en 2 Or after Sparrow driver install completed then user will find a FixSP2g utility under the list menu of Sparrow then user can just click it and follow the steps until get the rollback to SP1 successfully information After you install this update if you add a host controller for a new 1394 device to your computer you must add or modify the SidSpeed entry in the Windows registry for the new 1394 host controller To do this follow these steps 1 Click Start click Run type regedit and then click OK 2 Locate and then click the following registry subkey HKEY LOCAL _MACHINE SYSTEM CurrentControlSet Enum PCI 1394_hc_hw_id 139 4 jnstance_id Device Parameters E If the SidSpeed value does not exist in the right pane after you click the Device Parameters subkey in step 2 create it To do this point to New on the Edit menu click DWORD Value type SidSpeed and then press ENTER Right click SidSpeed and then click Modify In the Value data box type one of the values that are shown in the following table and then click OK Collapse this tableExpand this table as Value Speed 0 S100 speed 1 5200 speed 2 S400 speed default value 3 5400 5800 speed Window
48. itialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 On_Off true Enable test pattern output false disable pattern output Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 98 6 Mechanical 6 1Sparrow Camera Series 4 M2x2rim DEEP 3 M3x2 5mm DEEP 8 PIN GPIO STATUS LED CONNECTOR IEEE 1594B CONNECTOR WITH JACKSCREWS 99 6 2 Tripod Adapter 2 1 4 Places Front View 100 Appendix 7 1Standards Compliance Fe For customers in the U S A This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause har
49. l Image AOI Top AOI Height must be under the total height of Full Image Also frame rate can be changed in AOI function Frame rate is automatically adjusted into range of camera if frame rate setting over range of camera 1 4 2Brightness All image data luminance will be changed by adjusting Brightness Sparrow IMS series offers adjustable function of Brightness and absolute value range from 0 0 6 2439 0 6 2439 1 4 3 Sharpness All image data contrast will be changed by adjusting Sharpness Sparrow IMS series offers adjustable function of Sharpness and range from O 4095 1 4 4 White Balance Sparrow IMS CCD camera series are using the Bayer tiling in the CCD for the color pixel data White Balance function is able to work well on color correction to deal with differing lighting conditions The White Balance scheme outlined in the IIDC specification states that blue and red are adjustable but the green is not White Balance function will offer gain value of red and blue for adjusting the color balance of the camera and range from 0 1024 1 4 5 Hue All color image space can be changed by adjusting Hue function Sparrow IMS series offers adjustable function of Hue and absolute value range from 180 0 179 912 and default value is 0 180 179 912 1 4 6 Saturation All image date color purity can be changed by adjusting Saturation function Sparrow IMS series offers adjustable function of Saturation an
50. land C Builder 6 0 stdcall IMS_Set_Trigger I16 CamID bool On_Off U16 TriggerSource U16 TriggerMode Visual Basic 6 0 IMS_Set_Trigger ByVal CamID As Integer ByVal on_off As Boolean ByVal TriggerSource As Integer ByVal TriggerMode As Integer As Integer VC NET 2005 short IMS_Set_Trigger Int16 CamID bool On_Off UInt16 TriggerSource UInt16 TriggerMode Description This function is to configure the trigger function The On_Off parameter decides that the trigger function is to be enabled on_off true or disabled on_off false TriggerSouce specify the triggering source Possible triggering source are e TriggerSource 0 falling edge change from 3 3V or 5V to OV of GPIO pin 0 e TriggerSource 1 rising edge change from OV to 3 3V or 5V of GPIO pin 0 e TriggerSource 15 Software controlled trigger Refer to IMS_Do_SWTrigger There are 2 triggering modes specified by TriggerMode 0 or 1 e TriggerMode 0 Standard External Trigger Mode The camera starts integration of the incoming light from external trigger input falling rising edge The CAMERA_FEATURE_SHUTTER feature controls the integration time e TriggerMode 1 Bulb Shutter mode The camera integration time is equal to low high state time of the external trigger input e lf trigger source is set to software TriggerSource 15 only standard External Trigger Mode is available even TriggerMode is set 1 Parameters The ID of Camera to be initialized If
51. le AOI frame rate for difference AOI size and color mode combination Yideo Mode Yideo Mode Resolution aol 7 Color Gray 8 bit FPS 7 5 ADI Setting Position pd 66 ma 40 AOI Color Mode AQ Frame Rate Color RGB y 15 P Gray 8 bit Gray 16 bit Color RGB a Camera Info When click Camera Info function will show up a message box and list current camera model name and serial number information EzYiew_ Pro Model name Sparrow IMS 130 seriall umber 019DB000B5 308000 39 Check Bus Rate Click Check Bus Rate function will show up the current camera connected 1394 bus bandwidth in message box Ez iew Pro 4 2 2 Configure The Configure function is able to save current camera operation parameters setting into Sparrow camera configure memory or into a specific file location Also user can use this function to get the camera configuration information from Sparrow camera configures memory or specific file location Ez iew Pro Camera AE Function About save Configuration P Load Configuration Camer en 4 2 3 Function The Function menu function control includes following Ext Trigger GPIO amp Strobe Enable Test Image LUT and AES encrypted SN code Ez iew Pro Camera Configure Sait About po Ext Trigger GPIO amp Strobe Enable Test Image LUT m Ext Trigger Click Ext Trigger function Ext Trigger Setting dialog will be pop out User
52. mID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 69 IMS_Get_VideoResolution Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_VideoResolution I16 CamID U32 Width U32 Height Visual Basic 6 0 IMS_Get_VideoResolution ByVal CamID As Integer ByRef Width As Long ByRef Height As Long As Integer VC NET 2005 short IMS_Get_VideoResolution Int16 CamID IntPtr Width IntPtr Height Description This function is used to get the video dimension width and height Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Width Pointer to the variable that will be filled with video frame width information in pixel Height Pointer to the variable that will be filled with video frame height information in pixel Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 N
53. me As String As Integer VC NET 2005 short IMS_Get_LUT Int16 CamID string LUT_FileName Description This function is used to get current contents of LUT Look up Table The LUT_FileName specify the LUT file name including path If not specify the path current directory is used Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 LUT_FileName File path and name of LUT file Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM_State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 93 5 11 Data Flash Control IMS_Read_DataFlash Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Read_DataFlash I16 CamID U32 Address US Data Visual Basic 6 0 IMS_Read_DataFlash ByVal CamID As Integer ByVal Address As Long ByRef Data As Byte As Integer VC NET 2005 short IMS_Read_DataFlash Int16 CamID UInt32 Address IntPtr Data Description This function is used to read data flash value of Sparrow IMS Series camera The Address specify the byte address of data flash to be read range from 0x0 OxFFFF tot
54. meterize up to three strobe light control output signals The signals are designated as Strobe 1 Strobe 2 and Strobe3 Each strobe signal can be set to active high or active low by logical value please refer to section 6 Function Library for command definitions The strobe is determined by a combination of two values Delay Value and Strobe Duration both range from O sec 10 sec The Strobe delay will determine the time between the start of image exposure and when the strobe signal changes state as show in Figure 1 13 High Active Strobe Signal Low Active Strobe Signal Duration Delay i ut Duration shutter Start shutter Start start of image exposure start of image exposure Figure 1 13 Strobe Signal 1 4 13 Save Camera Configuration Sparrow IMS series provides a function on save camera configuration to help customer to setting and maintain camera parameters easily User can use EzView Pro Utility to real time adjust camera parameters and save the configure setting into the camera or local computer The configure file can be upload to any Sparrow IMS camera series 1 4 14 Data Flash Control Sparrow IMS series offers 64K bytes Data Flash memory for customer to save or restore camera settings and AES project encryption register code The address of data flash can be read and write range from 0x0 OxFFFF Keep the camera power sustained when written data into the Data Flash otherwise the data may loo
55. mful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at own expense You are cautioned that any changes or modifications not expressly approved in this manual could void your authority to operate this equipment The shielded interface cable recommended in this manual must be used with this equipment in order to comply with the limits for a computing device pursuant to Subpart J of Part 15 of FCC Rules For customers in Canada This apparatus complies with the Class A limits for radio noise emissions set out in the Radio Interference Regulations Pour utilisateurs au Canada Cet appareil est conforme aux normes classe A pour bruits radio lectriques sp cifi es dans le Reglement sur le brouillage radio lectrique Life support applications These products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Allied customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Allied for any damages resulting from such improper use or sale CE The equipment was passed the test performed according to European Standard EN 55022 1998 A1 2000 A2 2003 Class A EN 61000 3 2 2000 EN 61000 3 3 1995 A1 2001 EN 55024 1998 A1 2001 A2 200
56. n N 24 aaa MIT GabE ss 25 2 2 4 1394 Repeater 1394R3B ii 26 3 2 2 5 1394 CAT5 CAT6 Repeater FW UTPS400 26 Installation Guide ccm 27 3 1 Fiaroware INSIglIaonsrrrerr rie 27 Lil ALONE Rae 27 2 IPGPEGREattbimnac eee 27 3 1 0 NOtebook PG POMCIA Socket ille 29 3 2 AP Driver oloni A la 31 3 2 1 Visual Studio VC VB BCB VC NET Users 31 3 2 2 NFESbVIEW USefs cellula 35 3 23 Windows XP SPi tollback aree dii 36 EZVICW PrO UTII aises 37 4 1 OVEVIW alice alia 37 4 2 VE Pe O n 38 42 O AAA e AA o o eee tebe eae 38 4 2 2 ONIS its 40 423 FUNCOM anni a ela 40 4 2 4 AbOU illa 42 4 3 TOQUICON rra seen Sanerecontbane enue 43 4 4 Ae lissone E 43 4 5 ISP WIN Wise 44 4 6 Camera Feslle o ects ni ade o iaa 44 4 7 CoOlRPara meli e ceda 45 FUNCUON LID Misco REA sens O REA 46 5 1 LStO FUNCION Sia taaan 47 5 2 Pr grammng FO Wcna usada raro 48 5 3 Camera ManagemMeEnt 54 5 4 Cala al EVEN een o ee 62 5 5 Camera Acqua a A N 65 5 6 Camera CopnguralO esasen a a a A 68 5 7 Tigger Seting enrera ici 80 5 8 GPIO Contriola a Lella bia ii ra 84 5 9 A O ee ea er Te 89 5 10 LOOKUP Table Control 92 San Bala Flash CONTO dr ano a a e SLI 94 512 AES Project ENCI PUN ia 96 Salo Test RA aio ido 98 Mechanic islas NI 99 6 1 OparroW Camera vere it dd eee eee 99 6 2 TIPO Ads ANA es 100 1 A An 101 7 1 Standards Compliance ohana 101 7 2 AOS ri ia oi 102 7 3 HOMINIS os 104 W
57. nt To ensure seamless operation ICP DAS recommends that your system meets the minimum requirements below gt gt Platform Pentium Ill 800MHz CPU 256MB DDRAM or above VGA display AGP 4X or above 5 gt Display setting 800 x 600 resolution or above gt 32 bit OS only If using Windows XP SP2 or above version please rollback to Service Pack 1 The 1394b full spec driver may only supported in Windows XP SP1 therefore ICPDAS has offer fixSP2g program to help customer to roll back the 1394b driver into Windows XP SP2 SP3 or above system Please refer Chapter 3 2 3 Windows XP SP1 rollback Please refer 1 6 Benchmark for system limitation information 1 4 Function Descriptions To ensure proper implementation please carefully review the limitation parameters and formula calculations listed below AOI Area of Interest The AOI Area of Interest function allows users to select an area of interest for the camera s CCD array to specifically read display and transmit Sparrow IMS series offers include Mono 8 bit Mono 16 bit and RGB 24 bit in total 3 color formats and each color format will generate difference data structure e Mono 8 bit It s black and white image data and grayscale present in 8 bit depth each pixel size is one byte e Mono 16 bit It s black and white image data and grayscale present in 16 bit depth each pixel size is two bytes eo RGB 24 bit its color
58. oid UserData U8 TimeOutFlag Visual Basic 6 0 Callback bas CallBackRoutine ByVal CamID As Integer ByVal pFrameBuffer As Long ByVal size As Long ByVal UserData As Long ByVal TimeOutFlag As Byte VC NET 2005 Please refer to C sample Description The callback routine is user defined code that will be called when a frame is ready or TimeOut_ms specified in IMS_Start_Acquire is expired If callback routine is called due to time out the TimeOutFlag will be set 1 If callback routine is called due to frame ready the TimeOutFlag will be set 0 Callback routine is registered by IMS_Register_CallBack Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 pBuffer The starting address of memory buffer where frame data is stored If TimeOutFlag 1 pBuffer will be NULL size The size of frame buffer If TimeOutFlag 1 size will be 0 UserData Additional user data specified in parameter of IMS_Register_CallBack TimeOutFlag f TimeOutFlag 0 a frame is ready If TimeOutFlag 1 Time out occurs The time out value is specified by TimeOut_ms of IMS_Start_Acquire Return None 64 5 5Camera Acquisition IMS_Start_Acquire Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Start_Acquire I16 CamID U32 NumFrames U32 TimeOut_ms Visual Basic 6 0 IMS_Start_Acquire ByVal CamID As Integer ByVal NumFrames
59. on is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 86 IMS_GPIO_ Read Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_GPIO_Read I16 CamID U16 Channel bool Value Visual Basic 6 0 IMS_GPIO_Read ByVal CamID As Integer ByVal Channel As Integer ByRef value As Boolean As Integer VC NET 2005 short IMS_GPIO_Read Int16 CamID UInt16 Channel IntPtr Value Description When GPIO 1 3 is set as general purposed input or output mode you can use this function to read its value For 3 3V or 5V input Value will be true For 0 V input Value will be false For GPIO mode setting please refers to IMS_Set_GPIOMode Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Channel The Channel ID value 1 3 for GPIO pin 1 3 individually Value Pointer to the variable that will be filled with current value of GPIO pin Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamiD is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_ GetLastError to retrieve th
60. or I16 CamID Visual Basic 6 0 IMS_GetLastError ByVal CamID As Integer As Integer VC NET 2005 short IMS_GetLastError Int16 CamID Description When ever you get a RETURN_CHECK_LASTERROR in previous function call use this to retrieve detail error information Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Return The Error code definition as below CAM ERROR Generic Error This error typically indicates some problem from the Windows I O subsystem A call to the win32 GetLastError should prove enlightening CAM _ERROR_UNSUPPORTED The feature or function is not supported CAM_ERROR_NOT_ INITIALIZED The camera is not properly initialized CAM ERROR_INVALID VIDEO SETTINGS The selected video settings are not supported CAM_ERROR_BUSY Many functions are NOT allowed while acquiring images you must stop it first CAM ERROR_INSUFFICIENT RESOURCES Insufficient memory or bus bandwidth is not available to complete the request 58 CAM_ERROR_FRAME_TIMEOUT This error indicated that the timeout has expired CAM_ERROR_PARAM_OUT_OF_ RANGE Many parameters have been bounds one of them has been exceeded and no frame is ready CAM_ERROR_FEATURE_UNAVAILABLE This error indicated that feature is not available CAM_ERROR_SW_TRIGGER_NOT_SET This error indicated that the software trigger function is not correctly set correc
61. ove the blank metal plate located at the back of the selected slot if any Keep the removed screw to fasten the 1394 card after installation 4 Carefully plug in the 1394 card in the selected PCI or PCI E slot as illustrated below If using a tower computer orient the board to suit the board slots 27 32 BIT POI BOARD SLOT PCLE BOARD SLOT 5 Once perfectly aligned with an empty slot press the card firmly but carefully in to the connector 6 Anchor the board by replacing the screw 7 Using 1394 cable 1394b interface card uses 1394b cable 1394 interface card uses 1394a to 1394b bilingual cable to connect Sparrow IMS Series 1394b camera to 1394 card and GPIO cable wiring if necessary For image acquisition test please refer to the EZView Pro Utility 8 Turn on the system and you will be able to find the 1394 Host controller device with Device Manager 9 If you need to extend your working distance please using 1394 repeater directly DO NOT input DC power to 1394 repeater when using IPC PC platform The DC power input may damage your 1394 card or 1394 host controller circuit 28 3 1 3 Notebook PC PCMCIA Socket e l your notebook PC has an de iLink S400 interface port then your notebook PC has a built in 1394 host controller So please follow the steps for installation 1 Please prepare one IEEE 1394 repeater one 4 pin to 6 pin IEEE 1394 cable one 9 pin to 6
62. pin IEEE 1394a to 1394b bilingual cable and one walkman type DC power adapter first 2 Please use 4 pin to 6 pin IEEE 1394 cable and 4 pin connector to iLink S400 interface port and 6 pin connector to 1394 repeater 3 When 6 pin connection to 1394 repeater then please plug in DC power adaptor and another 6 pin to 6 pin 1394 cable 4 9 pin to 6 pin 1394 connected to Sparrow IMS Series IEEE 1394 port and GPIO wiring connection if necessary 29 If your notebook PC does not have a 1394a interface port then please plug your 1394b PCMCIA card into the socket and follow the steps for installation 1 Please prepare one IEEE 1394b PCMCIA card one IEEE 1394b cable one GPIO cable and DC power supply unit sO 2 Plug IEEE 1394b PCMCIA card to Notebook PCMCIA socket as below Si LT fi HIS 154 PASI EPPS TES IPS Shea eet IIA E III III IIED ii TESIS III RI PIEDI fy HALT II ifs iff PAP 4 rA Li PE Arti ies Za 3 Use 1394b cable connected to IEEE 1394b PCMCIA card and Sparrow IMS Series IEEE 1394b port directly 4 Use GPIO connector and wiring out with DC power supply unit The GPIO pin 7 for external DC power and the GPIO pin 5 for the power GND 5 Plug GPIO cable into Sparrow IMS Series GPIO port and wiring the I O lines connection if necessary 30 3 2XP Driver Installation Do not plug in any Sparrow cameras before driver is installed completely Please refer to th
63. re Note CAMERA_FEATURE_BRIGHTNESS feature is always ON so you can t turn it off Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 FeatureID The camera features Feature Value The value of feature to be set 76 FeatureOnOff True turn on this feature False turn off this feature Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image E IMS_Get_Feature Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_Feature I16 CamID U32 FeatureID F32 FeatureValue bool FeatureOnOff Visual Basic 6 0 IMS_Get_Feature ByVal CamID As Integer ByVal FeatureID As Long ByRef FeatureValue As Single ByRef FeatureOnOff As Boolean As Integer VC NET 2005 short IMS_Get_Feature Int16 CamID Ulnt32 FeatureID IntPtr Feature Value IntPtr FeatureOnOff Description This function is used to get current value of specified features The FeatureID parameter spe
64. river install is completed please click the Finish button and restart your system Sparrow Setup InstallShield Wizard Complete The InstallShield Wizard has successtully installed Sparrow Click Finish to exit the wizard Cancel 33 8 After system re boot please plug in the Sparrow IMS Series cameras and go to Device Manager and make sure you see the ICPDAS IEEE 1394 digital camera Device in the list of ICPDAS Sparrow Es Device Manager File Action View Help Hs e IE EFF DESKTOP Computer Disk drives a Display adapters DYDICD ROM drives 24 Floppy disk controllers 43 Human Interface Devices IDE ATASATAPI controllers 8 IEEE 1394 Bus host controllers 8 ICPDAS Sparrow 38 ICPDAS 1394 Digital Camera Device 88 Jungo Keyboards Mice and other pointing devices Monitors B8 Network adapters Ports COM amp LPT de Processors e SCSI and RAID controllers 8 Sound video and game controllers Storage volumes 9 If here is another vendor s 1394 camera driver in system it may need to remove the other s driver and install Sparrow driver by manually 10 When the installation has been completed open EZView Pro utility for image acquisition test and please refer to 4 EZView Pro Utility for details 34 3 2 2 NI LabVIEW Users If you prefer to use LabVIEW from NI National Instruments for your system development then we
65. rom 12 to 30VDC One External 120W AC adapter Input 100 240VAC 2A 50 60Hz Output 19VDC Power Dimensions 195 mm W x 268 mm D x 107 mm H Construction Fan less design with aluminum cooling chassis Operating temperature Ambient air temperature 0 C to 40 C VISION BOX case Surface Temperature of Chassis Environment gt 5 C to 45 C W HDD 10 C to 50 C W CF card only Storage temperature 20 C to 80 C Relative humidity 10 to 90 Non condensing Certification CE FCC A 23 2 2 2 1394 Interface Cards Sparrow camera series support to with both 1394a 1394b interface card 2 2 2 1 Dual port Card 101 4601 21 The 101 4601 21 is dual IEEE 1394 host controller PCI interface card lt supported simultaneous dual ports data transmission at rates of 400Mbps 32 bit PCI local bus complies with PCI 2 1 and 2 2 specification Host Bus Use only one IRQ for both OHCI 1 1 channels Interface Protocol Bus Master DMA 1394 Bus Transfer Rate 100 200 400 Mbps Host Bus Burst Data Rate Up to 133 MB s burst rate IEEE 1394 to PCI Chip 2x Ti TSB43AB21 External X 2 FW 6pin X 2 OHCI 1 FW 6pin X 1 OHCI 2 FW 6pin X 1 1394 Bus Power Connector Mini 4 pin DC 12V power connector Bus Power Connector with mini 4 pin DC 12V Power Connector Maximum 1394 Bus Transfer is 800 Mbps 400 Mbps per channel AN 5 2 2 2 2 1394 4 Channels 1394 Card IOI 46 1 22 mh 200 The 101 4601 22 is dual IEEE
66. s XP Service Pack 1 SP1 value Note If you try to use a value that is larger than 3 SidSpeed will use a value of S100 6 Quit Registry Editor 36 4 EzView Pro Utility Once hardware installation is completed please make sure the cameras are configured correctly in Device Manager before running the EZView Pro utility This chapter outlines how to establish a vision system and how to manually control the Sparrow camera series to verify correct operation EZView Pro provides an easy way on setting configuring testing and debugging the vision system Note EZView Pro is only available for Windows XP with a recommended screen resolution higher than 1024 x 768 4 10Overview PAI Pro MENU alien cercar EE amera Tool Icon Linea o foroenoomsaus00 Informaion amera Feature Setting J AS a x gt gt A C a aani o a gt Co o O 5 E E n a ae a do tae 1950 wy A gt g a Partial Image la ae MER Y Saturation degree mm Dispaly A ls ala i A 3 nb e Hue degree Parameters window a ATRAS a 0 MO 9 Setting a x amp a nr a a b es amp io gt s a gt 5 5 a ae Boa en e 9 a a e o e SI A A Full Image Display vyindowy FA 11111111144 PEA 1111111111 puta ire Cana zoo meo mos 195750_ frrmecone raro _ roger Status Current Image Frame Rate Trigger Status GPIO Status Message Information
67. se due the camera power off s AG 1 4 15 Software AES Project Encryption Sparrow IMS series camera offer an software AES project encryption function The system designer can use this function to generated unique security key to protected the copy right of their system The IMS_Get_Cameralnform function can get the unique hardware information of the camera and call AES _GET_REG function to set 16bytes AES key then will get 16bytes AES project encryption register code Model No Hardware ID 16bytes AES Key 16bytes AES Project Encryption Register Code ai Camera System Designer Normally the AES project encryption register code can be save into any device as customer need Also user can write the register code into the Data Flash of the camera via IMS_Write_DataFlash function The system designer can use IMS_Read_DataFlash to get this code to check whole system condition before system operation 1 4 16 Test Pattern Sparrow IMS series cameras offer an internal generated test pattern for testing camera transmission The test pattern will show a gray diamond pattern image when user enable the Test Pattern function and start acquired images AF Relative Response Relative Response I a F a 400 500 600 700 800 900 1000 1 5 Spectral Response Below is the spectral response curve of Sparrow IMS series camera CCD sensor and excludes the Lens and lighting source characteristics
68. sistor Short Current Voltage Current a 14 1 1 1 1 GPIO2 and GPIO3 Bi Direction Input Output Circuit The figure below shows the schematic for the GPIO2 and GPIO3 bi directional input or output circuit GPIO_EN R42 R57 5K1 y External voltage GPIN2 10K D8B po BATSLO7P6FILM GPIO2 tii GPIN3 DSA BAT54 07P6FILH R61 i 10K R51 392K I External Resistor 00 l R67 I GPOUT2 3K3 03A i t 5K1 R50 FMB3904 392K R66 GPOUT3 3K3 5K1 04B R75 FMB3904 10K n pm E Input Side gt Logic 0 input voltage OVDC TO 0 5VDC voltage at GPIO2 GPIO3 gt Logic 1 input voltage 1 5VDC to 30VDC voltage at GPIO2 GPIO3 gt Behavior between 0 5VDC and 1 5VDC is undefined and input voltages between values should be avoided gt To avoid damage connect the GND pin first before applying voltage to the GPIO line Output Side The maximum output current through the bi directional circuit is 25mA limit by PTC resistor and the output impedance is 40 Ohm The following table lists several external voltage and resistor combinations that have been tested to work with the bi directional GPIO when configure as output External Voltage External Resistor GPIO2 3 Voltage Short Current The following table lists the switching times for a standard GPIO pin assuming an output VCC of 5V and 1K Ohm resistor Parameter Value Fall Time 0 016us 15 1 4 12 Strobe Control This feature allows users to enable and para
69. t CAM _ERROR_LUT FILE DATA ERROR This error tells the data inside LUT file are not correct m CAM_ERROR_CANNOT_OPEN FILE This error tells the specified file name or path is not 59 IMS_CloseCamera Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_CloseCamera I16 CamID Visual Basic 6 0 IMS_CloseCamera ByVal CamID As Integer As Integer VC NET 2005 short IMS_CloseCamera Int16 CamID Description This is Camera closing function Before calling this function you must stop the image acquiring first After calling this you may remove the CamID specified camera from 1394 bus If you plug it again into 1394bus be sure to call IMS_ScanCamera And call IMS_InitCamera again if you want to operate the same camera Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 60 IMS Check _BusRate Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Check_BusRate I16 CamID U16 BusR
70. te_ 3 ACQUIRING_IMAGE Camera is acquiring image 0d 5 10 Lookup Table Control IMS_Set_LUT Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Set_LUT I16 CamID char LUT_FileName Visual Basic 6 0 IMS_Set_LUT ByVal CamID As Integer ByVal LUT_FileName As String As Integer VC NET 2005 short IMS_Set_LUT Int16 CamID string LUT_FileName Description This function is used to set LUT Look up Table The LUT_FileName specify the LUT file name including path If not specify the path current directory is searched Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 LUT_FileName File path and name of LUT file Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State RETURN_CHECK_LASTERROR Some error occurs please call IMS_GetLastError to retrieve the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 92 IMS_Get_LUT Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_LUT I16 CamID char LUT_FileName Visual Basic 6 0 IMS_Get_LUT ByVal CamID As Integer ByVal LUT_FileNa
71. the error code Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet 89 CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_ 3 ACQUIRING_IMAGE Camera is acquiring image 90 IMS_Get_Strobe Syntax Visual C 6 0 Boland C Builder 6 0 stdcall IMS_Get_Strobe I16 CamID F32 Delay_ms F32 Duration_ms Visual Basic 6 0 IMS_Get_Strobe ByVal CamID As Integer ByRef Delay_ms As Single ByRef Duration_ms As Single As Integer VC NET 2005 short IMS_Get_Strobe Int16 CamID IntPtr Delay_ms IntPtr Duration_ms Description This function is used to get current Strobe parameter Please refer to IMS_Set_Strobe Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 Delay_ms Pointer to the variable that will be filled with delay time value Duration_ms Pointer to the variable that will be filled with duration value Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned CAM State_1_NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_Sta
72. to 30V Input delay time 4us 2 GPIO1 Opto isolated output Default for Strobe Output Drive strength 25mA at 30V i 33v Power external devices up to 150mA O Q GPIO2 Bi directional Input Output 1 1 1 1 GPIOO Opto lsolated Input Circuit The figure below shows the schematic for the opto isolated input circuit Trigger_IN GPIO0 06 GPIO_EN BFS45C R82 133R Trigger_GND Logical o input voltage OVDC to 1DC voltage at OPTO_IN Logical 1 input voltage 1 5VDC to 30VDC voltage at OPTO_IN Maximum input current 8 3mA Behavior between 1VDC and 1 5VDC is undefined and input voltages between those values should be avoided NE Input delay time 4us S e 1 1 1 2 GPIO1 Opto Isolated Output Circuit The figure below shows the schematic for the opto isolated output circuit The maximum current allowed the opto isolated output circuit is 25mA limit by PTC resistor and the output impedance is 140 Ohm External voltage External Resistor OPTO_GND m Response Time The following table lists the switching times for the opto isolator in the output pin assuming an output VCC of 5V and 1K Ohm resistor Parameter Value Delay Time Sample voltage Resistor combinations The following table lists several external voltage and resistor combinations that have been tested to work with the GPIO1 opto isolated output OPTO_OUT OPTO_OUT External Voltage External Re
73. ual Basic 6 0 IMS_Register_CallBack ByVal CamID As Integer ByVal UserData As Long ByVal CallBackRoutine As Long As Integer VC NET 2005 short IMS_Register_CallBack Int16 CamID IntPtr UserData Callback CallBackRoutine Description This function is used to register callback routine Note If you successfully call IMS_Register_CallBack twice or more the last call will over write previous registration Parameters CamID The ID of Camera to be initialized If IMS_ScanCamera reports 3 available cameras then valid camera ID are 0 1 and 2 CallBackRoutine The call back routine Proto type is as below void __stdcall CallBackRoutine I16 CamID U8 pBuffer U32 size void UserData US TimeOutFlag More information about CallBackRoutine UserData Additional data that user can specify This data will be passed to callback routine when it is called Return RETURN_SUCCESSFUL Successfully RETURN_UNAVAILABLE The CamID is invalid or this function is not available in Current Camera State Current Camera State Camera State Description CAM State 0 NOT SCANNED Camera not scanned 62 CAM _State_ 1 NOT_INIT Camera was scanned but not initialized yet CAM State 2 INIT NOT ACQUIRING Camera was initialized but not in acquiring CAM_State_3 ACQUIRING_IMAGE Camera is acquiring image 3 63 CallbackRoutine Syntax Visual C 6 0 Boland C Builder 6 0 stdcall CallBackRoutine I16 CamID U8 pBuffer U32 size v
74. x 480_Mono8 S2ips 640 x 480_Mono16 52fps 640 x 480_RGB s2ips 800 x 600_Mono8 P ass 44fps 800 x 600_Mono16 o Bas 44fps 500 x 600_RGB o aes 36018 1024 x 768_Mono8 CT sets 36168 1028x768 Mono zs s61s 1024 x 768_RGB CT taps 2608 1250 x 960_ Monod CT aes 3008 1280 x 960 _Mono16 taps fo 31fps 1280 x 960_RGB CT ass 1668 1 6 3 ICP DAS IEEE 1394 products Model No IEEE 1394 Bandwidth VISION BOX Series VB 115 VB 216 400Mbps x 2 ports lIOl 4601 21 2 CH IEEE 1394a interface card 400Mbps x 2 ports lOl 4601 22 4 CH IEEE 1394a interface card 400Mbps x 2 ports 20 2 Hardware Reference 2 1 Sparrow IMS 30 IMS 130 2 1 1 Camera Specification Model No IMS 30 IMS 130 13 Sony 00D 18 Sony 00D Max Frame Rate Mono mode up to 83fps Mono mode up to 31fps at 1394b S800 Color mode up to 65fps Color mode up to 16fps A D Converter 12 bit Analog to Digital converter Image Data Format Mono 8 bit Mono 16 bit RGB 24 bit Data Flash 64K bytes Interfaces 9 pin IEEE 1394b for camera control and video data transmission 8 pin Hirose for four general purpose digital input and output supported Power Consumption 2 5W max at 12V S N Ratio 59dB 20 80 no condensation Storage Humidity 20 95 no condensation Certificated CE FCC I O Opto isolated Trigger Input x 1 Opto isolated Output x 1 Bi directional TTL GPIO x 2 sojla 2 1 2 Camera Interface C Mount GPIO Lens Hold
Download Pdf Manuals
Related Search
Related Contents
V-Max Dr Pepper Manual (Whole) 103504 - Online HPLANE Geophysical EM response of perfectly - Wiki Comment voyager en règle sur la ligne ? - Mairie de Ferney Thermomètres de référence 1523/1524 Manual Usuario SROM Samsung DIGIMAX V3 manual de utilizador User Guide: First Time Users Sony Xperia Z Ultra 16GB 4G White 仕様書【物品の購入】 Copyright © All rights reserved.
Failed to retrieve file