background image

12 C++ developers

109

12

C++ developers

The description for the mvIMPACT Acquire SDK for C++ developers is available as a separate file:

mvIMPACT_

-

Acquire_API_CPP_manual.chm

which is

• either part of the installed package or

online from https://www.matrix-vision.com

.

Here an online version of the documentation is available as well.

MATRIX VISION GmbH

Содержание mvHYPERION-32R16

Страница 1: ...mvHYPERION Series Technical Manual...

Страница 2: ...ings Attentions 10 4 2 Webcasts 10 5 Important information 11 5 1 European Union Declaration of Conformity statement 11 6 Introduction 14 6 1 What s inside and accessories 14 7 Quickstart 15 7 1 Hardw...

Страница 3: ...xPropView 48 9 1 1 How to work with wxPropView 48 9 1 2 How to configure a device 69 9 1 3 Command line options 94 9 2 mvDeviceConfigure 95 9 2 1 How to set the device ID 95 9 2 2 How to update the fi...

Страница 4: ...115 15 1 Supported Interfaces 115 15 1 1 IAMCameraControl 115 15 1 2 IAMDroppedFrames 115 15 1 3 IAMStreamConfig 115 15 1 4 IAMVideoProcAmp 115 15 1 5 IKsPropertySet 115 15 1 6 ISpecifyPropertyPages...

Страница 5: ...25 17 4 3 PulseMultiplication 126 17 4 4 Direction 126 17 4 5 Mode 126 17 4 6 int Reset 127 17 5 Working with a Basler Sprint line scan color camera 127 17 5 1 Introduction 127 17 5 2 RawLineAcquisiti...

Страница 6: ...ION DirectShow_acquire interface Use cases p 122 This book offers solutions and explanations for standard use cases Note For C C NET developers there are separate mvIMPACT Acquire manuals mvIMPACT_Acq...

Страница 7: ...ic structure of the driver concept Figure 1 Driver concept 1 Part of any mvIMPACT Acquire driver installation package Windows 2 Separately available for 32 bit and 64 bit Requires at least one install...

Страница 8: ...e family mv impact acquire NeuroCheck6 dll comes with the driver package but the driver package must be installed AFTER installing NeuroCheck 6 For NeuroCheck 6 1 the following devices are supported D...

Страница 9: ...e driver package comes with an interface to DirectShow In order to be usable from a DirectShow compliant application devices must first be registered for DirectShow support How to this is explained he...

Страница 10: ...re interface references Additionally please have a look at the example programs Several basic examples are available The separate mvIMPACT Acquire manuals mvIMPACT_Acquire_API_CPP_manual chm mvIMPACT_...

Страница 11: ...and design and specifications of the described products at any time without notice Copyright MATRIX VISION GmbH All rights reserved The text images and graphical content are protected by copyright and...

Страница 12: ...ebruary 2012 Renewed chapter wxPropView p 48 09 November 2011 Added Settings behavior during startup p 25 in chapter Quickstart p 15 26 July 2011 Removed chapter EventHandling See Porting existing cod...

Страница 13: ...4 Nov 2008 Added wxPropView example wxPropView 18 Aug 2008 Added new example CaptureToUserMemory 11 July 2008 Corrected Figure of J6 connector Technical data p 28 18 Jun 2008 Added chapter Triggering...

Страница 14: ...improvement however we can accept no liability for completeness and correctness of the information contained in this manual We make every effort to provide you with a flawless product In the context o...

Страница 15: ...boards Do not touch components on the printed circuit board with your hands or with conductive devices 5 1 European Union Declaration of Conformity statement The mvHYPERION CLx is in conformity with a...

Страница 16: ...12 CONTENTS MATRIX VISION GmbH...

Страница 17: ...5 1 European Union Declaration of Conformity statement 13 MATRIX VISION GmbH...

Страница 18: ...CameraLink cameras as well as broadcasting or surveillance solutions Figure 1 mvHYPERION series There are digital inputs available for external synchronization and digital outputs for e g controlling...

Страница 19: ...es not fit easily pull it back out and try again Fasten the board s bracket at the back of the computer using the screws you saved from the shield Put the cover back on the computer and reconnect the...

Страница 20: ...section Support Download Hardware After the Hardware installation p 15 the boot sequence shows Found New Hardware and starts the Windows Hardware Wizard Closed this windows and insert the mvIMPACT CD...

Страница 21: ...mvHYPERION installer Start window Select the folder where you want to install the software Figure 3 mvHYPERION installer Select folder Select the features which you want to install Following features...

Страница 22: ...mvIMPACT acquire API contains the header for own programming Additionally you can choose the examples which installs the sources of wxPropView p 48 and three mini samples The project files of the min...

Страница 23: ...es to Windows Then Windows shows a message to signal that this driver is not checked through Microsoft This is only an attempt to make insecure and it is recommended to ignore it Press Continue Anyway...

Страница 24: ...ation complete After this you have to restart the system Afterwards you can acquire images with the frame grabber Simply start the application wxPropView p 48 wxPropView exe See also wxPropView p 48 7...

Страница 25: ...SuSE version of wxWidgets has been compiled with ODBC support and the RPM does not contain a dependency to automatically install ODBC For this reason you must also install the unixODBC devel RPM Open...

Страница 26: ...two arguments both of which are optional 1 target directory name 2 version The target directory name specifies where to place the driver If the directory does not yet exist it will be created The pat...

Страница 27: ...ork with SuSE 10 x as well as with Ubuntu 6 06 or newer with up to date Gentoo or Fedora FC5 b After installing the access libraries you will see something like the following directory structure in yo...

Страница 28: ...so that the mvHYPERION kernel module can be built You should see the following message at the end of the compile block To install the mvHYPERION kernel module now make sure that you are root and type...

Страница 29: ...ra Make sure that you do not mix up the channels For this please have a look at chapter Technical data p 28 where to find the specific connectors Afterwards start wxPropView p 48 and choose the Generi...

Страница 30: ...nder Windows the driver will not look for a matching XML file during start up automatically as the native storage location for settings is the Windows Registry This must be loaded explicitly by the us...

Страница 31: ...ent or e g the list of allowed values for a property This again is information delivered by the driver and therefore can be queried by the user as well without the need to have special inside informat...

Страница 32: ...Connectors The mvHYPERION supports the serial communication over CameraLink cable as described in the Camera Link specification The driver offers a serial interface without the need of a host PC s CO...

Страница 33: ...liant library libclserMV so which can be found in the lib directory Figure 3 mvHYPERION CLe Figure 4 mvHYPERION CLf 8 1 2 1 Status LEDs Figure 5 Rev 1 x LED Name Description D9 FPGA state Green FPGA i...

Страница 34: ...ower connector Camera 2 trigger sync strobe power connector Additional con nector with trigger sync strobe power 8 1 2 3 Pinning J1 J2 CL configuration Figure 7 Mini CameraLink connector female Pin J1...

Страница 35: ...100 Ohm ter minated Z3 Input 11 2 CC4 Output 11 Not used 100 Ohm ter minated Z3 Input 11 13 Internal shield Ground Internal shield Ground Internal shield Ground 26 Internal shield Ground Internal shi...

Страница 36: ...a free power supply cable for floppy drives on connector J5 to increase the available current on the power supply pins on J3 and J4 to 2A Pin Signal 1 12 V 2 Ground 3 Ground 4 Not connected 8 1 2 7 P...

Страница 37: ...onding snubbers these signals must not conducted 8 1 2 8 Switches mvHYPERION CLb CLe CLm CLf Switch S1 Flash memory Position Comment Def Case of need FPGA version is loaded write protected User FPGA v...

Страница 38: ...34 CONTENTS 8 1 2 9 Digital I Os Figure 10 Trigger In mvHYPERION CLx MATRIX VISION GmbH...

Страница 39: ...l VIL max 1V VIL max maximum input voltage which causes an inactive signal VIL min 30V VIL min minimum input voltage which causes an active signal Ii max 20mA li max maximum input current PLC compatib...

Страница 40: ...transistor and IC max IC max 200mA IC max max current which is allowed to flow to the direction of C pin 2 tr max 5us rise on time tf max 2ms fall off time HW rev 1 xx tf max 20us fall off time HW re...

Страница 41: ...on Horizontal vertical 64 K not limited Pixel formats RGB 24 30 32 bit Gray 8 10 12 14 16 bit Interface Bus PCI Express x1 PCI Express x4 Continuous data rate Max 200 MB s Max 620 MB s Peak data rate...

Страница 42: ...to 90 non condensing Dimensions Length 147 mm 155 mm Width 95 mm 111 5 mm 8 1 4 Device Feature And Property Lists 8 1 4 1 mvHYPERION CLm 8 2 mvHYPERION 32R16 8 2 1 Block diagram The following block di...

Страница 43: ...PCI Express connection state Green No problem with connection 2 FPGA state Green FPGA is loaded 8 2 2 2 Pinning J1 68 pol connector Figure 15 J1 Pin Signal Note Pin Signal Note 1 Power 5V 35 GND G 2 V...

Страница 44: ...22 VIDEO_5 56 GND G 23 VIDEO20 Not used 57 GND G 24 VIDEO_4 58 GND G 25 VIDEO19 Not used 59 GND G 26 VIDEO_3 60 GND G 27 VIDEO18 Not used 61 GND G 28 VIDEO_2 62 GND G 29 VIDEO17 Not used 63 GND G 30...

Страница 45: ...ate Max 640 MB s Peak data rate Max 1 GB s Payload size Up to 256 Bytes Current consumption PCIe 3 3V 5W PCIe 12V 4W Environmental conditions Ambient temperature 0 up to 45 C Storage temperature 20 up...

Страница 46: ...16 mvHYPERION HD SDI 2 block diagram 8 3 2 Connectors Figure 17 mvHYPERION HD SDI 2 8 3 2 1 Use of J1 J2 Connector usage mvHYPERION HD SDI 2 J1 Camera 1 3G HD SDI signal J2 Camera 2 3G HD SDI signal...

Страница 47: ...DC 10 Ground Sync GND 11 ID0 IN OUT TTL open collector 12 RS 485 TRX IN OUT RS485 13 C HSync Out OUT TTL push pull 14 VSync Out OUT TTL push pull 15 RS 485 TRX IN OUT RS485 8 3 2 3 Pinning J6 internal...

Страница 48: ...t overload and overvoltage Digital signals pins 9 16 are LVTTL signals and not 5V tolerant Failure to take this into account may result in the destruction of the board Attention Without an additional...

Страница 49: ...S M PTE ST 274 S M PTE ST 292 1 Y U V4 2 2 2x10 Bit 1 1080p 50 59 94 60 S M PTE ST 425 Level A S M PTE ST 424 1 Y U V4 2 2 2x10 Bit Only chan nel 0 sup ported Firmware ver sion 86 re quired 2 720p 23...

Страница 50: ...ST 425 Level A S M PTE ST 424 1 Raw 12 Bit Firmware ver sion 86 re quired 1 1080p 50 59 94 60 S M PTE ST 425 Level A S M PTE ST 424 1 Raw 2k Only chan nel 0 sup ported Firmware ver sion 86 re quired...

Страница 51: ...ad size Up to 256 Bytes Current consumption PCIe 3 3V Max 1A PCIe 12V Max 0 05A camera power Camera supply Via PCI Express 12V fused Environmental conditions Ambient temperature 0 up to 45 C Storage t...

Страница 52: ...ith the name wxPropView on the desktop Windows or in mvimpact acquire apps mvPropView x86 Linux wxPropView Introduction https www matrix vision com tl_files mv11 trainings wxPropView wx PropView_Intro...

Страница 53: ...ges play a recorder sequence Left Tool Bar to hide and show parts of the GUI Status Tool Bar Main Window with Grid tree control with the device settings accessible by the user Display for the acquired...

Страница 54: ...s might appear or disappear when modifying another properties To permanently commit a modification made with the keyboard the ENTER must be pressed If leaving the editor before pressing ENTER will res...

Страница 55: ...ingleFrame or display live images Continuous Just select an Acquisition Mode e g SingleFrame and click the Acquire button Note The techniques behind the image acquisition can be found in the developer...

Страница 56: ...ormation will be displayed on the image too With the timestamp you can see the interval of the single frames in microseconds 9 1 1 2 2 Hard Disk Recording You can save acquired images to the hard disk...

Страница 57: ...behaviors The differences are described in chapter Settings behavior during startup p 25 Restoring of settings previously stored works in a similar way After a device has been opened the settings will...

Страница 58: ...window will be opened and you have to confirm again Figure 8 wxPropView Restore the default value of a property Most properties store one value only thus they will appear as a single entry in the pro...

Страница 59: ...e removed via the GUI and a value can t be removed when a property stores one value only Also the user might want to set all or a certain range of values for properties that store multiple values with...

Страница 60: ...of elements of the property to a certain value OR to define a value range that then will be applied to the range of property elements selected by the user The following example will explain how this...

Страница 61: ...string and an integer as input parameters To execute a method object right click on the name of a method and select Execute from the popup menu Figure 14 wxPropView Calling a method object Parameters...

Страница 62: ...t support this data type wxPropView p 48 will convert this image into something that matches the original image format as close as possible This however can result in the loss of data In order to allo...

Страница 63: ...xPropView p 48 is capable of dealing with multiple capture settings or acquisition sequences for a single device and in addition to that it can be configured to deal with multiple image displays For f...

Страница 64: ...ure Settings The property grid will display these capture settings either in Developers or in Multiple Settings View Now in order to set up wxPropView p 48 to work with 2 instead of one capture settin...

Страница 65: ...the name of the new setting Figure 19 wxPropView Create capture setting Choosing name 3 And finally for the base this new setting shall be derived from Figure 20 wxPropView Create capture setting Choo...

Страница 66: ...has not already been modified in NewSetting1 Again to get an understanding for this behaviour please refer to Working with settings chapter of the mvIMPACT Acquire API manuals Now to set up wxPropView...

Страница 67: ...The setting to display relationships can be customized via Capture Capture Settings Assign to Display s As each image display keeps a reference to the request this image belongs to the driver can t re...

Страница 68: ...count Finally wxPropView p 48 must be configured in order to use all available capture settings in a round robin scheme This can be done by setting the capture setting usage mode to Automatic via Cap...

Страница 69: ...ch display can be configured indepen dently thus e g one display can be used scaled while the other displays 1 1 data The analysis plots can be assigned to a specific display by left clicking on the c...

Страница 70: ...ing an image wxPropView p 48 shows snapped or live images in the display area of the GUI The area however shows the most significant bits msb of the image in the 8 bit display The following image show...

Страница 71: ...an shift the bits in the display using the left and right arrow keys Furthermore you can turn on the monitor display to compare the images synchronously wxPropView Bit shifting an Image https www matr...

Страница 72: ...the driver using the C C or NET interface The feature hierarchy displayed here can directly be used for searching for the features using the ComponentLocator C NET objects or DMR_FindList C and OBJ_Ge...

Страница 73: ...displayed in a hierarchy tree wxPropView Configuring a device https www matrix vision com tl_files mv11 trainings wxPropView wx PropView_ConfiguringDevice index html The next chapter will show how to...

Страница 74: ...n order to check the current state of a certain digital input it is necessary to manually refresh the state of the properties To do this please right click on the property you are interested in and se...

Страница 75: ...smitted as a whole or if it s transmit ted as individual blocks e g when dealing with interlaced cameras that need to be reconstructed in a certain way to form the complete image Each capture device w...

Страница 76: ...descriptions To select a certain camera description to be used to prepare the capture device for the expected data the property Type under Image Settings Camera can be modified Here every available s...

Страница 77: ...ut these changes will be lost once the device is closed The recommended way of adapting an imaging source to a capture device is to create a new description for a imag ing device that does not complet...

Страница 78: ...iew Creating a new camera description Afterwards the newly created camera description will be added to the list of existing ones Its parameters at this point will match the parent description the one...

Страница 79: ...n was that the parameters in the existing description didn t exactly match the connected imaging device Therefore the next step would probably be to modify some of the parameters Once this has been do...

Страница 80: ...next time the capture device is initialised the newly created description must be exported via a function call To store a camera description permanently the Export method of the new camera descriptio...

Страница 81: ...ated camera description As a direct result the modified settings will become the new default values of this particular camera description wxPropView p 48 indicates this by displaying all values belong...

Страница 82: ...ts MATRIX VISION mvIMPACT acquire CameraFiles or MVIMPACT_ACQUIRE_DATA_DIR CameraFiles which will point to the same folder Under Linux this directory will be etc matrix vision mvimpact acquire cameraf...

Страница 83: ...5 wxPropView After re opening of the device Once a description is selected that hasn t been in the list of camera descriptions before it will be created and thus will become available for modification...

Страница 84: ...camera a new description should be generated to operate complex cameras in different modes a either a new description can be generated or an existing one can be modified After a camera has been modif...

Страница 85: ...9 1 wxPropView 81 Figure 37 wxPropView Invoking the Import command of a camera description This will restore the default settings for this description MATRIX VISION GmbH...

Страница 86: ...wn camera If you need a camera description p 71 of an unknown CameraLink or SDI camera wxPropView p 48 supports you with three properties which can be found in Info Camera DataCycleCounterLine0 DataCy...

Страница 87: ...9 1 wxPropView 83 Figure 39 wxPropView Info Camera For area scan cameras you will need all three properties MATRIX VISION GmbH...

Страница 88: ...e values in Camera Descriptions The figures 37 and 38 are showing CameraLink examples with default values in Camera Descriptions The values from Info Camera are not entered yet Note To get the current...

Страница 89: ...niques in CameraLink systems 9 1 2 5 1 Area scan cameras Mode 1 Frame grabber is triggered free running camera Figure 41 Frame grabber is triggered free running camera Mode 2 Camera is triggered Figur...

Страница 90: ...ine scan cameras Mode 1 Camera is triggered by frame grabber Figure 43 Camera is triggered by frame grabber Mode 2 External trigger signal triggers camera Figure 44 External trigger signal triggers ca...

Страница 91: ...lOutputs CC1 which is used for triggering TriggerSource input normally Trigger In a SinglePulse On the basis of PulseStartConfiguration a signal is created and given to the camera for triggering Delay...

Страница 92: ...an be defined b PassThrough The signal of the chosen input will be negated in timing and pulse width or not passed to the camera Please choose Sync In as input No further settings are necessary 2 In P...

Страница 93: ...signal the acquisition starts If you have for example a line scan camera and want to acquire 1000 lines 1000 lines will be acquired During this time further trigger signals are ignored Figure 45 Start...

Страница 94: ...rtStop In TriggerStartStop there are two trigger sources one to start the acquisition and the second trigger event to stop it Between start and stop there is at least one line pause The image height i...

Страница 95: ...rSource set Image Settings Camera TriggerControls FrameStop to On and select in FrameStop the used TriggerSource Figure 48 wxPropView Setting TriggerStartStop 9 1 2 7 3 TriggerStartStop Restart With T...

Страница 96: ...use TriggerStartStop Restart in wxPropView p 48 you have to set the same parameters in Image Settings Camera TriggerControls FrameStart and Image Settings Camera TriggerControls FrameStop Figure 50 w...

Страница 97: ...request starts immedi ately without loss of lines 9 1 2 7 4 TriggerDelay With TriggerDelay it is possible to specify a delay after the trigger start event Figure 51 TriggerDelay To use TriggerDelay i...

Страница 98: ...erty grids splitter Values be tween 0 and 1 are valid Example splitterRatio 0 5 propgridwidth or pgw Defines the startup width of the property grid debuginfo or di Will display debug information in th...

Страница 99: ...tart mvDeviceConfigure and have a look at the available command line options presented in the text window in the lower section the text control of the application 9 2 1 How to set the device ID The de...

Страница 100: ...BlueFOX cameras with an ID conflict Figure 53 mvDeviceConfigure Conflicting device IDs 9 2 1 1 Step 1 Device Selection Select the device you want to set up from the list box 9 2 1 2 Step 2 Open dialo...

Страница 101: ...here has been an ID conflict before that has been resolved now mvDeviceConfigure p 95 will no longer highlight the conflict now Figure 56 mvDeviceConfigure Resolved ID conflict 9 2 2 How to update the...

Страница 102: ...have a look at Switches p 33 Connectors p 28 where to find the switch 9 2 2 2 Step 2 Open dialog to update the firmware With the device selected select the menu item Action and click on Update firmwar...

Страница 103: ...99 Figure 58 mvDeviceConfigure Select firmware file You will see an information dialog which says that the firmware will take some time Please click OK Figure 59 mvDeviceConfigure Select firmware fil...

Страница 104: ...x your problem 9 2 3 How to recover a broken firmware update If something goes wrong during the flash update and the mvHYPERION does not work you have to accomplish following emergency procedure Pleas...

Страница 105: ...ton on the device you want to define permanent image memory Figure 61 mvDeviceConfigure Image memory A dialog will be opened 2 Entered your preferred image memory size 3 Afterwards reboot you system 4...

Страница 106: ...ly possible to disable the C2 and C3 states With Windows Vista 7 8 all C states 1 2 and 3 will be disabled Warning Please be sure you know what you do To turn off the processor s sleep states will lea...

Страница 107: ...0 quit The additional quit will result in the application to terminate after the new value has been applied Note With Windows Vista or newer mvDeviceConfigure must be started from a command shell with...

Страница 108: ...or the firmware file to use fw_path Specifies a custom path for the firmware files log_file or lf Specifies a log file storing the content of this text control upon application shutdown quit or q Ends...

Страница 109: ...the firmware of every device in the system mvDeviceConfigure ufw BF000666 ufw BF000667 This will update the firmware of 2 mvBlueFOX cameras mvDeviceConfigure ipv4_mask 169 254 192 168 100 update_fw GX...

Страница 110: ...WaitClocks Time in us Wait a defined time Jump HRTC program address Jump to any step of the program TriggerSet Frame ID Set internal trigger signal to sensor controller TriggerReset Reset internal tr...

Страница 111: ...ingsFrameGrabber triggerSource writeS HRTCtrl_0 CameraSettingsFrameGrabber triggerActivation writeS dtmOnFallingEdge When working with wxPropView p 48 this are the properties to modify in order to act...

Страница 112: ...uire SDK for C developers is available as a separate file mvIMPACT_ Acquire_API_C_manual chm which is either part of the installed package or online from https www matrix vision com Here an online ver...

Страница 113: ...cquire SDK for C developers is available as a separate file mvIMPACT_ Acquire_API_CPP_manual chm which is either part of the installed package or online from https www matrix vision com Here an online...

Страница 114: ...ire SDK for NET developers is available as a separate file mvIMPACT _Acquire_API_NET_manual chm which is either part of the installed package or online from https www matrix vision com Here an online...

Страница 115: ...hon for Python versions 2 7 to 3 2 https www microsoft com en us download details aspx id 44266 The use of this compiler packet has been tested by MATRIX VISION and it is is highly recommended When in...

Страница 116: ...t some minor differences between the C and the Python API which shall be explained here briefly Stuff that has been declared deprecated at the time of publishing the Python API will not be available S...

Страница 117: ...splayModuleAvailable display acquire ImageDisplayWindow A window created from Python else print The mvIMPACT Acquire display library is not available on this platform system system For systems with NO...

Страница 118: ...rrorCodeAsSt manuallyStopAcquisitionIfNeeded pDev fi raw_input Press Enter to continue Note The above code uses the Python 3 style print Because of the line from __future__ import print_function This...

Страница 119: ...DirectShow usage p 116 15 1 Supported Interfaces 15 1 1 IAMCameraControl 15 1 2 IAMDroppedFrames 15 1 3 IAMStreamConfig 15 1 4 IAMVideoProcAmp 15 1 5 IKsPropertySet The DirectShow_acquire supports the...

Страница 120: ...mvDeviceConfigure p 95 C Program Files MATRIX VISION mvIM PACT Acquire bin 15 3 1 Registering devices To register a device devices for access under DirectShow please perform the following registratio...

Страница 121: ...age 117 Figure 2 mvDeviceConfigure register all devices 3 After a successful registration the column registered for DirectShow will display yes for every device and the devices will be registered with...

Страница 122: ...perform the follwing procedure 1 If mvDeviceConfigure is already not running please start it 2 Now select the device you want to rename click the right mouse button and select Set DirectShow friendly...

Страница 123: ...In theory this is possible however the mvDeviceConfigure GUI will not allow this to avoid confusion 15 3 3 Make silent registration To make a silent registration without dialogs the Windows tool regsv...

Страница 124: ...video images Horizontal sync The portion of the analog signal which specifies the line end of the video signal Host Here the PC Interlaced Interlacing method conforming to the television standard this...

Страница 125: ...hin film transistor display True color 24 bit true color 16 7 million colors Vertical sync Synchronization pulse in video signal for field end recognition Zero signal The zero signal was needed with t...

Страница 126: ...igger events p 135 Synchronous acquisition with different camera settings p 140 17 2 Pass through of digital input signals The mvHYPERION offers input and output signals which do not have anything in...

Страница 127: ...eat of the pulse sequence parameters frequency of the pulse sequence Hz Single run through parameters digital input or on board signal which starts the pulse sequence initially DigitalSignal falling o...

Страница 128: ...used which is an electro mechanical device that converts the angular position of a shaft or axle to an analog or digital code making it an angle transducer During the rotation of the axis an rotary e...

Страница 129: ...Decoder p 124 Figure 3 wxPropView Selecting RotaryDecoder as PulseStartTrigger in PulseStartConfiguration0 The Rotary Decoder p 124 offers some parameters DigitalSignalA p 125 DigitalSignalB p 125 Pul...

Страница 130: ...are three different modes NoInhibit The direction of rotation is not relevant InhibitBackward The direction of rotation is relevant This means if the direction is changed the edges will be ignored In...

Страница 131: ...6 int Reset With this function you can reset the counter which is saved in InhibitBackwardUntilLastPos p 126 17 5 Working with a Basler Sprint line scan color camera 17 5 1 Introduction Basler s Spri...

Страница 132: ...mage acquisition you have to keep in mind that an image acquisition will start after a start trigger signal e g a light barrier and a valid FrameValid signal The mvHYPERION frame grabbers are suitable...

Страница 133: ...rt condition The following sections show how you have to set the mvHYPERION according to the different modes 17 5 2 RawLineAcquisition Mode In this mode the camera sends the color lines alternately Fo...

Страница 134: ...n With line scanStartCondition the mvHYPERION runs in a mode which waits for a FrameValid signal when the image starts All further FrameSync signals are ignored This mode is required with Basler s spr...

Страница 135: ...fers a special mode called Enhanced Raw Line Acquisition Mode It provides a raw green pixel value for each point of an imaged object and in addition either a raw red or a raw blue pixel value for more...

Страница 136: ...ropView Settings Height H Format BayerPacked BayerParity ScanMode line scanStartCondition It only makes sense to reproduce this application using a rotary encoder p 124 The application could look like...

Страница 137: ...scan color camera 133 Figure 6 Conveyor belt with rotary decoder The camera line synchronization in this sample is the trigger signal of a rotary encoder Afterwards two SinglePulse signals are sent v...

Страница 138: ...TENTS Figure 7 wxPropView Triggered acquisition with area scan cameras Note With the property Divider you can set if every signal or every second third etc from the rotary encoder is used MATRIX VISIO...

Страница 139: ...event has a falling edge and a rising edge A falling edge initializes the capture of a frame see Figure 1 Figure 1 Typical trigger events There are three modes to use trigger events with mvHYPERION f...

Страница 140: ...n and the correct TriggerSource has to be specified in our example J3 TriggerMode of FrameStop has to be Off While the frame is not finished other trigger events are ignored Figure 2 Trigger example I...

Страница 141: ...er divider 17 6 2 FrameStart FrameStop In this mode you have two signal definitions With the appearance of the stop event the image acquisition will be stopped line synchronously and the amount of acq...

Страница 142: ...during active image acquisition If a trigger event happens during an acquisition the acquisition will be stopped line synchronously even if all requested lines of the previous image have not been acqu...

Страница 143: ...ine a delay using TriggerDelayLines With it you can shift for example the FrameStart 17 6 3 AcquisitionStart Some cameras like line scan cameras send FrameValid or LineValid as a signal for FrameStart...

Страница 144: ...ettings in parallel p 59 It is also possible to control the synchronous acquisition with the frame grabber s HRTC p 107 For this you have 1 to set the TriggerSource Setting of both capture settings to...

Страница 145: ...O HardwareRealTimeController Figure 3 wxPropView Digital I O HardwareRealTimeController HRTC program The HRTC program consist of 5 steps a Wait for an Off signal at the digital input in this sample a...

Страница 146: ...View Digital I O HardwareRealTimeController c Then a pulse signal is set to On at the TriggerController in this sample at position 9 which is shown in the help window d Afterwards the pulse signal is...

Страница 147: ...s 143 Figure 5 wxPropView Digital I O HardwareRealTimeController e Finally the program jumps back to step 0 4 Now if you have a rotary encoder and you have connected the signal A to the Sync In you ca...

Страница 148: ...gnal Now if all two capture settings for both cameras have the TriggerSource set to HRTCtrl_0 the TriggerMode to On and the TriggerActivation set to FallingEdge as shown in Figure 2 for the Base setti...

Отзывы: