Home

MARKETING NOTE - baslerweb.com

image

Contents

1. However there may be a use case where the reader wishes to start their acquisition by some other means for example another hardware trigger This is configurable in the Acquisition Controls feature branch Note that a Software Trigger is very similar to simply issuing the Acquisition Start Command in software although there are subtle difference that may make one or the other more convenient Please see the user guide for more details Features Basler ruL2048 30 192 rm Di AOT Controis E Aaquisition Controls SS n CU DOT ee Trigger Selector Trigger Mode Generate Software Trigger Trigger Source Tagger Activation Trigger Delay Source Trigger Delay Abs us Tagger Delay Line Trigg Exposure Mode User Level Guru Output Lines The runner not only can receive signals on its inputs but it can also output signals as well This is useful for monitoring things like when the camera is exposing a line to light Exposure Active or when it is ready for the next Frame Start Trigger Frame Trigger Wait TBasler ruL2048 3 L eck AA AA A er ru 3 Feature sees E Digital 1 0 Controls Line Selector Line Mode Line Format Line Source Line Inverter d rxposure AcCUVe Line Output Pulse Min Width us Frame Trigger Wait Line Trigger Wait User Output Line Status All Acquisition Trigger Wait Shaft Encoder Module Out User Output Selector Frequency Converter User Output Value User Output Value All
2. Line Format Line Inverter Line Termination Line Debouncer Time Abs us 10 Line Status Line Status All User Level Guru 7 Spatial Correction color models only If you are using a color camera all of the above settings still apply But initially you will probably end up with a non spatially corrected image looking like the following You can correct for this by adjusting the Spatial Correction feature under the Image Format Controls branch Boc nce EM H Pylon Viewer Basler ruL2098 109c 20804 eg 7 se ven Camera Took Help Jo Se View Camera Tools Hep ECK HA ki 3 ag 3 amp Bestoen EE im Bx EEE 304 IEEE 1304 Fs Camera Emulation Camera Emulation m Cara Lek Carme a Link I 3 GE 3 Gk Li Baser aca 2500 149m 2113066 1 Easier SCHACK La 1130661 ERE Bester r4 2098 109 20804224 der l gc Gel LC Faatzres atr 7i 2098 125c 208042245 Fastires Basler vd E Aer 208042241 Fix Ces Je Basler nul 2098 10gc 208042240 Ej Bader rui eg 0ge 20804224 EJ Analog Contes Analog Controls 3 image Fomai controls H Image Format Controls fel 65 6425 0472 piconet munus ax 65 6425 0473 Acquisition Start Trigger For the demo setup described in this document we ve started each acquisition by using the Acquisition Start Command This is a software command sent to the camera to begin the acquisition It is convenient to use because the pylon Viewer supplies simple GUI buttons to do this
3. TER i inh ana ps i i De Pages KAOT Les 2E LORS IEEE cer rut 204830 20901529 T k int fe va SR e East Hadr sd Meli Jus HR EHET a ix Krier E Beie a at Me OISE 3 Brey tCebek E hig Format Corti ole J AL Cena ao AM ema Heg s DI x often ME fe fe MERO Se Kai 3 Y Offset gt p Center X Step 4 a Configure the Line Start Trigger This is the most complicated portion of the setup and can be done in various ways For this demo however we will wire the encoder signals into the Shaft Encoder Module of the camera s I O block then pass the output of this mod ule to the Frequency Converter and then finally into the Line Start Trigger Frame Start Laser Trigger Sensor mi gt Shaft Phase A Wioduie Line Start Tri Shaft Encoder Output Frequency picia Phase B Module Converter Encoder We begin by actually working backwards and assigning the Line Start Trigger s Trigger Source to the Frequency Converter and then setting the Trigger Mode to On Note that at this point grabbing images might result in a 0 0 frame rate This is because the Frequency Converter is not yet linked to the incoming encoder signals This will be covered in the next steps Waaeaaa Decen mx TEBE 1394 MEM I Camera Mega Basler sch Las 22 1306451 Bg siu fete o0 MERO fpeiiep On eT E A z3 Step 4 b RS422 background We are usin
4. AcquisitionStart is controlled by software in this case Camera IriggerSelectorSetValue TriggerSelector_AcquisitionStart Camera IriggerMode SetValue Trigger Mode Off Configure the FrameStart Trigger Laser sensor Camera IriggerSelectorSetValue TriggerSelector_FrameStart Camera IriggerMode SetValue TriggerMode On Camera IriggerSource SetValue IriggerSource Linel Camera IriggerActivation SetValue TriggerActivation_FallingEdge Camera IriggerDelaySource SetValue TriggerDelaySource Line Trigger Camera IriggerDelayLine IriggerCount SetValue 50 Configure the LineStart Trigger Encoder Camera IriggerSelectorSetValue TriggerSelector_LineStart Camera IriggerMode SetValue TriggerMode On Camera IriggerSource SetValue IriggerSource FrequencyConverter Camera IriggerActivation SetValue TriggerActivation_RisingEdge Configure the FrequencyConverter for the LineStart Trigger Camera FrequencyConverterlnputSource SetValue FrequencyConverterlnputSource ShaftEncoderModuleOut Camera FrequencyConverterPreDividerSetValue 0 Camera FrequencyConverterMultiplierSetValue Camera FrequencyConverterPostDviderSetValue Configure the ShaftEncoderModule for the LineStart Trigger Camera ShaftEncoderModuleLineSelectorSetValue ShaftEncoderModuleLineSelector_PhaseA Camera ShaftEncoderModuleLineSource SetValue ShaftEncoderModuleLineSource_Line2 Camera ShaftEncoderModuleLineSelectorSetVa
5. Connected internally to Us 3 Z Violet 6 Signal line 4 Z Yellow Signal line 5 JA White O Signal line 6 A Brown 6 Signal line 7 N C Orange Not connected 8 B Pink 6 Signal line 9 Screen Housing potential 10 GND Violet 6 Zero volt connected to the encoder 11 Sense Green Connected internally to GND Supply voltage 12 to 24 V DC Black e Control output A a White E Control output B ee e Purple Laser raclation interuption input Pink External tuning input LV 21AP 51MP Overcurrent protection circuit Main circuit Figure 3 WO Cable Color codes for Camera Encoder and Laser Sensor respectively Software Setup Note that it is assumed the reader has successfully installed the pylon SDK and pylon Viewer and has configured the IP address of their camera correctly Step Acquire your first frames Once connected click the Continuous Shot button to test that your camera is grabbing images Turn on the drum to assist by giving you a moving object You can also use this step to set initial focus and light level It is also recommended to set the User Level to Guru at this point because some aforementioned features are only accessible at this level _ Basler acA2500 14g 2 1150861 aa www baslerweb com E Analog Controls Gi bmage Format Cono ACH Controls 5 Das 10 Controls J jj Shaft Encoder Hehe fp Goce 1142 MB
6. 315 Barca arse mai SE gem ii RE Gi Fax 49 A102 463 599 bc support europe ibaslerweb Fi der Siri ibek bl 22926 Ahrensburg Hades AeA Lien 211306585 0 IBN eie 2045 309 30901829 Germany bc support europe gbaslerweb o prym Modiin Fregaency Cornnerter Incas Americas Cara deere Band Edge e asier Inc Basler Inc moder Je lt 8 E Suite 203 855 Springdale Drive Suite 203 Mer 1 xton Exton PA 19341 rem Qr 1 USA USA rien or fen incu 4 0 E Curr bad Timer Donii E EL uL Les Englisch GroBbritannien om m emm um e WEG ER At this point initial setup is complete You should now be able to acquire frames at various drum speeds with no change in aspect ratio or image position Appendix A Tweaking settings to your specific application Here are some tips amp tricks to adjusting settings that may help Trigger Delay After your initial setup is complete you can revisit the Frame Start Trigger settings and adjust the Trigger Delay This will instruct the camera to wait either a certain number of microseconds or more conveniently a certain number of Line Start Triggers before starting the frame after the Frame Start Trigger has been received This effectively takes the place of the Y Offset setting in the AOI Controls Features Basler ruL2048 3 gm 2001520 2055 Ej Image Format Controls Pixel Format d kd kd kd Image Height Maximum It shoul
7. Line Status User Level Guru Appendix B Complete pylon C sample program code for setting up the demo You can use this in place of the standard AcquireContinuous pylon C sample AcquireContinuousRunnerDemo cpp This code is to accompany the How to setup the runner demo document mbreit 2011 06 28 Include files to use the PYLON API include lt pylon Pylonincludes h gt include lt stdlib h gt using namespace Pylon if defined USE 1394 Settings to use Basler 394 cameras include pylon 394 Basler 394Camera h gt typedef Pylon CBasler 394Camera Camera t using namespace Basler IIDC 324CameraParams using namespace Basler IIDC 394S5treamParams elif defined USE GIGE settings to use headers and libraries for Basler GigE cameras include lt pylon gige BaslerGigECamera h gt typedef Pylon CBaslerGigECamera Camera t using namespace Basler GigECameraParams using namespace Basler GigEStreamParams else error Camera type Is not specified For example define USE_GIGE for using GigE cameras endif Namespace for using cout using namespace std Define some convinience functions classes and constants This function can be used to wait for user input at the end of the sample program void pressEnter ToExit comment the following two lines to disable wait on exit here cerr lt lt endl lt lt Press enter to exit lt lt endl while ci
8. MARKETING NOTE ww baslerweb com Sample Setup for the runner GigE Line Scan Camera Introduction This document walks the reader through a sample line scan setup using a runner Gigabit Ethernet camera It is based on instructions for setting up an in house trade show demo machine Mainly it explains how the runner s specific features are used in a basic line scan setup From this we hope to make life easier during camera evaluations by pointing out some hurdles and offering some troubleshooting tips For deeper details on the settings and features used we always recom mend reviewing the user guide found on our website ww w baslerweb com downloads manuals runner What this document is not intended to do is to teach gen eral line scan concepts or methodologies These applications can be very complex and precise and require much more training than this document could provide So it is assumed that the reader has some experience with line scan systems cameras The reader who may benefit the most is probably a machine vision integrator or OEM Overview of the runner Demo The demo system consists of a platform on which is mounted a motor encoder spinning drum light source laser sensor and camera mount There is a small control panel on the front where the encoder amp laser sensor sig nals are wired into the camera s input output I O ports The runner is designed to emulate an area scan camera to make desig
9. STI fida TZ iei Friscuaiicy Cone t E Conner arai Timer Control E LUT Controls i Shade E Dee information 5 Chunk Date Steam i5 Everts Generation T CeeMgurateon Sets o Trarup rt Liver E Bee En eier Lenis E xpertl esture Access 2 Fangport Laver Hi Dimma Parameters Bj mapi Famy Camison Uer Leve Guru T Step 2 Configure the Frame Start Trigger Here we have already wired the Laser Sensor to Input Line of the camera To configure the cam era to look to this input for the Frame Start Trigger Go to Acquisition Controls feature branch in pylon Viewer set the Trigger Mode to On and the Trigger Source to Line I You should see the image stabilize as we are now only collecting lines when the Frame Start Trigger is Activated Activated is determined by the Trigger Activation field You can select Rising Edge Falling Edge Level High and Level Low In this case our laser sensor was more reliable when using Falling Edge activation Fic Wee Cms Tob rein kj 4 amp De et Bi IEEE 1394 D UO AW am T adr BCAZSOQ 14gm 21 1066 1 fa An der Strusbek H d niin 20501523 g 12906 Ahrensburg Fan asar a nt Ke 200058 281 L pe I FE giel Ej Baer rui 2048 Sgen 20801829 js Anak T i iones col Tel 494 102 463 515 D At Cep 17 Aceon Canna Poper Seco Frame start iz sten weu Sepain Tigga Madis n REESEN Demum abe Sefer rees next ers Sage Thgpe Source Une 1 LE Tngger Acivabon Fil
10. cException amp e Error handling cerr lt lt An exception occurred lt lt end lt lt e GetDescription lt lt endl pressEnter loExit return Quit the application pressEnter ToExit return Q Basler AG Germany Headquarters USA Asia Tel 49 4102 463 500 Tel 610 230 0171 Tel 65 6425 0472 Fax 49 4102 463 599 Fax 610 280 7608 Fax 65 6425 0473 bc sales europe baslerweb com bc sales usa baslerweb com w baslerweb co bc sales asia baslerweb com 02 12 BASLER
11. d assign it s Input Source to the Shaft Encoder Module Out By doing this you are taking the processed signal from the Shaft Encoder Module and using it to trigger the camera At this point you should see images grabbing in pylon Viewer In theory it may be fine to skip this step and assign Shaft Encoder Module Out directly to Line Start Trigger However in this case we are using an encoder with a resolution of 8192 pulses revolution and a camera with a maximum line rate of about 30 000 lines per second So it is likely that we will begin to overtrigger the camera at speeds of only 3 6 revolutions second If you are overtriggering the camera you will see this as an aspect ratio change in the image as your drum speed increases or decreases red An der Strusbek ol 62 Bit HA RO 139m Z2 L Le ERR Bache ca 2048 609 PHT 2920 Ahrensburg Faiais Baser A 290 a E Bx Germany fem ONSE e M Fa 4941024634 pen i bc supporl europe baslerwed B B ii We lore A8 iI MEAG We overcome this limitation by using the Frequency Converter to scale the trigger signal In this case we wish to divide the incoming signal by 10 such that the camera is only being triggered at a rate of 819 2 pulses revolution This means we can run our drum at over 360 rev sec without overtriggering the camera g ier An der Strusbek 60 62 22926 Ahrensburg Germany Tei 49 4102 463 515 Tel 4 Gd TOZ 453 51 Fon 498 4102 463 508 gl 8 4102 453
12. d be noted that the maximum height of the image is limited by the camera s internal memory Pixel format and image width are the two factors which influence how much memory is required for each image Therefore you may notice that the maximum image height is different when these settings are changed So you may wish to save setting the image height for later on in your con figuration Features Basler rul2048 30gm 200015251 EE E Iray Format Controls Pixel Format Lom KS d pan Ki es Debouncer If you notice that you are overtriggering the camera even when your settings are correct you might try increasing the Debouncer value on the input lines This value is the minimum duration that the signal must remain high or low to be considered valid For example some poor signals may bounce during the falling edge resulting in an inadvertent rising edge causing a false trigger T he Debouncer can filter these out Features Baster ruL2048 30gm 20901529 1 E d e al P Cem Ka LJ oa ees Canale Liner Level Guru F Configuration Sets It is always a good idea to save your settings to the camera to avoid losing them upon a power cycle You can do this by using the Configuration Sets feature branch Stop the acquisition select an unused User Set and click Execute User Set Save You can instruct the camera to boot up with your settings by assigning your user set to the Default Startup Set
13. e pGrabBuffer gt SetBufferHandle StreamGrabberRegisterBuffer pGrabBuffer gt GetBufferPointer ImageSize Put the grab buffer object into the buffer list BufferList push_back pGrabBuffer for std vector lt CGrabBuffer gt const_iterator x BufferList begin x BufferList end x Put buffer into the grab queue for grabbing StreamGrabberQueueBuffer x gt GetBufferHandle NULL Start the image acquisition Execute AcquisitionStart in Software Camera is now waiting for triggers to begin shooting images Camera AcquisitionStart Execute Launch a software loop to monitor the StreamGrabber for int n O n c ImagesToGrab n Wait for the StreamGrabber to tell us about the image it has received from the camera if Stream GrabberGetWaitObject Wait INFINITE Get the grab result from the grabber s result queue GrabResult Result StreamGrabberRetrieveResult Result if Grabbed Result Status Grabbing was successful process image cout lt lt Image lt lt n lt lt acquired lt lt endl cout lt lt Size lt lt Result GetSizeX lt lt x lt lt Result GetSizeY lt lt endl Get the pointer to the image buffer const uint8_t plmageBuffer uint8 t Result Buffer do something with the image buffer ie copy it save it access data cout lt lt Gray value of first pixel lt lt uint32 t plmageBu
14. e Start Trigger Activation Rising Edge Acquisition start Acquisition start command command Acquisition start B d H trigger signal Frame start trigger signal Line start trigger signal Y Time Trigger signal internally generated by the camera Line start trigger signal is ignored because the Trigger signal applied by the user camera is waiting for a frame start trigger signal EET Camera is waiting for an acquisition start trigger signal E Y Frame transmitted I Camera is waiting for a frame start trigger signal 4 Camera is waiting for a line start trigger signal BENE Line exposure and readout d _ B OCT Ah kx li ruL2048 30gm Camera Equipment Camera Basler runner ruL2048 30gm http www baslerweb com products runnerhtml model 266 Camera I O Cable Basler Part 200002669 Description I O Cable HRS 2p runner 3 m http www baslerweb com mv accessories 3076 html detail 32 Encoder Stegman DRS61 ADK08192 Description Incremental Encoder 8192 counts rev resolution http www stegmann com product incremental hollow htm Laser Sensor Keyence LV 2 AP Description General Purpose Digital Laser Sensor http convertingsystemssupport com yahoo site admin assets docs LV HIOO 300 man 15391105 pdf Motor C
15. ffer O lt lt endl lt lt endl Put the buffer back into the queue so it can be reused if n lt c ImagesToGrab c nBuffers StreamGrabber QueueBuffer Result Handle NULL j else if Failed Result Status Error handling cerr lt lt No image acquired lt lt endl cerr lt lt Error code Ox lt lt hex lt lt Result GetErrorCode lt lt endl cerr lt lt Error description lt lt Result GetErrorDescription lt lt endl Reuse the buffer for grabbing the next image if n c ImagesToGrab c nBuffers StreamGrabber QueueBuffer Result Handle NULL else Timeout cerr lt lt Timeout occurred lt lt endl Get the pending buffer back You are not allowed to deregister buffers when they are still queued StreamGrabber CancelGrab Get all buffers back for GrabResult r StreamGrabberRetrieveResult r Cancel loop break Stop acquisition Camera AcquisitionStop Execute H Do some Clean up You must deregister the buffers before freeing the memory for std vector CGrabBuffer iterator it BufferList begin it BufferList end t StreamGrabberDeregisterBuffer it gt GetBufferHandle delete it it NULL Free all resources used for grabbing StreamGrabberFinishGrab Close stream grabber StreamGrabber Close Close camera Camera Close catch GenlCam Generi
16. g an encoder which has two RS422 signal pairs Phase A and Phase B Because these are considered Low Voltage Differential Signals LVDS each phase consists of a and signal The camera s I O block is designed to accept these signal pairs as you ll see from the wiring diagram The A amp B signals are also offset from each other so that one may determine the direction of encoder movement by monitoring the state of both signals The I O block can also measure and report this to the use Note The camera will also support RS644 and LVTLL signals Phase A Phase A Phase B Phase B Tick Tick Tick Tick Tick Tick Tick Tick Phase A leads Phase B i e Phase B Phase B leads Phase A i e Phase A low at rising edge of Phase A low at rising edge of Phase B Step 4 c Configure the Shaft Encoder Module In pylon Viewer select the Shaft Encoder Module feature branch and assign the Phases to the appropriate input lines from the triggering concept You may also choose to monitor the direction etc but it is not required for this demo Ducum Easier acl 2500 Lage 22 3061 EHE Sege 2048 390 20901825 Shah Epender Mediae Carie Shafi Erde Molde Courier Max tha Er coder Module Courter F rst Shaft rende bodde Max Reverse Courter Thaf Eresder Maa e Terrae Counter eset fpr mqu 3 9 MEAS fps dap 39 E Pregumcy Converter Step 4 d Configure the Frequency Converter Select the Frequency Converter feature branch an
17. ing Edge E Parma Cesano Frame nne aval Tigger Delay Source Dese in um T Pepe Detay Aba La 4 Ter Delay Line Tagger Count not dealais Fapzrare Marle Tee Exposure Tree Aba bal 32 Expooure Timebane fui i Exposure Time Fans H D Gm Acquewbon Line Date si jar Bie Peedi Lire Rale Ae Ha i a Besse Frit Baie A Hu t14 212 Use lent Gau F Spa KE Step 3 Make preliminary AOI adjustments At this point it s a good idea to begin adjusting your Area Of Interest or AOI This is used to only collect image data from the place on your object that you are interested in These settings are found in the AO Controls feature branch Note that you may have to stop the grab to access some of these features so we suggest zooming out acquiring an image then stopping the grab to make these adjustments Afterward you can restart your continuous shot In this demo the usable image does not start until around pixel column 820 and ends around 1250 Therefore we set our Width to 250 820 430 and our X Offset to 820 We may also wish to increase or decrease the Height of our image otherwise known as the number of Lines in the Frame Note that Y Offset is not used but the corresponding adjustment will be covered in Appendix A H Ge Bader sch 2500 ges D RL ERE page rai 208 0208 20901529 Lag zer aree A 8 Bn SSES Lj Basker Ai Aen run 3 Ae Contoh o AGI Controle R3 amp G ME 44 rd483734kb Se i n x
18. lue ShaftEncoderModuleLineSelector_PhaseB Camera ShaftEncoderModuleLineSource SetValue ShaftEncoderModuleLineSource_Line3 Set continuous acquisition mode Camera AcquisitionMode SetValue AcquisitionMode Continuous Set exposure settings Camera ExposureMode SetValue ExposureMode imed Camera Exposure I imeRaw SetValue 32 Configure the buffer queue and the stream grabber Use the payload size to determine the total size of the incoming image const size_t ImageSize size_t Camera PayloadSize GetValue Ve won t use image buffers greater than ImageSize StreamGrabberMaxBufferSize SetValue ImageSize JI Vve won t queue more than c nBuffers image buffers at a time StreamGrabberMaxNumBufferSetValue c_nBuffers Allocate all resources for grabbing Critical parameters like image JI size now must not be changed until FinishGrab is called StreamGrabberPrepareGrab Buffers used for grabbing must be registered at the stream grabber The registration returns a handle to be used for queuing the buffer Note It is good practice to always use more than one buffer in your queue This ensures that if the software is too slow to process the rate of incoming images the driver will not let incoming images back up and be overwritten before being processed std vector CGrabBuffer BufferList for uint32_t i O 1 lt c nBuffers i CGrabBuffer pGrabBuffer new CGrabBuffer ImageSiz
19. n get n CGrabBuffer class class CGrabBuffer public CGrabBuffer const size_t ImageSize CGrabBuffer uint8_t GetBufferPointer void return m pBuffer StreamBufferHandle GetBufferHandle void return m hBuffer void SetBufferHandle StreamBufferHandle hBuffer m hBuffer hBuffer y protected uint8 t m pBuffer StreamBufferHandle m butter y Constructor allocates the image buffer CGrabBuffer CGrabBuffer const size t ImageSize m pBuffer NULL m pBuffer new uint8_t ImageSize if NULL m_pBuffer GenlCam GenericException e Not enough memory to allocate image buffer FILE LINE ___ throw e j j Freeing the memory CGrabBuffer CGrabBuffer if NULL m_pBuffer delete m pBuffer j Buffers for grabbing static const uint32 t c nBuffers 10 Number of images to be grabbed static const uint32 t c ImagesToGrab 100 SS LITE LII LLL IEEE IE The main program int main int argc char argv Automagically call Pyloninitialize and Pylon Terminate to ensure the pylon runtime system is initialized during the lifetime of this object Pylon PylonAutolnit lerm autolnit Term try Get the transport layer factory CTlFactory amp TlFactory CTlFactory Getlnstance Create the transport layer object needed to enumerate or create a camera object of type Camera t DeviceClass Transport awer pTl TlFact
20. n ins easier especially from a software stand point The camera will expose a single line CCD repeat edly while the object in view is moving thus building up a 2D image within its memory When the specified number of lines is reached either specified by the user or limited by the camera s memory size the runner will transmit the image to the PC Once there the driver places the image into a memory buffer created by the user s software This buffer can then be accessed by the software for image pro cessing saving etc Differences between this guide and the Basler runner User Manual It might be important to note that this guide differs from the use cases in the official manual The most significant difference is that the user manual examples typically apply the encoder signals Line Start Triggers to lines amp 2 while placing the Frame Start Trigger on input 3 The setup described in this document applies the encoder signals to lines 2 amp 3 while the Frame Start Trigger is configured on input line I Use Case For this sample we will be setting up the use case below Settings Acqusition Mode Continuous Frame Acqusition Start Trigger Mode Off Frame Start Trigger Mode ON Frame Start Trigger Source Line Frame Start Trigger Activation Falling Edge Lines Per Frame Height 3 Line Start Trigger Mode On Line Start Trigger Source Frequency converter from Shaft Encoder Module Output Lin
21. ontroller Omron VS Mini J7 http industrial omron co uk en products catalogue motion and drives frequency inverters general purpose j default html Motor RGM Wiring It is very important to wire the signals correctly Figure shows the overall triggering scheme Figure 2 shows the actual wiring setup Note the grounds are tied together to reduce electronic noise issues Figure 3 shows the color codes for the camera encoder and laser sensor Frame Start Laser Trigger Sensor Shaft Phase A Module Line Start Tri Shaft Encoder Output Frequency rigger Phase B Module Converter Encoder Figure Triggering Concept Laser Sensor me A PRINT D Brown 12 24 VDC 12 VDC Pin 2 Brown in 1 Pin 8 Black in 2 gt Pin 6 Brown A Pin 4 Yellow in zl Pin 8 Pink B Pin 3 Green e in 3 gt Pin 1 Black B Pin 12 Red Supply Voltage LLL 5 VDC Pin 5 Gray GND E GND Figure 2 Wiring Guide Pin 9 Violet in 2 gt Pin 5 White O A 1 White O I O Input 1 2 Brown g I O Input 1 Fog 3 Green I O Input 3 5 Gray GND i i 10 Pink Not Cponnected i i 6 Blue e UO Output 1 7 Red UO Output 1 8 Black I O Input 2 9 Violet 6 I O Input 2 11 Gray Pink O Output 2 d 12 Red Blue6 9 UO Output 2 A wm em cies 1 B Black Signal line 2 Sense Gray
22. ory CreateTl Camera t DeviceClass Exit application if the specific transport layer is not available if pTI cerr lt lt Failed to create transport layer lt lt endl pressEnter loExit return j Get all attached cameras and exit application if no camera is found DevicelnfoList_t devices if 0 pTl gt EnumerateDevices devices cerr lt lt No camera present lt lt endl pressEnter IoExit return j Create the camera object of the first available camera The camera object is used to set and get all available camera features Camera t Camera p Tl gt CreateDevice devices O Alternatively one other way to open the camera is by a specific serial number CDevicelnfo di di SetSerialNumber 20901529 Camera t Camera pTl 7 CreateDevice di Open the camera the camera will take images and shoot them to the PC Camera Open Get the first stream grabber object of the selected camera Camera t StreamGrabber t StreamGrabber Camera GetStreamGrabber 0 Open the stream grabber pylon s stream grabber will grab the images shot from the camera StreamGrabber Open Configure the camera according to the setup guide Set the image format and AO Camera PixelFormat SetValue PixelFormat Mono8 Camera OffsetX SetValue 820 Camera Width SetValue 430 Camera Height SetValue 500 Configure the AcquisitionStart Trigger

Download Pdf Manuals

image

Related Search

Related Contents

AN11174 DALI slave using the LPC111x  t lomme & vous devient lomme+  Mattel Video Gaming Accessories SUB CHASE User's Manual  Bedienungsanleitung HardyTest D400  Manual De Instalación Installation Manual  Micromedex 30092013 - Bibliosaúde  Guia de conexão rápida  Nortel Networks Centillion 1600 User's Manual  下記までお願いいたします  

Copyright © All rights reserved.
Failed to retrieve file