background image

pciGrabber-4x4 

 

 

 

 

 

12

 

 PHYTEC Messtechnik GmbH 2008     L-720e_0 

 
The pciGrabber-4x4 will activate an interrupt in case of certain events 
or a distinct operational status.  
 
The Grabber is only a 

single function device

 so only the interrupt line 

/INTA  of  the  PCI-bus  can  be  used.  To  this  PCI-bus-interrupt  an 
interrupt of the PC is allocated via the BIOS, so that the program can 
react to this event. 
The source of the interrupt can be determined from the interrupt status 
register of the Grabber.  
 
Several  boards  can  trigger  the  same  interrupt  /INTA,  it  must  be 
determined which board caused the interrupt. 

Содержание pciGrabber4x4

Страница 1: ...A product of a PHYTEC Technology Holding company Grabber 4x4 Hardware Manual Edition January 2009...

Страница 2: ...Messtechnik GmbH offers no guarantee nor accepts any liability for damages arising from the improper usage or improper installation of the hardware or software PHYTEC Messtechnik GmbH further reserve...

Страница 3: ...alling the Demo Program 25 4 Connecting Video Sources 26 4 1 Possible Video Connections 28 4 1 1 The S Video Cable 30 4 1 2 The Composite Cable 30 4 2 Extension Card VZ 012 31 4 3 Overview about all v...

Страница 4: ...0 80 6 2 3 Application of the Device Driver for Windows 2000 XP VISTA 84 6 2 4 Application of the DLL 85 6 2 5 Application of the Windows XP VISTATM Windows NT4 0TM Windows 2000TM DLLs 86 6 2 6 Progra...

Страница 5: ...7 Figure 11 Video Connector Cables Description and PHYTEC Order Number 28 Figure 12 Connectors for the pciGrabber 4x4 29 Figure 13 Extension Card VZ 012 with ribbon cable 31 Figure 14 How to connect t...

Страница 6: ...iagram VD 012 part 2 68 Figure 39 InterlacedIimage Example with 9 Lines 70 Figure 40 Fields and Frames 71 Figure 41 Moving Objects Cause Comb Effects 71 Figure 42 Pixel and Control Data Flow Overview...

Страница 7: ...able 3 Pin Assignments of the Model VD 012 X2 16 Table 4 Connecting the I C Interface to the Combi Socket 17 Table 5 Pin Assignment for the Option Port X300 19 Table 6 Numbers of possible extension ca...

Страница 8: ...pciGrabber 4x4 PHYTEC Messtechnik GmbH 2008 L 720e_0...

Страница 9: ...e At the moment exists some kinds of pciGrabber4x4 models To these belong three kinds that are described in this manual The first one is the model VD 012 the second VD 012 X1 and the third one is VD 0...

Страница 10: ...pciGrabber 4x4 2 PHYTEC Messtechnik GmbH 2008 L 720e_0...

Страница 11: ...Delivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 3 Start Up Part 1 Installation and Start Up...

Страница 12: ...e following upon delivery A PCI Express card Installation CD with o Demo software Windows XP NT4 0 2000 and Windows VISTA o Driver software for Windows XP NT4 0 2000 and Windows VISTA o Labview driver...

Страница 13: ...ection of a color camera with a 4 pin Mini DIN plug S Video output Length aprox 2 m Order number WK051 BNC connector cable for connection of a camera with a BNC plug Order number WK058 2m or WK039 10m...

Страница 14: ...2 four Decoder Model VD 012 X1 four Decoder Model VD 012 X2 two Decoder Inputs Model VD 012 4 composite video inputs 75 1 Vss 1 optional 12 composite video inputs 75 1 Vss Model VD 012 X1 4 S Video in...

Страница 15: ...scalable in X and Y directions up to 14 1 Image Transfer Rate Half frame 20 ms Odd or even field Full frame 40 ms Odd or even field Image transfer to the main memory in real time Bus master transfer...

Страница 16: ...2 4 V Output Low Voltage VOL 0 4 V Input Low Current IIL 70 uA Input High Current IIH 70 uA 1 I2 C interface Master Parameter Symbol Min Max Transmission rate 1 fI2C 99 2 kHz 396 8 kHz Input High Volt...

Страница 17: ...ce plate Model VD 012 X1 4 x Mini DIN socket S Video input Pin header row 2x12 12 composite inputs not on the face plate Pin header row 2x6 GPIO port 8 x TTL I O not on the face plate I2 C interface P...

Страница 18: ...responds to the access time specified for the PCI master slot The effective transfer rate must be re oufficient to handle the volume of the image data otherwise information might be lost The pciGrabbe...

Страница 19: ...utomatically specified by the BIOS and no hardware wiring jumper setting is required Several pciGrabber 4x4 can be installed in one system The boards are configured automatically by the BIOS for diffe...

Страница 20: ...ction device so only the interrupt line INTA of the PCI bus can be used To this PCI bus interrupt an interrupt of the PC is allocated via the BIOS so that the program can react to this event The sourc...

Страница 21: ...al Data PHYTEC Messtechnik GmbH 2008 L 720e_0 13 Start Up 2 5 Socket Pinout Note The following description of the Grabber s connectors is intended only as a technical reference Figure 2 Connectors of...

Страница 22: ...pciGrabber 4x4 14 PHYTEC Messtechnik GmbH 2008 L 720e_0 Figure 3 Connectors of the pciGrabber 4x4 VD 012 X1 Figure 4 Connectors of the pciGrabber 4x4 VD 012 X2...

Страница 23: ...12 additional inputs available These inputs can be used with the extension Card VZ 012 see chapter 4 2 Version VD 012 X2 Two composite inputs available to the Grabber are located on the two BNC socket...

Страница 24: ...cation via BNC plugs and MINI DIN plugs see chapter 2 1 2 5 2 S Video Connection The advantage of this design is the separate conduct of brightness and color signal This prevents disturbing Moir effec...

Страница 25: ...Socket Note The maximum cable length is restricted due to the fact that the I C interface is driven by TTL signals For a connected device depending on the configured transmission rate the maximum cab...

Страница 26: ...th an anti interference clamp or comparable interference suppression devices The clamp should be placed about 5 cm from the Grabber and the cable should be looped twice through the clamp For video cab...

Страница 27: ...interface to the user The signals are routed to a connector with 6 x 2 pins The connector is denoted as X300 pin 1 is located in the lower left Figure 5 shows the assignment of the pins Note The curr...

Страница 28: ...ally screwed Select a free PCI Express slot The free slots are normally the short white parallel slots on the motherboard Please refer to the computer s mother board s User s Manual to obtain more inf...

Страница 29: ...terference from neighboring contacts Caution For stability reasons and to ensure a secure Ground connection to the computer s housing screw the card to the housing see Figure 6 Close the computer s ho...

Страница 30: ...e computer has recognized the card the user is offered the option to install the driver Select the Search for the best driver for the device option from the Hardware Assistant window and then confirm...

Страница 31: ...s located under Windows NT In the window that will appear select the PCI Grabber and then select Install drivers and WindowsNT4 0 After following the directions from the installation program the neces...

Страница 32: ...and works with the programs to process these images The driver enables the Grabber and camera to function as a scanner device For additional information on the Twain driver please refer to the User s...

Страница 33: ...ns To install the program Place the PHYTEC Vision Utilities CD into the CD ROM drive The CD ROM drive must be selected and the program start exe found in the CD s main directory must be started Select...

Страница 34: ...r S Video Depending on the Grabber model up to four composite VD 012 or up to four S Video sources VD 012 X1 can be connected to the Grabber At the VD 012 X2 can be connected up to two composite and u...

Страница 35: ...ivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 27 Start Up Figure 9 Overview of the pciGrabber 4x4 Connectors VD 012 X1 Figure 10 Overview of the pciGrabber 4x4 Connectors VD 012...

Страница 36: ...ection entitled Technical Data 4 1 Possible Video Connections Various video source connections for the Grabber are briefly described in this section All of the pictured cables can be ordered from PHYT...

Страница 37: ...Delivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 29 Start Up Figure 12 Connectors for the pciGrabber 4x4 The following section briefly describes the above depicted cables...

Страница 38: ...4 1 2 The Composite Cable It is possible to connect the composite outputs BNC plug with a video source using a BNC plug Note If the composite sources contain a cinch socket then a cinch BNC adapter 7...

Страница 39: ...use all the additional Video inputs on pin header row X800 In Figure 13 you can see the Card Figure 13 Extension Card VZ 012 with ribbon cable Dimensions 55 x 90 x 20 mm plus face plate and slot The...

Страница 40: ...ension card can be used at the pciGrabber 4x4 variants extension card 1 extension card 2 extension card 3 VD 012 VD 012 X1 VD 012 X2 Table 6 Numbers of possible extension cards Figure 14 How to connec...

Страница 41: ...elivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 33 Start Up Figure 15 Jumper settings for three VZ 012 for VD 012 und VD 012 X1 Figure 16 Jumper settings for VZ 012 for VD 012 X2...

Страница 42: ...nputs This chapter will give you an complete overview about all the video inputs inclusive the extension video inputs from the extension cards VZ 012 The jumper settings of the extension cards must be...

Страница 43: ...Delivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 35 Start Up Figure 18 Video inputs VD 012 X1 Figure 19 Video inputs VD 012 X2...

Страница 44: ...pciGrabber 4x4 36 PHYTEC Messtechnik GmbH 2008 L 720e_0...

Страница 45: ...led see section 3 The demo program can be found under START Programs Phytec pciGrabber4plus Grab4PCI After this program has been started an empty program window will appear with menu options see Figur...

Страница 46: ...ttings Menu To select the decoder at the pciGrabber 4x4 the user must define which decoder the demo program is directed towards Select the appropriate number in the Grabber selection field In the area...

Страница 47: ...07 or compatible In this case the exact type of card cannot be recognized and model VD 007 is automatically configured To avoid this problem select the installed Grabber from the list and configure it...

Страница 48: ...20e_0 Click on the Image button and the following pull down menu will appear see below Figure 22 Menu Option Image In order to configure the parameters of the image to be grabbed select the Image Sett...

Страница 49: ...r To display the image on the monitor the following requirements must be met It is important to select the proper video input for the Grabber In the Channel selection field fill in the type of video s...

Страница 50: ...Decoder 2 MINIDIN at socket VD 012 X1 Decoder 3 MINIDIN at socket VD 012 X1 Decoder 4 MINIDIN at socket or VD 012 X2 Decoder 1 Channel 1at socket MINIDIN at socket VD 012 X2 Decoder 2 Channel 1 at soc...

Страница 51: ...Delivery Contents Technical Data PHYTEC Messtechnik GmbH 2008 L 720e_0 43 Start Up Figure 24 Live Image from the Video Source...

Страница 52: ...window The value represents the number of images that are generated per second in the live window The value is dependant on the size of the image and the capacity of the computer because the digitized...

Страница 53: ...uses a PCI Express to PCI Bridge This means that all video decoder operates together on a PCI bus The PCI bus works only on the grabber card Through the bridge the PCI bus is linked to the PCI Express...

Страница 54: ...5 MB s 44 2 MB s Table 7 Example data volumes PAL 25fps Numbers of decoders RGB32 720 x 480 RGB32 640 x 480 RGB32 580 x 400 RGB16 720 x 480 Y8 Gray 720 x 480 1 41 5 MB s 36 9 MB s 27 8 MB s 20 7 MB s...

Страница 55: ...icture becomes streaky The stripes arise from the fact that some picture data in absence of the capacity of the PCI bus can not be written fast enough in the main memory The data which cannot be trans...

Страница 56: ...rogram The Image Settings menu see Figure 26 contains parameters that influence image generation and depiction Figure 26 Image Setting Menu The parameters can be configured before a live image is disp...

Страница 57: ...sion boards VZ 012 16 video inputs are available S Video Source S Video or S VHS Sources become designated with MINIDIN The image source is connected to the round mini DIN socket The user can choose t...

Страница 58: ...distort the image geometry because it is not a scaled section rather then a cut out section Note Please note that scaling and cutting section processing is run in real time in the Grabber The Grabber...

Страница 59: ...ce the image is only represented by 228 rows excluding the invisible rows that precede and succeed the image as well as test and data rows A total of approximately 576 from 625 rows remain visible Dig...

Страница 60: ...tton doubles the number of displayed half frames per second This eliminates the 20 ms pause between the digitization of half frames Optically frames the image contents shifts a half line up and down w...

Страница 61: ...360 Pixel and otherwise deactivated Window Position can be used to determine the position of the image window contained in the above mentioned image section The values represent the position of the u...

Страница 62: ...ration and hue are adjusted The values are immediately applied to the Grabber so that the corresponding effects can be registered in the live image Figure 29 The Image Control Window For the adjustmen...

Страница 63: ...e Image entry a snapshot is taken and displayed on the screen In this mode the Grabber only performs one digitization The parameter Image Settings defines the image Using the parameter Live Image a li...

Страница 64: ...combination of them can be overlayed in the image 5 6 Special Functions The demo program offers several special functions to manipulate and analyze image contents Display Histograms Histogram enables...

Страница 65: ...0 and 255 Using the check boxes in the histogram window the curves of grey values or the separate color values can be turned on off Caution A histogram can only be created from a static image and not...

Страница 66: ...he live image display The color meter displays various color models for the color values of pixels embedded in the center of the image A small crosshair that appears in live image indicates the center...

Страница 67: ...value is also numbered Displaying Color Bars Select the Color Bars option in order to test the Grabber The color bars are generated from hardware and not the demo program The number of bars displayed...

Страница 68: ...ng an absolute calculation negative values are not allowed Eventually these negative values will display a meaningless and incorrect result Under the Constant option a constant can be added to each pi...

Страница 69: ...re 33 Selecting the Normalization Factor The actual value is displayed in the bottom section of the Arithmetic menu Caution Incorrect settings of the normalization factor will provide unsatisfactory r...

Страница 70: ...of images that were added and the capability of the computer The operation s status is displayed as a percentage in the lower section of the window Caution In order to ensure that the brightness for...

Страница 71: ...n or off further it possible to set the I Os as an input Jumper reading Der Menupunkt Features Test Hardware beinhaltet den Unterpunkt Option Port Figure 36 Option Port Men Jumper In this menu it is p...

Страница 72: ...s as well as the live window Exit closes and leaves the program 5 8 Getting Started with Linux For the pciGrabber 4x4 can be used the BTTV driver This driver is already included in most Linux distribu...

Страница 73: ...Programming Manual PHYTEC Messtechnik GmbH 2008 L 720e_0 65 Programming Manual Part 2 Programming Manual...

Страница 74: ...start the digitization Software drivers for different operating systems are available In this manual drivers for Windows XP VISTA Windows NT 4 0 Windows 2000 are explained Note In order to obtain the...

Страница 75: ...he pciGrabber 4x4 The composite input signal is connected to a 9 1 video multiplexer which is controlled via the PCI Bus The following A D converter digitizes this signal All image sources can be used...

Страница 76: ...x4 The processing of grey scale pictures with 256 grey graduations is already provided in the Grabber and can be activated by software Applying black white sources the sharpness of the image can be im...

Страница 77: ...PCI bus in an PCI Express bus The image data are transferred by DMA to the main memory of the PC For each field a separate DMA channel is used The transfer can be organized in different ways For this...

Страница 78: ...re 39 InterlacedIimage Example with 9 Lines Each field is built up within 20msec One field provides already the whole image but the vertical resolution is reduced to the half For many applications thi...

Страница 79: ...happen that the time between the digitization of the first and second field is so long that meanwhile the objects have moved some distance and both fields don t match anymore which will cause some re...

Страница 80: ...bandwidth of the PAL B G H I system is 5 MHz and the bandwidth of the chroma signal is 1 5 MHz The chroma signal is also denoted as U V signal for PAL standard or Q I signal for the NTSC standard V a...

Страница 81: ...rom the neighboring pixel The color is transferred and stored only at the half resolution of the brightness Since the bandwidth of the color information is already reduced by the TV system this proced...

Страница 82: ...ta transfer or for time intervals the PCI bus is not available to the Grabber that means some other devices become master are bypassed by a FIFO memory This allows only a short time span to bypass the...

Страница 83: ...applies the function set_image of the driver The driver starts two actions first the image size is set in the VideoScaler by values in the local registers of the Grabber via the PCI bus This implies t...

Страница 84: ...address region is reserved by the user program e g the definition of arrays The regions might be defined as shown in Figure 42 as two separate regions one for the odd and one for the even field or on...

Страница 85: ...t is necessary to wait until this field and the next following odd field are finished In the worst case a delay of 40msec two fields can be expected Now the demanded field can be digitized which will...

Страница 86: ...ded and stored to the hard disk The structure of the file directory is similar to Figure 43 The window on the left hand side displays path names These path names can be edited during installation in o...

Страница 87: ...device driver and corresponding DLLs must be copied into the Windows main directory in order to implement the pciGrabber 4x4 in a Window s operating system In addition the system driver must be regis...

Страница 88: ...ications can be found on the installation CD in the PCIGRAB4 DRIVER WINNT40 directory The files stored in this directory can be copied to a disk and run with user applications The user also has the op...

Страница 89: ...720e_0 81 Programming Manual Figure 44 Windows NT Registration Editor Open the Services folder Select the Edit New Key pull down menu and a new key will be created Name this new key pciGrabber4 as sho...

Страница 90: ...e this name in Start Right click on the newly created entry and select Modify In the dialog box that will appear enter the number 2 into the Value field Select the DWORD value command option from the...

Страница 91: ...om the system directory The driver reserves 1 2 MB for the pciGrabber 4x4 in the main memory The memory space is not available for other applications Caution Pay careful attention when changing the re...

Страница 92: ...under the Windows 2000 operating systems The driver also transforms linear memory addresses into physical memory addresses User programs do not have direct communication with the driver instead access...

Страница 93: ...the DLL must be available in the Windows system directory during program runtime In addition to GR4CDLL DLL the following DLLs are necessary for operation MSVCRT DLL CTL3D32 DLL MFC42 DLL Windows prov...

Страница 94: ...nition of the function pointer WORD PASCAL lpfn_GetError void Use GetProcAddress to obtain the relationship between the function pointer and the DLL Example lpfn_GetError WORD PASCAL void GetProcAddre...

Страница 95: ...efines the sequence of the pa rameter transfer to the stack and signals to Delphi that the called function frees the stack region which was used for the pa rameter function Grab4_Get_Error word stdcal...

Страница 96: ...pos nEhsize nEvsize nEppl nElines nEColformat word nColsystem word nInterlaced word nSingleShot word stdcall external gr4cdll dll name Set_Image const NTSC_M word 0 PAL_BDGHI word 1 SECAM word 2 PAL_M...

Страница 97: ...dware and its capabilities Routines that configure the Grabber configures for the grabbing process Functions from this group configure the Grabber to the connected image source camera These functions...

Страница 98: ...al with the features of the Grabber i e I O port I C interface etc These functions need only to be called when a corresponding Grabber feature is implemented Important In all the following routines th...

Страница 99: ...nt kind of Option Port and the numbers and mapping of video inputs are different Functions that are not compatible with the older driver version for the pciGrabber 4 are denoted with a star Please tak...

Страница 100: ...id address 11 write access denied Each execution of a diver function should be checked if it was successful For this purpose there is the function Get_Error Immediately after the execution of the func...

Страница 101: ...sionNumber void Return value Version number for the Grab4CDLL HighWord Major_Version_Number LowWord Minor_Version_Number The version number for the Grabber DLL can be obtained using these return value...

Страница 102: ...o section 2 4 The user has not to care about addresses or address regions when using the driver Those are converted internally into device numbers nDevNo Each pciGrabber 4x4 card in the system is assi...

Страница 103: ...Programming Manual PHYTEC Messtechnik GmbH 2008 L 720e_0 95 Programming Manual 0 nDevNo Max_Device_Number are accepted...

Страница 104: ...ature will be called return value Value of the specified feature This functions delivers information on the hardware in order to ensure optimal adaptation of the applications to the Grabber This funct...

Страница 105: ...ons Any available information can be found in the Header file Read Grabber Name as a Text String WORD Read_OrderCode WORD nDevNo unsigned char sCodeString DWORD dwSizeOfString sCodeString Pointer poin...

Страница 106: ...GrabberInfo Note If the pciGrabber 4 VD 007 or a related product is called up then the error code 6 and the string VD 007 or compatible is returned Grabber setting to the color system void Set_Color_S...

Страница 107: ...identification is finished Configuring the Composite Mode Composite Inputs void Set_Composite WORD nDevNo Calling this routine switches the Grabber onto the composite mode The chroma ADC is subsequent...

Страница 108: ...chroma ADC The excessive luma notch filter in the Luma path is deactivated creating a sharper image Set_S_Video also automatically connects the input channel to the S Video input S Video sources are...

Страница 109: ...e Combi socket second HD DN 15 socket If an active signal is found on the Combi socket then the Grabber is configured to the combi socket and the parameter COMBI is returned If a signal has not been f...

Страница 110: ...hes the channels automatically Caution For the following reasons when switching input channels stop inhibit times are to be take care of until an image for the new channel has been digitized Definitio...

Страница 111: ...t deactivate luma notch filter If a black white camera is connected to the Grabber a luma notch filter is not necessary which avoids disturbing color moir from the brightness signal Cross Color Effect...

Страница 112: ...on Non Interlace should be selected in order to reduce artefacts from the motion When displaying only half frames a 20 ms recess usually occurs between the two digitization events This is because the...

Страница 113: ...the AGC the mo dus Adaptive AGC is available In this case the overflow bit of the A D converter is monitored If an overflow occurs automatically the A D reference voltage is increased which causes an...

Страница 114: ...ffect by testing if the color burst is present and if necessary deactivates the color evaluation It might be desirable to digitize a color signal with a weak color carrier and the recognition of the c...

Страница 115: ...is function it can be determined how many images of the 50 or 60 images are dropped during digitization The other two parameters give instructions of the kind of omissions The parameter nAlign aligns...

Страница 116: ...ped vertically before it is stored in the image memory The lowest image memory address contains the lower left corner of the image This might be useful if image date are processed in BMP format Import...

Страница 117: ...video picture X direction ppl pixel per line nOlines required number of lines of the odd video picture nOColformat required color format RGB32 RGB24 RGB16 RGB15 Y8 YCrCb 4 2 2 YCrCb 4 1 1 nEhpos nEvpo...

Страница 118: ...without those letters are valid for both fields For both fields different sizes can be stated They might be stored in different memory regions and can be processed in different ways In Interlaced Mode...

Страница 119: ...t digitization is done in interlaced mode if the high resolution is required or you can reduce the resolution to ppl 360 lines 288 and the resolution will be proportional with 360 x 288 pixels Note Fo...

Страница 120: ...field was digitized If the section defined by hsize and vsize is smaller than the size of the area determined by ppl and lines the window can be moved in the digitized image with the parameter hpos an...

Страница 121: ...d hpos 1 hsize 200 ppl 202 admissible all pixels are in the image hpos 100 hsize 100 ppl 200 admissible hpos 100 hsize 200 ppl 300 admissible hpos 300 hsize 300 ppl 800 not admissible image has more p...

Страница 122: ...adratic size of 256 x 256 pixels The result is hsize 256 vsize 256 c Positioning It is advisable to center the section of the image In x direction only 256 pixels of 360 pixels are displayed in the wi...

Страница 123: ...ze of the Section Corresponding to the size of the window we set hsize 120 vsize 100 c Positioning With the parameter hpos and vpos the window section can be shifted 180 120 60 pixels in X direction a...

Страница 124: ...wo half frames in the vertical direction nOvsize nEvsize 500 Pixel 250 c Positioning It is useful to center the image In the X direction only 700 of the 720 pixels are displayed in the window Thus a b...

Страница 125: ...d are stored separately This is a standard which is used to process and handle color information For RGB32 32 bit a double word per pixel is utilized The lowest Byte of each double word contains the i...

Страница 126: ...RGB16 system except that all color channels have the same color depth each 5 bit 32 levels Therefore we yield 32 818 colors Altogether only 15 bits are necessary so that the upper bit of a word is a s...

Страница 127: ...t pixel which is used for both pixels The color information of the second pixel is not used BtYUV corresponds to YCrCb 4 1 1 Four pixels share one color information The arrangement of the information...

Страница 128: ...pciGrabber 4x4 120 PHYTEC Messtechnik GmbH 2008 L 720e_0 Figure 49 Color Format of the pciGrabber 4x4...

Страница 129: ...f the well known instructions for the allocation of memory for example malloc The Windows driver reserves an image memory space in which the image is placed How much memory will be used This will be c...

Страница 130: ...msec For frame mode nInterlaced 1 the Grabber stores continuously to the common memory 20 msec the odd and then 20 msec the even lines During the evaluation of the image it might be disturbing that t...

Страница 131: ..._Grabber starts grabbing with the device specified by nDevNo The result will be digitization with the beginning of the next available image If continuous grabbing was selected then one image after the...

Страница 132: ...the next complete even field will be digitized The delay from the start instruction to digitizing will be 40 msec b At the input an odd field is applied The even field following the odd field will be...

Страница 133: ...abber Show digitization status WORD Data_Present WORD nDevNo return value shows status of digitization values 0 15 4 bit The function Data_Present indicates if an even or odd image is stored in the me...

Страница 134: ...ation is started Caution Don t call the status too often during digitization since each inquiry will occupy the PCI Express PCI bus which might hinder the data transfer of the Grabber You might includ...

Страница 135: ...In this memory the Grabber stores the data of the digitized image with the following structure a Only even or only odd fields are digitized the parameters of the dimension of the other field are zero...

Страница 136: ...t of the framegrabber An interrupt can be generated at the end of every field The interrupt ist signaled to the software by the generation of an event Waiting for this event is a method to monitor the...

Страница 137: ...mine which field had been digitized the DataPresent function should be called immediately after the event had been signaled In case of continuos digitization this is done by evaluatiing the state of t...

Страница 138: ...no source is connected to the selected channel If no synchronizing pulses are detected for 31 lines it is anticipated that no source is applied If the returnvalue is two a source is applied Interferen...

Страница 139: ...ULTRALOCK synchronization Number of Processed Digitized Images With the pciGrabber 4x4 it is possible to count the number of digitized images The following two functions are used for this purpose Thes...

Страница 140: ...ess of 0 39 nBright brightness 2 5601 1 Reading the brightness setting short Get_Brightness WORD nDevNo return value Content of the register holding the value for brightness in the video processor Wit...

Страница 141: ...allows the separate setting of the color saturation for the U and V color portion With this parameters the amplification can be separately regulated for both color portions Usually the relation of th...

Страница 142: ...ase position of the color signal For PAL this value is insignificant since phase errors are automatically compensated One LSB corresponds to a correction of the phase angle of 0 7 therefor the color s...

Страница 143: ...ss filter into the luma path With the parameter nHFilt the used filter is adapted to the size of the image The function automatic filter selection adapts the filter setting to the size of the image se...

Страница 144: ...th this function the output format of the brightness and color value can be adapted to the application The parameter nRange determines the range of values for the brightness permissible grey values nR...

Страница 145: ...ion port with pins which can be used separately to read or write digital signals With the following functions the option port is controlled You can define which pins will work as input or output set w...

Страница 146: ...been configured With Set_GPIO_Data each port pin is an output with the level setting High 1 or Low 0 nData is a 12 bit value whereas to each bit one pin is assigned The setting is only effective for...

Страница 147: ...the Grabber card is protected against accidental writing Therefore access to the device address space 0xA0 to 0xA3 is not allowed In order to obtain access to the internal EEPROM memory space please...

Страница 148: ...attempt to access the protected area of the EEPROM mounted on the Grabber BYTE I2C_WriteByte WORD nDevNo BYTE b ChipAddress BYTE bSubAddress BYTE bData bChipAddress Device address of the I C device o...

Страница 149: ...ten into the Byte variable return value error code SUCCESS NOACK Reads a Byte value from the EEPROM Specified by calling the memory address that is to be read The result is returned in a Byte variable...

Страница 150: ...expressly recommend the use of the standard functions For the case that the user would like to affect directly the registers of the pciGrabber these two functions are available With these both functio...

Страница 151: ...cted The digitized image shows streaks and stripes It might be a Moir effect caused by the color signal Check if the luma notch filter is enabled The cable to the camera might be defect check shieldin...

Страница 152: ...The image is displayed incompletely or very slowly Increase the delaytime between status inquiries The PCI bus might be blocked by too many calls concerning the status Was the resolution reduction co...

Страница 153: ...pect to their percentage value But the values of the registers are different After a standby of the system the pciGrabber 4x4 lost the functional capability The pciGrabber 4x4 does not support the sta...

Страница 154: ...een is not fast enough even through the images are found digitized in the main memory The supply voltage output for the camera is not functioning Check the mini fuse Is a power supply cable for the PC...

Страница 155: ...Trouble Shooting PHYTEC Messtechnik GmbH 2008 L 720e_0 147 Please check the configuration of the other PCI cards and the configuration of the BIOS...

Страница 156: ...D Data Format 7 delivery 4 Demo program Image Settings 48 Demo Program Channel Selection 48 Image Resolution 49 Image Selection 49 Installation 25 Operations 37 Demo Programing Normalizing 60 developi...

Страница 157: ...t_CKill 106 Set_Color_System 98 Set_ColorBars 135 Set_Composite 99 Set_Contrast 132 Set_GPIO_Data 137 Set_GPIO_Direction 137 Set_Hue 134 Set_Image Win 109 Set_Interlace 104 Set_LDec 135 Set_S_VideoEx...

Страница 158: ...ucing Noise Levels 62 Replacement fuse 5 S similar television technology 50 Single Image 55 Snapshot 55 Snapshots 55 Standby 145 Storing Images Demo Program 64 Storing Parameters 141 S Video Source 49...

Страница 159: ...Index PHYTEC Messtechnik GmbH 2008 L 720e_0 151...

Страница 160: ...ment pciGrabber 4x4 Document number L 720e_0 January 2009 How would you improve this manual Did you find any mistakes in this manual page Submitted by Customer number Name Company Address Return to PH...

Отзывы: