Home
Manual - ADLINK Technology
Contents
1. This function is used to initialize the ports of the Angelo Series card Each application program must call this function before any other functions can be used If the initialization is executed successfully it returns a value of 0 Note There are four ports for the PCL RTV 24 cPCl RTV 24 cPCl RTV 44 series card and one port on the PMC RTV 21 AngeloRTV_Close This function is used to release all resource from the ports of the Angelo Series card AngeloRTV_Software_Reset This function is used to reset the port to its initial state Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Initial U16 PortNo 116 AngeloRTV_Close U16 PortNo 116 AngeloRTV_Software_Reset U16 PortNo Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_ Initial ByVal PortNo As Integer As Integer AngeloRTV_Close ByVal PortNo As Integer As Integer AngeloRTV_Software_Reset ByVal PortNo As Integer As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Initial PortNo Smallint Smallint AngeloRTV_ Close PortNo Smallint Smallint AngeloRTV_ Software Reset PortNo Smallint Smallint Argument PortNo Port number is the zero indexof the Angelo series card for example there are two PCI RTV 24 Angelo cards card 0 card 1 in your system and each PCI RTV 24 has four ports so the first port of card 0 is 0 and the first port of card 1 is 4 30 e Function Library Return Code 0 ERROR_NoError 2 ERROR Card Not Exist make su
2. 2 3 1 1 Connectors amp Pin Definition Video Input amp GPIO Video input GPIO 6 9 9 6 O OO cei YO 1 5 Video input 5 1 em SS O O PINNO Function 6 OH video in 3 o s GE veer 4 Gwen 9 Gb Ps wy 1 5 eeeee Ol eeee O 6 3 J PNNO Function PINNO Function 1 otExemalinienup 6 GND EC Hardware Reference e 17 2 3 2 PMC RTV21G Specification Video Input e Four composite video color digitizers e Video input interface 10 pin header connectors e Coaxial cable suggested General Purpose I O Lines e _ The I O lines are TTL compatible and support 1 input and 1 output e GPIO interface Y One 10 pin header connector v The I O lines are internally pulled up They have the following characteristics MAX 5 25V i ov Output high voltage 1 0mA 5 Output low voltage 100 0mA O 5V User EEPROM e Support 1K bit EEPROM for user defined purposes Form Factor e 32bit 33MHz PMC socket board 18 e Hardware Reference 2 3 2 1 Connectors amp Pin Definition Video Input 0 0000 10 O O O 02 Funston ANNO mee RSR C e Ligen 3 Gwaen 4 OD 5 GD 6 D sen 7 Gwen s GN Me se 10 O O O D2 E es Hardware Reference e 19 Installation Guide 3 1 Hardware Installation 3 1 1 RTV series Use the following steps to install the RTV series board on the PCI bus 1 Remove the cover fro
3. Function PNNNO Funci n Goen CHS video n CH15 video in AND EE OEA nj 8 Hardware Reference e 7 GPIO CN8 9 0000 14 O O O D2 FINNO Foncion PINO Funcion e om 4 SotwareTigger0 INT extemal rengt 6 Software Trigger 5V 000002 FINNO Foncion PINO Function System reset 8 e Hardware Reference 22 _ cRTV series 2 2 1 CRTV24 Specification Video Input Four composite video color digitizers e Video input interface Four composite BNC connectors LED for channel status report e Coaxial cable suggested Channel Extension e Upto 8 channels extension e Channel extend interface Y _ 10 pin ribbon cable to on board 10 pin header connector for channel extension each header can extend to 4 channels for video inputs User EEPROM e Support 1K bit EEPROM for user defined purposes Form Factor e 32 64biV 33 66MHz 3U Compact PCI board Hardware Reference e 9 2 2 1 1 cRTV24 PCB Outline Drawing cH Con i d ER CH PCIBridge o El ST 7 A ES Lua p 2 2 1 2 Connectors amp Pin Definition Video Inputs CHO Channel 0 BNC CHO Status LED CH1 Channel 1 BNC CH2 Channel 2 BNC CH2 Status LED CH3 Channel 3 BNC ou Status LED CH3 Status LED 10 e Hardware Reference Channel Extension Video Input CN8 9 0000 0000002 FINNO
4. the image can be scaled down using selectable ratios Arbitrary cropping to a region of interest is possible The RTV series generates bitmaps in all popular color formats such as RGB YUV planar or packed System integrators will benefit from a watchdog timer for fault tolerant applications and from easy to use standard connectors Introduction 1 1 1 Features 1 1 1 Image Acquisition Acquisition speed NTSC 1 Camera 2 Cameras 3 Cameras 4 Cameras 8 Cameras Fields eo 120 180 240 240 Frames 30 eo 90 120 120 PAL 1 Camera 2 Cameras 3Cameras 4Cameras 8 Cameras Note The PMC RTV22 is capable of only up to 30 frames 60 fields in total acquisition speed Color Image The Color video format is compatible with the following composite video input formats NTSC M NTSC Japan PCL B PAL D PAL G PAL H PAL I PAM M PAL N and SECAM Monochrome Image The monochrome video acquisition is compatible with CCIR and EIA RS 170 Optional scaling Optional scaling of acquired image or portions of an image e Acquisition of a programmable area of interest e Scaling of the image down to 1 16 e Adjustment of hue for NTSC signals contrast 0 to 200 brightness and saturation 0 to 200 for U and V signals e Automatic chrominance gain control 1 1 2 VO Lines The Angelo series are fitted with TTL compatible I O lines protected against overloads and electrostatic discharges Every line may be con
5. AngeloRTV_Capture_Start PortNo Smallint CaptureNo Longlnt Smallint AngeloRTV_ Select_Channel PortNo Smallint Multiplex Smalllnt Smallint AngeloRTV Capture Stop PortNo Smallint Smallint Argument PortNo Port number is the zero index of the Angelo series card for example there are two PCL RTV 24 Angelo cards card 0 card 1 in your system and each PCI RTV 24 has four ports so the first port of card 0 is O and the first port of card 1 is 4 CaptureNo Capture number is the total frames to grab if this parameter is OxFFFFFFFF the grabbing won t stop until AngeloR TV_Capture_Stop is issued Multiplex Indicates the multiplex channels the bit definition is as follow s Bit O Channel O O for disable 1 for enable Bit 1 Channel 1 O for disable 1 for enable Bit 2 Channel 2 O for disable 1 for enable Bit 3 Channel 3 O for disable 1 for enable For example Multiplex 1 only channel O is enable Multiplex 2 only channel 1 is enable Multiplex 15 four channels are enable Return Code 0 ERROR NoError 7 ERROR Not Initialized Make sure the port has been initialized by AngeloRTV_Initial 9 ERROR_Invalid_PortNo Please input the correct PortNo parameter Example lt VC BCB gt AngeloRTV_Capture_Start AngeloRTV_Capture_Stop I16 Result U16 PortNo O U32 CaptureNo OxFFFFFFFF Result AngeloRTV_Capture_Start PortNo CaptureNo Result
6. AngeloRTV_Capture_Stop PortNo Function Library e 39 lt Visual Basic gt AngeloRTV_Capture_Start AngeloRTV_Capture_Stop Dim Result As Integer Dim PortNo As Integer Dim CaptureNo As Long PortNo 0 CaptureNo amp HFFFFFFFF Result AngeloRTV Capture Start ByVal PortNo ByVal CaptureNo Result AngeloRTV_Capture_Stop ByVal PortNo lt Delphi gt Var Result SmallInt PortNo SmallInt CaptureNo LontInt PortNo 0 CaptureNo INFINITE Result AngeloRTV_Capture_Start PortNo CaptureNo Result AngeloRTV_Capture_Stop PortNo 5 6 GPIO 8 EEPROM Function Name AngeloRTV_Set_GPIO_Sts PortNo Status Set Digital Output status AngeloRTV_Get_GPIO_ Sts PortNo Status Get Digital Input status AngeloRTV_Write_EEPROM PortNo Offset Value Write data into EEPROM AngeloRTV_Read_EEPROM Porto Offset Value Read data from EEPROM Description AngeloRTV_Set_GPIO_Sts There is one digital output channel in each port of the Angelo series card use this function to set the digital output status AngeloRTV_Get_GPIO_Sts There is one digital input channel in each port of Angelo series card use this function to get the digital input status AngeloRTV_Write_EEPROM This function is used towrite data intothe EEPROM the data in EEPROM will not be lost even when powered off AngeloRTV_Read_EEPROM This function is used to read data from the EEPROM the data in EEPROM wi
7. Function PINNO Function s en 6 meven Co cwwen s GOD e 9D o eno 2 2 2 CRTV44 Specification Video Input e Four composite video color digitizers e Video input interface Four composite BNC connectors e LED for channel status report e Coaxial cable suggested General Purpose I O Lines e The I O lines are TTL compatible and support 4 input 4 output and 4 soft trigger lines e GPIO interface Y Two 10 pin header connectors on board v The VO lines are internally pulled up They have the following characteristics Voltage MI MAX Input high voltage 20i A 201 A 2 0V 5 2 Input low voltage 0 2mA 0 80V Output high voltage 1 0mA 50v Output low voltage 100 0mA 0 5V Hardware Reference e 11 Channel Extension e Up to 8 channels extension e Channel extend interface Y _ 10 pin ribbon cable to on board 10 pin header connector for channel extension each header can extend to 4 channels for video inputs User EEPROM e Support 1K bit EEPROM for user defined purposes Form Factor e 32 64bit 33 66MHz 6U Compact PCI board 12 e Hardware Reference 2 2 2 1 CRTV44 PCB Outline Drawing o Coe Digizer 1 o e 2 Digizer 2 PCI Bridge Digizer 3 Hardware Reference e 13 2 2 2 2 Connectors amp Pin Definition Video Input CHO Channel O BNC CHO Satus LED CH1 Channel 1 BNC cm Sta
8. valid between 0 and 127 Value The value in Byte data type this parameter is v alid between 0 and 255 Return Code 0 ERROR_NoError 7 ERROR_Not_Initialized Make sure the port has been initialized by AngeloRTV_Initial 9 ERROR_Invalid_PortNo Please input the correct PortNo parameter 15 ERROR_Invalid_Address the valid offset address should be between 0 and 127 Function Library e 41 O Example lt VC BCB gt AngeloRTV_Set_GPIO_Sts AngeloRTV Get GPIO Sts I16 Result I16 PortNo 0 U8 Status 1 Result AngeloRTV Set GPIO Sts PortNo Status Result AngeloRTV_Get_GPIO_Sts PortNo amp Status AngeloRTV_Write_EEPROM AngeloRTV_Read_EEPROM I16 Result 116 PortNo 0 U8 Offset 0 U8 Value 128 Result AngeloRTV_Write_EEPROM PortNo Offset Value Result AngeloRTV_Read_EEPROM PortNo Offset amp Value lt Visual Basic gt AngeloRTV_Set_GPIO_Sts AngeloRTV Get GPIO Sts Dim Result As Integer Dim PortNo As Integer Dim Status As Byte PortNo 0 Status 1 Result AngeloRTV_Set_GPIO_Sts ByVal PortNo ByVal Status Result AngeloRTV Get GPIO Sts ByVal PortNo ByRef Status 42 e Function Library AngeloRTV Write EEPROM AngeloRTV Read EEPROM Dim Result As Integer Dim PortNo As Integer Dim Offset As Byte Dim Value As Byte PortNo 0 Offset 0 Value 128 Result AngeloRTV_Write_EEPROM ByVal PortNo ByVal Offset ByVal Va
9. Angelo Multiple Channels Real Time Video Frame Grabber Series User s Manual Recycled Paper opyright 2003 ADLINK Technology Inc All Rights Reserved Manual Rev 1 00 March 31 2003 Part No Part No 50 12419 001 The information in this document is subject to change without prior notice in order to improve reliability design and function and does not represent a commitment on the part of the manufacturer In no event will the manufacturer be liable for direct indirect special incidental or consequential damages arising out of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks Angelo is a registered trademark of ADLINK_ Technology _Inc Microsoft Windows NT Windows 98 Windows 2000 Windows XP are registered trademarks of Microsoft Corporation Borland C Builder is a registered trademark of Borland International Inc Other product names mentioned herein are used for identification purposes only and may be trademarks and or registered trademarks of their respective companies Getting service from ADLINK Customer Satisfaction is the most important priority for ADLINK Tech Inc lf you need any
10. AngeloRTV Set Int Factor This function allows user to select factors to initiate the event interrupt the definition for each bit is as following Bit 0 GPIO interrupt Bit 1 lmage ready interrupt AngeloRTV_Set_Int_Event This function is used to link the interrupt event user only have to declare the hEvent variable and call this function to DLL the DLL will link the event and interrupt automatically AngeloRTV_Set_Callback This function is used to link the callback function when interrupt generates to host pc Note There are two ways to use the synchronization mechanism one is the callback function and the other is the thread function Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Get_Int_Status U16 PortNo U32 IntStatus 116 AngeloRTV_Set_Int_Factor U16 PortNo U32 IntFactor 116 AngeloRTV_Set_Int_Event U16 PortNo HANDLE hEvent 116 AngeloRTV_Set_Callback U16 PortNo void __ stdcall CallBackProc U32 VideoBufferaddress U16 PortNo 44 e Function Library Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_Set_Int_Event ByVal PortNo As Integer ByRef hEvent As Long As Integer AngeloRTV_Set_Int_Factor ByVal PortNo As Integer ByVal IntFactor As Long As Integer AngeloRTV Get Int Status ByVal PortNo As Integer ByRef IntStatus As Long As Integer AngeloRTV_Set_Callback ByVal PortNo As Integer ByVal CallBack As Long As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Set_Int_Event PortNo Smalli
11. IO amp EPROM Callback amp Thread AngeloR TV Select Channel PortNo Multiplex AngeloRTV_Capture_Stop PortNo 5 i Es AngeloRTV Set Int Event PortNo hEvent AngeloRTV Set Callback PortNo CallBackProc Watch Dog Timer 5 8 AngeloRTV Set WDT CardNo Enable Interval Software Trigger 5 9 AngeloRTV_Trigger_Config PortNo Interval AngeloRTV_Ttigger_Start CardNo Multiplex AngeloRTV_Copy_ frame PortNo Dest_Address Size_Byte Frame Buffer AngeloRTV_Get_frame PortNo Start_Address Size Byte Fame Cote AngeloRTV_Save_File PortNo FileName FileFormat 28 e Function Library o li o 5 2 C C Programming Library This section gives details of programming codes Function prototypes and common data types are defined in Angelo h The Angelo Series library uses these data types We suggest that these data types be used in your application programs The following table shows the data types and their range 32 bit unsigned long integer O to 4294967295 SE EE 3 402823E38 to 3 402823E38 cen 64 bitdouble precision 1 797683134862315E308 to floating point 1 797683134862315E309 Boolean logic value TRUE FALSE Function Library e 29 5 3 System Function Name AngeloRTV_Initial PortNo Initialize the port in Angelo series card AngeloRTV Close PortNo Close the port in Angelo series card AngeloRTV_Software_Reset PortNo Reset the port in Angelo series card Description AngeloRTV Initial
12. Invaild Video Format the valid video format should be between 0 and 5 11 ERROR_Invalid_Color_Format the valid video format should be between 0 and 8 Example lt VC BCB gt AngeloRTV_Set_Image_Config AngeloRTV_Get_Image_Config 116 Result 116 PortNo 0 U8 ConfigIndex 0 U8 Value 128 Result AngeloRTV_Set_Image_Config PortNo ConfigIndex Value Result AngeloRTV Get Image Config PortNo ConfigIndex amp Value Function Library e 35 AngeloRTV Set Color Format AngeloRTV Get Color Format AngeloRTV Set Video Format AngeloRTV_Get_Video_Format 116 Result 116 PortNo 0 U8 VideoFormat 0 U8 ColorFormat 3 Result AngeloRTV_Set_Color_Format PortNo ColorFormat Result AngeloRTV_Get_Color_Format PortNo amp ColorFormat Result AngeloRTV_Set_Video_Format PortNo VideoFormat Result AngeloRTV_Get_Video_Format PortNo amp VideoFormat lt Visual Basic gt AngeloRTV_Set_Image_Config AngeloRTV_Get_Image_Config Dim Result As Integer Dim PortNo As Integer Dim ConfigIndex As Byte Dim Value As Byte PortNo 0 ConfigIndex 0 Value 128 Result AngeloRTV_Set_Image_Config ByVal PortNo ByVal ConfigIndex ByVal Value Result AngeloRTV_Get_Image_Config ByVal PortNo ByVal ConfigIndex ByRef Value AngeloRTV_Set_Color_Format AngeloRTV_Get_Color_Format AngeloRTV_Set_Video_Format 36 e Function Library Ang
13. MCsocket maybe integrated with the cPCI CPU board or is a standalone system board for an embedded system Use the following steps to install the PMC RTV series board onto the PMC socket 1 Remove the cover from your computer using the instructions from your computer manual 2 Check that you have an empty PMC 82 bit socket that can accommodate the board If you do not have an empty slot remove a PMC board from your computer to make room for your PMC board Carefully position PMC RTV24 onto the PMC socket Once perfectly aligned with an empty PMC socket press the board firmly but carefully into the connector 5 Connect your video sources for image acquisition tests For details refer to the ViewCreator Utility 6 Turnon your computer In some cases when you boot up your computer the Plug and Play feature of Windows will detect the new PCI card 8 times 4 videos and 4 audios and you will be asked to assign a driver to it For details see the Installation Guide 22 e Installation Guide ViewCreator Utility After installing all the hardware it is necessary to correctly configure the cards and double check that everything is ok before running an application This chapter gives an outline for establishing a Wsion system and manually exercising the Angelo series cards to verify correct operation MewCreator provides a simple yet powerful means to setup configure test and debug the Vision system with the Ang
14. _Copy_Frame PortNo Dest_Address 0 Size_Byte AngeloRTV_Get_Frame Dim Result As Integer Dim PortNo As Integer Dim Size_Byte As Long Dim StrAddr As Long PortNo 0 Result AngeloRTV_Get_Frame ByVal PortNo Str_Add Size_Byte AngeloRTV_Save_File Dim Result As Integer PortNo 0 Result AngeloRTV Save File PortNo Image tif 0 lt Delphi gt AngeloRTV_Copy_Frame Var Result SmallInt PortNo SmallInt Size_Byte Longint Dest_Add array of Byte POrtNo 0 Size_Byte 640 480 3 SetLength Dest Add Size_Byte Result AngeloRTV_Copy_Frame PortNo Dest_Add 0 ize Byte o 56 e Function Library AngeloRTV Get Frame Var Result SmallInt PortNo SmallInt Size_Byte Longint Str_Add Pointer PortNo 0 Result AngeloRTV_Get_Frame PortNo Str_Add Size_Byte AngeloRTV_Save_File Var Result SmallInt PortNo Smalllnt PortNo 0 Result AngeloRTV Save File PortNo Image tif 0 Function Library e 57 Appendix Appendix A Architecture Example Video Source Tee BNC Adaptor Video Camera Video Monitor Terminal Video recipient Looped through Video recipient 58 e Appendix Appendix B Glossary Brightness Attribute of a visual sensation according to which an area appears to exhibit more or less light CCIR A shortcut to designate a scanning system used in Europe The CCIR system is made of two inter
15. are described below 4 3 1 Continuous grab Single channel display e Click the video port icon in the Tree Browser window A video frame will appear in the Image View window 2x2 channels e Click the Angelo Series card icon in the Tree Browser window All video ports in this card will appear in the Image View window All channels e Click the Local icon in the Tree Browser window All video ports in the system will appear in the Image View window 4 3 2 Video image configuration Video format e _ Click Format in the menubar andselect the format of the video camera The supported video formats are NTSC EIA PAL and CCIR Color format e The color format setting in ViewCreator is always RGB24 and is unchangeable but the color format of the application can changed Video size e Click View in the menu bar and select the image size required The supported video size listed below v FULL 640x480 for NTSC EIA 768x576 for PAL CCIR v CIF 320x240 for NTSC EIA 384x288 for PAL CCIR v OCF 160x120 for NTSC EIA 192x144 for PAL CCIR ViewCreator Utility e 25 4 3 3 Video adjustments Hue e _ Click and hold down the left mouse button on the Hue slider of the Control Panel and drag thecursor to change the value Values rangefrom 0 255 Contrast e _ Click and hold down the left mouse button on the Contrast slider of the Control Panel and drag thecursor to change the value Valu
16. atus amp 0x01 1 GPIO if Status gt gt 1 amp 0x01 1 Channel 0 of the nPort else if Status gt gt 2 amp 0x01 1 Channel 1 of the nPort else if Status gt gt 3 amp 0x01 1 Channel 2 of the nPort else if Status gt gt 4 amp 0x01 1 Channel 3 of the nPort ResetEvent hEvent Return TRUE 46 e Function Library AngeloRTV Set Int Factor PortNo IntFactor AngeloRTV Set Int Event PortNo amp hEvent pThread CreateThread NULL 0 IntThreadProc 0 O amp threadlD Use Callback Function U16 PortNo 0 void __stdcall MediaStreamProc U32 VideoBufferaddress U16 PortNo U32 Status AngeloRTV_Get_Int_Status PortNo amp Status if Status amp 0x01 1 GPIO if Status gt gt 1 amp 0x01 1 Channel 0 of the nPort else if Status gt gt 2 amp 0x01 1 Channel 1 of the nPort else if Status gt gt 3 amp 0x01 else if Status gt gt 4 amp 0x01 1 Channel 3 of the nPort 1 Channel 2 of the nPort AngeloRTV_Set_Callback Port No MediaStreamProc lt Visual Basic gt Use Callback Function Dim Result As Integer Dim PortNo As Integer Public Sub lpcallback ByVal VideoBufferaddress As Long ByVal PortNo As Integer Dim Status As Long Result AngeloRTV_Get_Int_Status PortNo Status End Sub PortNo 0 Result AngeloRTV_Set_Callback PortNo AddressOf lpcallback Function Library e 47 lt Delphi gt Use Threa
17. d Var ISR ON SmallInt Event_Angelo Integer ThreadId LongInt PortNo SmallInt PortNo 0 function ThreadFunc Parameter Pointer Integer var Str_Add Pointer Size_Byte Longint intstatus LongInt begin while ISR ON 1 do begin WaitForSingleObject Event_Angelo INFINITE ResetEvent Event_Angelo AngeloRTV_Get_Int_Status PortNo intstatus if intstatus 2 then image ready for channel O of port begin end end end AngeloRTV_Set_Int_Factor PortNo 3 GPIO amp Image Ready AngeloRTV_Set_Int_Event Port No Event Angelo ISR_ON 1 Mythread BeginThread nil 0 ThreadFunc nil 0 Threadld Use Callback function var PortNo SmallInt PortNo 0 procedure MyCallback VideoBufferAddress LongInt PortNo SmallInt stdcall var Str_Add Pointer Result Smallint Size Byte LongInt intstatus LongInt begin AngeloRTV_Get_Int_Status PortNo intstatus if intstatus 2 then begin end end AngeloRTV_Set_Callback Cur_Port MyCallback 48 e Function Library 5 8 Watch Dog Timer Name AngeloRTV_Set_WDT CardNo Enable Interval Set the watch dog status Description AngeloRTV_Set_WDT This function is used to enable or disable the watchdog timer for the Angelo series card and set the interval of the timer When the user has enabled thewatchdog timer and selected the 16 seconds interval the reset signal will be triggered if this function is not called within 16 secon
18. ds periodically Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Set_WDT U16 CardNo U16 Enable U16 Interval Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_Set_WDT ByVal PortNo As Integer ByVal Enable As Integer ByVal Interval As Integer As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Set_WDT CardNo Smallint enable Smallint interval Smallint Smalli nt Argument CardNo Card number is the zero index for Angelo series card for example there are two PCFRTV 24 Angelo cards card 0 card 1 in your system so the CardNo of card 0 is O and 4 for card 1 Enable enable or disable the watchdog timer 0 for disable 1 for enable Interval Indicates the watch dog timer interval the definition is as following 1 8 seconds 2 16 seconds 3 32 seconds Return Code 0 ERROR NoError 7 ERROR Not Initialized Make sure the port has been initialized by AngeloRTV_ Initial 9 ERROR_Invalid_PortNo Please input the correct PortNo parameter Function Library e 49 O Example lt VC BCB gt AngeloRTV_Set_WDT I16 Result U16 CardNo U16 Enable U16 Interval di Result AngeloRTV_Set_WDT CardNo Enable Interval 0 1 lt Visual Basic gt AngeloRTV_Set_WDT Dim Result As Integer Dim CardNo As Integer Dim Enable As Integer Dim Interval As Integer CardNo 0 Enable 1 Interval 1 Result AngeloRTV Set WDT CardNo Enable Interval lt Del
19. elo series card in place Note ViewCreator is available only for Windows 98 NT 2K XP with screen resolution of higher than 800x600 and cannot run under DOS 4 1 Overview ViewCreator offers the following features and functionality 1 32 bit operation under Windows 98 NT 2K XP Access and configuration of Angelo series card Ability to access all video picture adjustments Ability to save image file into BMP or TIF Direct access to the general purpose I O FULL CIF GCIF Image size 2x2 4x4 display NOOR ODN Software trigger ability Note ViewCreator is available only for Windows 98 NT 2K XP with screen resolution of higher than 800x600 and cannot run under DOS ViewCreator Utility e 23 4 2 Component description PS S Image Format View Tools Window Help l8 x del FI Brightness Contrast Hue F Border C ontrol ak EE EE GE Sn Panel wu Angelo 0 E Port 0 E Port 1 Esa Port 2 n Port 3 2003103018 d Tree Browser Image View Tree Browser The Tree Browser window lists the Angelo series cards and video ports available at the local computer Image View The Image View window displays the Full CIF QCIF size images and some image effect Control Panel The control panel allows for making video adjustments including brightness hue contrast etc 24 e ViewCreator Utility 4 3 Operation theory ViewCreator provides much functionality to access the Angelo series card The functions
20. eloRTV_Get_Video_Format Dim Result As Integer Dim PortNo As Integer Dim ColorFormat As Byte Dim VideoFormat As Byte PortNo O ColorFormat 3 VideoFormat 0 Result AngeloRTV_Set_Color_Format ByVal PortNo ByVal ColorFormat Result AngeloRTV_Get_Color_Format ByVal PortNo ByRef ColorFormat Result AngeloRTV Set Video Format ByVal PortNo ByVal VideoFormat Result AngeloRTV Get Video FormafByVal PortNo ByRef VideoFormat lt Delphi gt AngeloRTV_Set_Image_Config AngeloRTV_Get_Image_Config Var Result SmallInt PortNo SmallInt ConfigIndex Byte Value Byte PortNo 0 ConfigIndex 0 Value 0 Result AngeloRTV_Set_Image_Config PortNo ConfigIndex Value Result AngeloRTV_Get_Image_Config PortNo ConfigIndex Value AngeloRTV_Set_Color_Format AngeloRTV_Get_Color_Format AngeloRTV_Set_Video_Format Function Library e 37 AngeloRTV_Get_Video_Format Var Result SmallInt PortNo SmallInt VideoFormat Byte ColorFormat Byte PortNo 0 VideoFormat 0 ColorFormat 3 Result AngeloRTV_Set_Color_Format PortNo ColorFormat Result AngeloRTV Get Color Format PortNo ColorFormat Result AngeloRTV Set Video Format PortNo VideoFormat Result AngeloRTV Get Video Format PoriNo VideoFormat 5 5 Image Grabbing Function Name AngeloRTV Capture Start PortNo CaptureNo Start to grab the video image AngeloRTV Se
21. endix Warranty Policy Thank you for choosing ADLINK To understand your rights and enjoy all the after sales services we offer please read the following carefully 1 Before using ADLINK s products please read the user manual and follow the instructions exactly When sending in damaged products for repair please attach an RMA application form All ADLINK products come with a two year guarantee free of epair charge The warranty period starts from the product s shipment date from ADLINK s factory Peripherals and third party products not manufactured by ADLINK will be covered by the original manufacturers warranty End users reguiring maintenance services should contact their local dealers Local warranty conditions will depend on the local dealers Our repair service does not cover two year guarantee while damages are cause by the following h Damage caused by not following instructions on user menus Damage caused by carelessness on the users part during product transportation Damage caused by fire earthguakes floods lightening pollution and incorrect usage of voltage transformers Damage caused by unsuitable storage environments with high temperatures high humidity or volatile chemicals Damage caused by leakage of battery fluid when changing batteries Damages from improper repair by unauthorized technicians Products with altered and damaged serial numbers are not entitled to our service Oth
22. er categories not protected under our guarantees Customers are responsible for the fees regarding transportation of damaged products to our company or to the sales office Warranty Policy e 61 5 To ensure the speed and quality of product repair please download an RMA application form from our company website www adlinktech com Damaged products with RMA forms attached receive priority For further guestions please contact our FAE staff ADLINK service adlinktech com Test 8 Measurement Product Segment NuDAQ adlinktech com Automation Product Segment Automation adlinktech com Computer 8 Communication Product Segment NuPRO adlinktech com NulPC adlinktech com 62 e Warranty Policy
23. es rangefrom 0 255 Brightness e Click and hold down the left mouse button on the Brightness slider of the Control Panel and drag thecursor to change the value Values rangefrom 0 255 4 3 4 Save image file This function can only take affect under single channel display mode Selecting the video port in the Tree Browser windowwill cause ViewCreator to enter into the single channel display mode TIF e Click Image in the menu bar and select Save As to bring up the Save As dialog box Select the file location TIF file format and enter the file name then Click the OK button BMP e Click Image in the menu bar and select Save As to bring up the Save As dialog box Select the file location BMP file format and enter the file name then Click the OK button 26 e ViewCreator Utility 4 3 5 Special image effect Border Check the Border check box in the Control Panel A red dash borderline will appear around the image Drag the red line to change the border Only the image in the border gets refreshed Cross Line Check the Cross Line check box in the Control Panel A cross line will appear in the center of the rectangle 4 3 6 Tools GPIO amp LED Click Tool in the menu bar and select the GPIO amp LED item to bring up the GPIO dialog box Select the port you wish to access and thenselect the digital output value Click the write or read button to write read to the di
24. esult AngeloRTV_Trigger_Start CardNo Multiplex lt Visual Basic gt AngeloRTV_Trigger_Contig 52 e Function Library AngeloRTV Trigger Start Dim Result As Integer Dim CardNo As Integer Dim PortNo As Integer Dim Multiplex As Integer Dim Interval As Integer CardNo O PortNo O Multiplex 1 Interval 32 Result AngeloRTV_Trigger_Config PortNo Interval Result AngeloRTV_Trigger_Start CardNo Multiplex lt Delphi gt AngeloRTV_Trigger_Contig AngeloRTV_Trigger_Start Var Result SmallInt CardNo SmallInt PortNo SmallInt ultiplex SmallInt Interval SmallInt CardNo 0 PortNo 0 ultiplex 1 Interval 32 Result AngeloRTV_Trigger_Config PortNo Interval Result AngeloRTV_Trigger_Start CardNo Multiplex Function Library e 53 5 10 Frame Butter Name AngeloRTV Copy frame PortNo Deet Address Size_Byte Copy the frame date to the user allocated destination memory in size of byte AngeloRTV_Get_frame PortNo Start_Address Size_Byte Get the frame memory start address and size of frame in byte AngeloRTV_Save_File PortNo FileName FileFormat Save the video frane into image file Description AngeloRTV_Copy_frame This function is used to copy the frame data to the memory or array that the user has allocated Before using this function remember to allocate enough memory address space or array elements Ange loRTV_Get_frame This funct
25. figured as an input or output They can be used to trigger the acquisition or report alarms signal 2 e Introduction 1 1 3 Watchdog Timer A hardware watchdog is available on the RTV24 The watchdog is able to monitor the PC s application operation and will automatically reset the PC after a programmable inactivity time out This ensures reliable operation of remote systems 1 1 4 Supported software WDM driver The drivers support VC VB programming under Windows 98 2000 XP platform with DLL ViewCreator The package will assist in initial test and functional evaluation 1 2 Applications e PC Based Surveillance System e Digital Video Recorder DVR e Factory Monitoring System e Machine Vision Inspection System e Scientific Research Instrumentation e Medical Research Instrumentation Introduction e 3 Hardware Reference 2 1 RTV series 2 1 1 RTV24 Specification Video Input e Four composite video color digitizers e Video input interface Four composite BNC connectors e Co axial cable suggested Channel Extension e Up to 16 channels extension e Channel extend interface v _ 10 pin ribbon cable to on board 10 pin header connector for channel extension each header can extend to 4 channels for video inputs v Three 10 pin header connectors on board 4 e Hardware Reference General Purpose I O Lines e The I O lines are TTL compatible and support 4 inputs 4 outputs and 4 soft trigger lines e GPIO in
26. four ports so the first port of card 0 is O and the first port of card 1 is 4 Dest Address The destination memory address or array that user allocated Start Address The memory start address of the video frame Size Byte The memory size in byte FileName The file name user want to save remember to add the file extension name FileFormat The file format user want to save into the definition is as following 0 TIF image format 1 BMP image format Return Code 0 ERROR NoError 7 ERROR Not Initialized Make sure the port has been initialized by AngeloRTV_ Initial 9 ERROR Invalid PortNo Please input the correct PortNo parameter O Example lt VC BCB gt AngeloRTV_Copy_Frame 116 Result U16 PortNo 0 U32 Size_Byte 640 480 3 U8 Dest_Address NULL Dest Address U8 malloc Size_Byte Result AngeloRTV_Copy_Frame PortNo Dest_Address Size_Byte AngeloRTV_Get_Frame I16 Result U16 PortNo O U32 Size Byte U32 StrAddr Result AngeloRTV Get Frame PortNo amp StrAddr amp Size_Byte AngeloRTV_Save_File I16 Result U16 PortNo O Result AngeloRTV Save File PortNo Image tif 0 Function Library e 55 lt Visual Basic gt AngeloRTV_Copy_Frame Dim Result As Integer Dim PortNo As Integer DimSize_Byte As Long Dest_Address As Byte PortNo 0 Size_Byte 640 480 3 ReDim Dest_Address 0 To Size_Byte 1 As Byte Result AngeloRTV
27. gital VO ports LED status is only supported with the cPCI Angelo series card set the LED status and check the LED on the Angelo series card EEPROM Click Tool inthe menubar andselect the EEPROM itemto bring up the EEPROM dialog box Select the card you wish to access and enter the offset and output values then click the write button to write the value into the EEPROM Enter the offset value and click the read button to read the value from the EEPROM Valid offset values is between 0 127 Valid output value is 0 255 The value inthe EEPROM will not be erased when the system is powered off Software trigger Click Tool inthe menubar andselect the Software Trigger itemto bring up the Software Trigger dialog box Select the card you wish to access and then set the interval of your trigger pulse output Check the ports you want to trigger simultaneously and click the Trigger button The pulse output is in a one shot format and the voltage goes high from OV to 5V ViewCreator Utility e 27 Function Library This chapter describes the supporting A Pl for the Angelo Series cards User can use these functions to develop application programs under Visual C Visual Basic C Builder and Delphi 5 1 List of Functions Section AngeloRTV_ Initial PortNo System Function 5 3 AngeloRTV_Close PortNo AngeloRTV_ Software_ Reset PortNo iplex i E Configuration Function Image Grabbing Function GP
28. help or service please contact us ADLINK Technology Inc E http www adlink com tw http www adlinktechnology com Sales amp Service service adlink com tw NuDAQ nudaq adlink com tw sw adlink com tw mel Eeer FAx Wees 282868717 Address 9F No 166 Jian Yi Road Chungho City Taipei 235 Taiwan Please email or FAX us of your detailed information for a prompt satisfactory and constant service Detailed Company Information Company Organization Contact Person pO E mail Address pt EE luni __d_a_ A A_A He ui i Country TEL TAR Hd Web Site II Product Model EA OS Computer Brand M B Environment to Use Chipset Video Card Network Interface Card Other Table of Contents dee e ET ilo E 1 1 1 EOS Auteure eu ana 2 1 1 1 Image ACQUI SITION EE 2 1 1 2 VO Lines 1 2 lt Applications arih paaa e at 2 1 EAR 22 CRTV series saia iii 22 1 CRTV24 Specification 222 CRTV44 Specification 2 9 PMG RIV SOMOS E eta Shite al 23 1 PMC RTV21 Gpechiicaton sees ek RR RR RR RR RR RR Re 232 PMC RTV21G Gpecittcatton iese ee ek RR RR RR RR Re Installation Guide AAA 3 1 Hardware Installation 31 1 RI VSereS aun 3 1 2 cbIVGeries iese ee dadas ee ee 313 PMG RTV Series AE EE EES Vue CET UA 4 1 OVErVIiew eek ee 4 2 Component description 4 3 Operation theory 4 3 1 Continuous or b sesse 4 3 2 Video image config
29. ion is used to retrieve the memory start addressfrom the frame data and the size in byte of the frame data for example a FULL NTSC RGB24 video frame will occupy 900K Byte 640 480 3 memory address space AngeloRTV_Save_File This function is used to save the current video frame into image file the supported file format are BMP and TIF Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Copy_Frame U16 PortNo U8 Dest_Address U32 Size_Byte 116 AngeloRTV_Get_Frame U16 PortNo U32 Start_Address U32 Size_Byte 16 AngeloRTV_Save_File U16 PortNo char FileName U8 FileFormat Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_Copy_Frame ByVal PortNo As Integer Dest_Address As Byte ByVal Size_byte As Long As Integer AngeloRTV_Get_Frame ByVal PortNo As Integer Start_Address As Long Size_byte As Long As Integer AngeloRTV_Save_File ByVal PortNo As Integer ByVal FileName As String ByVal FileFormat As Byte As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Copy_Frame PortNo Smallint var Dest_Address Byte Size_byte Longint Smallint AngeloRTV_Get_Frame PortNo Smallint var Start_Address Pointer var Size_byte Longint Smallint AngeloRTV_Save_File PortNo Smallint FileName String FileFormat Byte Smalli nt 54 e Function Library Argument PortNo Port number is the zero index of the Angelo series card for example there are two PCI RTV 24 Angelo cards card 0 card 1 in your system and each PCLRTV 24 has
30. laced field of 312 5 lines for a total of 625 lines In each field only 287 5 lines are conveying visible lines for a total of 575 visible lines A line lasts 64 ms of which approximately 52 ms are conveying visible pixels Composite Video Composite video CVS CVBS signal carries video picture information for color brightness and synchronizing signals for both horizontal and vertical scans CIF CIF has 352 H x 288 V luminance pixels and 176 H x 144 V chrominance pixels QCIF is a similar picture format with one quarter the size of CIF EIA A shortcut to designate a scanning system used in America and Japan The EIA system is made of two interlaced field of 262 5 lines for a total of 525 lines In each field only 242 5 lines are conveying visible lines for a total of 485 visible lines typical value A line lasts 63 56 ms of which approximately 52 ms are conveying visible pixels Field For interlaced video the total picture is divided into two fields one even and one odd each contain one half of the total vertical information Each field takes one sixtieth of a second one fiftieth for PAL to complete Two fields make a complete frame of video Frame One frame two fields of video contains the full vertical interlaced information content of the picture For NTSC this consists of 525 lines and PAL a frame is consisted of 625 lines Appendix e 59 Gamma Cathode ray tubes CRTs do not have a linear relati
31. lect ChannelPortNo Multiplex channel extension of video signal for advanced only AngeloRTV Capture Stop PortNo Stop to grab the video image Description AngeloRTV Capture Start This function is used to continuously grab video frames and stops when the total frame number equals the CaptureNo parameter the frame update rate is 30 frames sec If the CaptureNo is OxFFFFFFFF the frame grabbing wort t stop until you call the AngeloRTV_Capture_Stop function AngeloRTV_Capture_Stop This function is used to stop grabbing video frames AngeloRTV Select Channel Angelo Series card is capable of channel extension this function is used to multiplex the video signal for the ports In most case us age this function should not be required because the default setting is one port is dedicated to one channel Note Do not use this function call if you don t have the channel extension board Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Capture_Start U16 PortNo U32 CaptureNo 116 AngeloRTV_Select_Channel U16 PortNo U16 Multiplex 116 AngeloRTV_Capture_Stop U16 PortNo 38 e Function Library Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV Capture Start ByVal PoriNo As Integer ByVal CaptureNo As Long As Integer AngeloRTV_Select_Channel ByVal PortNo As Integer ByVal Multiplex As Integer As Integer AngeloRTV_Capture_Stop ByVak PortNo As Integer As Integer Delphi Windows 98 NT 2000 XP
32. ll not be lost evenwhen powered off 40 e Function Library Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Set_GPIO_Sts U16 PortNo U8 Status 116 AngeloRTV_Get_GPIO_Sts U16 PortNo U8 Status 116 AngeloRTV Write EEPROM U16 CardNo U8 Offset U8 Value 116 AngeloRTV_Read_EEPROM U16 CardNo U8 Offset U8 Value Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_Set_GPIO_Sts ByVal PortNo As Integer ByVal Status As Byte As Integer AngeloRTV_Get_GPIO_Sts ByVal PortNo As Integer ByRef Status As Byte As Integer AngeloRTV_Write_EEPROM ByVal PortNo As Integer ByVal Offset As Byte ByVal Value As Byte As Integer AngeloRTV_Read_EEPROM ByVal PortNo As Integer ByVal Offset As Byte ByRef Value As Byte As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Set_GPIO_Sts PortNo Smallint status Byte Smallint AngeloRTV_Get_GPIO_Sts PortNo Smallint var status Byte Smallint AngeloRTV_Write_EEPROM PortNo Smallint Offset Byte Value Byte Smallint AngeloRTV Read EEPROM PortNo Smallint Offset Byte var Value Byte Smallint Argument PortNo Port number is the zero indexof the Angelo series card for example there are two PCHRTV 24 Angelo cards card 0 card 1 in your system and each PCI RTV 24 has four ports so the first port of card 0 is 0 and the first port of card 1 is 4 Status The digital input or digital output status O Low 1 High Offset The offset address of the EEPROM this parameter is
33. llInt for i 0 to 3 do begin Result AngeloRTV Close PortNo End AngeloRTV_Software_Reset var PortNo Result SmallInt for i 0 to 3 do begin Result AngeloRTV Software Reset PortNo End 32 e Function Library 5 4 Configuration Function Name AngeloRTV Set Image Config PortNo Configlndex Value Set the video adjustments AngeloRTV Get Image Config PortNo Configlndex Value Get the video adjustments AngeloRTV Set Color Format PortNo ColorFormat Set the color format AngeloRTV Get Color Format PortNo ColorFormat Get the color format AngeloRTV Set Video Format PortNo Value Set the video format AngeloRTV Get Video Format PortNo Value Set the videoformat Description AngeloRTV Set Image Config This function is used to adjust the hue contrast Saturation and brightness of the port for the Angelo series card AngeloRTV Get Image Config This function is used to retrieve the current hue contrast Saturation and brightness setting of the portfor the Angelo series card AngeloRTV Set Color Format This function is used to set the color format of the portfor the Angelo series card the valid color format are gray scale RGB YUV AngeloRTV Get Color Format This function is used to retrieve the color format of the port for the Angelo series card AngeloRTV Set Video Format This function is us ed to set the Video format of the portfor the Angelo series card the valid col
34. lue Result AngeloRTV_Read_EEPROM ByVal PortNo ByVal Offset ByRef Value lt Delphi gt AngeloRTV_Set_GPIO_Sts AngeloRTV Get GPIO Sts Var Result SmallInt PortNo SmallInt Status Byte PortNo 0 Status 1 Result AngeloRTV_Set_GPIO_Sts PortNo Status Result AngeloRTV_Get_GPIO_Sts PortNo Status AngeloRTV_Write_EEPROM AngeloRTV_Read_EEPROM Var Result SmallInt PortNo SmallInt Offset Byte Value Byte PortNo 0 Offset 0 Value 128 Result AngeloRTV_Write_EEPROM PortNo Offset Value Result AngeloRTV Read EEPROM PortNo Offset Value Function Library e 43 5 7 Callback 8 Thread Function Name AngeloRTV Get Int Status PortNo IntStatus Get the current interrupt status AngeloRTV_ Set Int Factor PortNo IntFactor Set the factor to initiate the interrupt AngeloRTV_ Set Int Event PortNo hEvent assign the windows interrupt event AngeloRTV Set Callback PortNo CallBackProc set the callback function when interrupt generates Description AngeloRTV Get Int Status This function allows user to identify what cause the interrupt signal the definition for each bit is as following Bit 0 GPIO interrupt when Digital input channel is changed Bit 1 Channel 0 Image ready Bit 2 Channel 1 Image ready Bit 3 Channel 2 Image ready Bit 4 Channel 3 Image ready Note There are four channels in each port the default channel is channel 0
35. m your computer using the instructions from your computer manual 2 Check that you have an empty PCI 32 bit slot that can accommodate the board If you do not have an empty slot remove a PCI board from your computer to make room for your RTV24 board and take note of the slot number you choose 3 Ifpresent remove the blank metal plate located at the back of the selected slot Keep the removed screw you will need it to fasten the RTV24 board after installation 4 Carefully position the RTV24 in the selected PCI slot as illustrated below If you are using a tower computer orient the board to suit the board slots in your computer SCREW PCI fom factor ono 32 BIT PCI BOARD SLOT 20 e Installation Guide Once perfectly aligned with an empty slot press the board firmly but carefully into the connector Anchor the board by replacing the screw that you removed Connect your video sources for image acquisition tests For details refer to the ViewCreator Utility Turn on your computer In some cases when you boot up your computer the Plug and Play feature of Windows will detect the new PCI card 8 times 4 videos and 4 audios and you will be asked to assign a driver to it For details see the Installation Guide 3 1 2 cRTV Series Use the following steps to install the cRTV series board onto the Compact PCI bus 1 F h JU t Board Remove the cover from your computer using the in
36. nt var hEvent Integer Smallint AngeloRTV_Set_Int_Factor PortNo Smallint IntFactor Longint Smallint AngeloRTV_Get_Int_Status PortNo Smallint var IntStatus Longint Smallint Argument PortNo Port number is the zero index of the Angelo series card for example there are two PCHRTV 24 Angelo cards card 0 card 1 in your system and each PCI RTV 24 has four ports so the first port of card 0 is 0 and the first port of card 1 is 4 IntStatus Interrupt status Bit 0 GPIO interrupt when Digital input channel is changed Bit 1 Channel 0 Image ready Bit 2 Channel 1 Image ready Bit 3 Channel 2 Image ready Bit 4 Channel 3 Image ready IntFactor Interrupt flags Bit 0 GPIO interrupt O for disable 1 for enable Bit 1 lmage ready interrupt O for disable 1 for enable hEvent Interrupt event handle Return Code 0 ERROR_NoError 7 ERROR_Not_lnitialized Make sure the port has been initialized by AngeloRTV_Initial 9 ERROR_Invalid_PortNo Please input the correct PortNo parameter Function Library e 45 Example lt VC BCB gt Use Thread HANDLE hEv ent NULL void pThread NULL U32 threadlD U16 PortNo 0 U32 IntFactor 0x03 GPIO amp lmage Ready DWORD nObj U32 Size_Byte U32 Status 0 116 ISR_ON 0 DWORD WINAPI IntThreadProc LPVOID IpParam while ISR ON nObj WaitForSingleObject hEvent INFINITE AngeloRTV_Get_Int_Status PortNo amp Status if St
37. oRTV_Set_Color_Format PortNo Smallint ColorFormat Byte Smallint AngeloRTV_Get_Color_Format PortNo Smallint var ColorFormat Byte Smallint AngeloRTV Set_Video_Format PortNo Smallint VideoFormat Byte Smallint AngeloRTV_Get_Video_Format PortNo Smallint var VideoFormat Byte Smallint Argument PortNo Port number is the zero index of the Angelo series card for example there are two PCI RTV 24 Angelo cards card 0 card 1 in your system and each PCI RTV 24 has four ports so the first port of card 0 is O and the first port of card 1 is 4 Configlndex O for BRIGHTNESS 1 for HUE 2 for SATURATION U 3 for SATURATION V 4 for CONTRAST LUMA 5 for luma notch filter for monochrome video the notch filter should not be used Value 0 2550 Range Default value BRIGHTNESSO 255 128 HUE 0 255 0 CHROMA U 0 255 127 CHROMA V 0 255 127 LUMA O 255 108 luma notch filter O Enable or 1 Disable 34 e Function Library Color Format RGB16 GRAY RGB15 RGB24 RGB32 RGB8 RAWSX 6 YUY24 2 2 7 BtYUV 4 1 1 8 Video Format Full NTSC 640 480 Full PAL 768 576 1 CIF NTSC 320 240 CIF PAL 384 288 3 QCIF NTSC 160 120 QCIF PAL 192 144 5 Return Code 0 ERROR_NoError 7 ERROR_Not_Initialized Make sure the port has been initialized by AngeloRTV_Initial 9 ERROR_Invalid_PortNo Please input the correct PortNo parameter BONO a 10 ERROR
38. onship between brightness and the input voltage applied To compensate for this non linearity a pre distortion or gamma correction is applied generally at the camera source A value of gamma equal to 2 2 is typical but can very for different CRT phosphors Hue Attribute of a visual sensation according to which an area appears to be similar to one or proportions of two of the perceived colors red yellow green and blue NTSC Shortcut to designate a color television broadcast standard used in America and Japan The M NTSC system uses 525 lines per frame 2 interlaced fields a 29 97 frame per second update rate and the YIQ or YUV color space In each field only 242 5 lines are conveying visible lines for a total of 485 visible lines typical value A line lasts 63 56 ms of which approximately 52 ms are conveying visible pixels PAL Shortcut to designate a color television broadcast standard used in Europe The B G H I PAL or Phase Alternation Line uses 625 lines per frame 2 interlaced fields a 25 frame per second update rate and the YUV color space In each field only 287 5 lines are conveying visible lines for a total of 575 visible lines A line lasts 64 ms of which approximately 52 ms are conveying visible pixels Saturation A characteristic describing color amplitude or intensity A color of a given hue may consist of low or high saturation value which relates to the vividness of color 60 e App
39. or formats are NTSC EIA PAL CCIR AngeloRTV_Get_ Video _Format This function is used to retrieve the Video format of the port for the Angelo series card Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV Set Image Config U16 PortNo U8 Configlndex U8 Value 116 AngeloRTV_Get_Image_Config U16 PortNo U8 Configlndex U8 Value 116 AngeloRTV_Set_ Color _Format U16 PortNo U8 ColorFormat 116 AngeloRTV_Get_ Color Format U16 PortNo U8 ColorFormat 116 AngeloRTV_Set_Video _ Format U16 PortNo U8 VideoFormat 116 AngeloRTV Set Video _ Format U16 PortNo U8 VideoFormat Function Library e 33 Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV Set Image Config ByVal PoriNo As Integer ByVal Configlndex As Byte ByVal Value As Byte As Integer AngeloRTV Get Image Config ByVal PortNo As Integer ByVal Configlndex As Byte ByRefValue As Byte As Integer AngeloRTV Set Color _Format ByVal PortNo As Integer ByVal ColorFormat As Byte As Integer AngeloRTV_Get_ Color _Format ByVal PortNo As Integer ByRef ColorFormat As Byte As Integer AngeloRTV Set Video _ Format ByVal PortNo As Integer ByVal VideoFormat As Byte As Integer AngeloRTV_Set_Video _ Format ByVal PortNo As Integer ByRef VideoFormat As Byte As Integer Delphi Windows 98 NT 2000 XP AngeloRTV Set Image Config PortNo Smallint Configlndex Byte Value Byte Smallint AngeloRTV Get Image Config PortNo Smallint Configlndex Byte var Value Byte Smallint Angel
40. phi gt AngeloRTV_Set_WDT Var Result SmallInt CardNo SmallInt Enable SmallInt Interval SmallInt CardNo 0 Enable Interval 1 Result AngeloRTV_Set_WDT CardNo Enable Interval 50 e Function Library 5 9 Software Trigger O Name AngeloRTV_Trigger_Config PortNo Interval Set software trigger configuration AngeloRTV_Trigger_Start CardNo Multiplex generate single or multiple trigger output simultaneity Description AngeloRTV_Trigger_Config This function is used to configure the pulse output interval AngeloRTV_Trigger_Start This function is used to generate one shot pulse output for single or multiple ports Syntax C C Windows 98 NT 2000 XP CE NET 116 AngeloRTV_Trigger_Config U16 PortNo U16 Interval 116 AngeloRTV_Trigger_Start U16 CardNo U16 Multiplex Visual Basic Windows 98 NT 2000 XP CE NET AngeloRTV_Trigger_Config ByVal PortNo As Integer ByVal Interval As Integer As Integer AngeloRTV_Trigger_Start ByVal CardNo As Integer ByVal Multiplex As Integer As Integer Delphi Windows 98 NT 2000 XP AngeloRTV_Trigger_Config PortNo Smallint Interval Smallint Smallint AngeloRTV_ Trigger Start CardNo Smallint Multiplex Smallint Smallint Argument CardNo Card number is the zero index for the Angelo series card for example there are two PCI RTV 24 Angelo cards card 0 card 1 in your system so the CardNo of card 0 is 0 and 1 for card 1 PortNo Po
41. re the Angelo series card is plugged into your system check the device manager to make sure the device is loaded and the PortNo parameter is valid 3 ERROR_Card_Not_Accessible make sure the Angelo series card is plugged into your system check the device manager to make sure the device is loaded and the PortNo parameter is valid 12 ERROR_CPLD_Check_Failed Power off the computer and power on again Example lt VC BCB gt AngeloRTV_Initial I16 Result for int PortNo 0 PortNo lt 4 PortNot Result AngeloRTV Initial PortNo AngeloRTV_Cose I16 Result for int PortNo 0 PortNo lt 4 PortNot Result AngeloRTV Cose PortNo AngeloRTV_Software_Reset I16 Result for int PortNo 0 PortNo lt 4 PortNot Result AngeloRTV Software Reset PortNo lt Visual Basic gt AngeloRTV_ Initial Dim Result As Integer Dim PortNo As Integer For PortNo O To 3 Result AngeloRTV Initial ByVal PortNo AngeloRTV_Cose Dim Result As Integer Dim PortNo As Integer For PortNo O To 3 Result AngeloRTV Close ByVal PortNo Function Library e 31 AngeloRTV_Software_Reset Dim Result As Integer Dim PortNo As Integer For PortNo 0 To 3 Result AngeloRTV Software Reset ByVal PortNo lt Delphi gt AngeloRTV_ Initial var PortNo Result SmallInt for i O to 3 do begin Result AngeloRTV Initial PortNo End AngeloRTV_Cose var PortNo Result Sma
42. rt number is the zero index in Angelo series card for example there are two PCI RTV 24 Angelo cards card 0 card 1 in your system and each PCFRTV 24 has four ports so the first port of card 0 is 0 and the first port of card 1 is 4 Interval Indicates the trigger output interval the valid range is from 0 to 253 the definition is as following O 16 ms 32 12 ms 128 8 ms 253 60 Us Function Library e 51 Multiplex Indicates the trigger output ports in Angelo series card the bit definition is as following Bit O Port Bit 1 Port Bit 2 Port Bit 3 Port For example in each card 0 for disable 1 for enable in each card 0 for disable 1 for enable in each card 0 for disable 1 for enable in each card 0 for disable 1 for enable kt N PD Multiplex 1 only port 0 in Angelo series card generates trigger output Multiplex 2 only port 1 in Angelo series card generates trigger output Multiplex 15 four ports in Angelo series card generate trigger output Return Code 0 ERROR NoError 7 ERROR Not Initialized Make sure the port has been initialized by AngeloRTV_Initial 9 ERROR Invalid PortNo Please input the correct PortNo parameter Example lt VC BCB gt AngeloRTV_Trigger_Config AngeloRTV_Trigger_Start 116 Result U16 CardNo OF U16 PortNo O U16 Multiplex 1 U16 Interval 32 Result AngeloRTV_Trigger_Config PortNo Interval R
43. structions from your computer manual Check that you have an empty cPCl 32 bit 64 bit slot that can accommodate the board If you do not have an empty slot remove a cPCI board from your computer to make room for your cRTV24 3U cRTV44 6U board and take note of the slot number you choose If present remove the blank metal plate located atthe front of the selected slot Keep the removed screw you will need it to fasten the cRTV24 3U cRTV44 6U board Carefully position the cRTV24 or cRTV44 in the selected cPCI slot as illustrated below AN 32bit 3U CPC Back Plane 32bit 6U cPCI Back Plane 6U cPCI Board Figure 1 cRTV24 3U cPCl Figure 2 cRTV44 6U cPCl Installation Guide e 21 5 Carefully slide the cRTV24 3U cRTV44 6U along the guide of the chosen slot to the backplane and push the board firmly but carefully into the connector and then lock the board in place by pushing the release lever outwards Anchor the board by replacing the screw that you removed 7 Connect your video sources for image acquisition tests For details refer to the ViewCreator Utility 8 Turnon your computer In some cases when you boot up your computer the Plug and Play feature of Windows will detect the new PCI card 8 times 4 videos and 4 audios and you will be asked to assign a driver to it For details see the Installation Guide 3 1 3 PMC RTV Series The P
44. terface Y Two 10 pin header connectors on board v The I O lines are internally pulled up They have the following characteristics Voltage M IN Input high voltage 5 A 5 25V Input low voltage 5 A 0 0V 0 80V Output high voltage 1 0mA 50V Output low voltage 100 0mA 0 5V Watch Dog Timer e For monitoring the PC s application operation and will reset the PC after a programmable inactivity time out e Interface 2 pin header 4 channel software trigger output e 4channels programmable trigger s scale scale from 60uS 16mS 60uS 16m8S Trigger soi User EEPROM e Support 1K bit EEPROM for user defined purposes Form Factor e 32bit 33 66MHz PCI bus half size board Hardware Reference e 5 2 1 1 1 RTV24 PCB Outline Drawing n 4021610 2 CNB CN9 po Aldo J Edema PCI Bridge w a 49z161 S f CIC CT A id Jezi ig JP1 Be 2 1 1 2 Connectors amp Pin Definitions Video Inputs Video IN CH O Video IN CH 2 Video IN CH 3 Connector 6 e Hardware Reference Channel Extension Video Input CN2 9 0 000 10 O O O 02 am Funci n FINN Function 5 oo 6 even ll 7 cwwen s GD b9 e UU OD Channel Extension Video Input CN3 70000 O01 000002 Function PNNO Funci n end e gaer ivan 8 EO Channel Extension Video Input CN5 7100001 000002
45. tus LED CH2 Channel 2 BNC 9 cHestausteo CH5 Channel 3 BNC P CH3 Status LED Channel Extension Video Input CN8 7100001 10 8 0 O 02 PNNO Function PNNO Function CH4 video in 5 b 6 even 7 Gwen 8 eND 9 op fo ap 14 e Hardware Reference GPIO O e PIN INO and OUTO is used by channel 0 e PIN IN1 and OUT1 is used by channel 1 e 1 5_ x 00000 a ie KEE 1 otExemalinterupi_6 GND_ b om 7 GN somal orun 8 NO e PIN IN2 OUT2 is for channel 2 e PIN IN3 OUTS is for channel 3 e 1 6_ 00000 EES J PINO Fani ANNO Funci n 7 Ne Esemd nor 6 GND EER id I 3 NB External interop 3 GND b4 AS EE ew I i Hardware Reference e 15 23 PMC RTV series 2 3 1 PMC RTV21 Specification Video Input e Four composite video color digitizers e Video input interface DB 9 female connectors e Coaxial cable suggested General Purpose I O Lines e _ The I O lines are TTL compatible and support 1 input and 1 output e GPIO interface v One DB 9 male connector v The I O lines are internally pulled up They have the following characteristics 201 A 2 0V 5 2 Input low voltage 0 2mA 0 80V Output high voltage 1 0mA 50v Output low voltage 100 0mA O 5V User EEPROM e Support 1K bit EEPROM for user defined purposes Form Factor e 32bit 33MHz PMC socket board 16 e Hardware Reference
46. uraHON ees se se ee ee Re Ge GR Re Ge Ge Re 4 3 3 Video aciustrmente see se ee ee Re Ge Ge Re Ge Ge Re Ge GR Re Ge Ge Re 43 4 Save image file 4 3 5 Special image effect 4 36 TOOlS LIL LL ES RE Table of Content ei Function Library monica 5 1 List of Functions 5 2 C C Programming Library 5 3 System FUuncCHON ees see 5 4 Configuration Function 5 5 Image Grabbing Function 5 6 GPIO 8 EEPROM Function 5 7 Callback amp Thread Function 5 8 Watch Dog Timer 5 9 Software Trigger S Ge 5 10 Frame Butler stenge GR UR di del atta ile 54 PPP Oi ix E 58 Appendix A Architecture Example ANEN 58 Appendix B Glossary Warranty Policy ii e Table of Content Introduction Angelo is a series acquisition board designed without compromise for security and video surveillance applications It constitutes an ideal device for PC based multiple channel digital video recorder This 32 bit 64bit 33MHZ 66MHz in PCI cPCI PMC bus frame grabber captures simultaneously four video analog streams in real time It accepts standard composite color PAL NTSC or monochrome video formats CCIR EIA The resolution is programmable including the square pixel resolution 640 x 480 or 768 x 576 and the broadcast resolution Before images are transferred into the PC s memory
Download Pdf Manuals
Related Search
Related Contents
車速連動オートドアロックシステム取付・取扱説明書 Alcatel OneTouch 720/720D Quick Start Manual Runco VX-22D User's Manual indicates number for 6 lane tracks modd. TITANIA64, TITANIA32, TITANIA16 Copyright © All rights reserved.
Failed to retrieve file