background image

Configuring Your Network Adapter for GigE Visionscape

GigE Net

w

ork 

Configuration

A

Getting Started with Visionscape GigE Cameras

A-7

Then select Receive Descriptors (if available). This is sometimes grouped 
within Performance Options:

Click on the Properties button to bring up this view:

 

 

 

Содержание Visionscape GigE

Страница 1: ...Getting Started with Visionscape GigE Cameras 84 111015 02 Rev C v6 0 3 June 2013...

Страница 2: ...e are using the names to the benefit of the trademark owner with no intention of infringement Disclaimer The information and specifications described in this manual are subject to change without notic...

Страница 3: ...ge Contents 1 3 Components 1 3 PC Requirements 1 4 CHAPTER 2 Setting Up the GigE Camera 2 1 Install Visionscape Software 2 2 Plug In Your USB License Key 2 3 Configure Gigabit Ethernet Adapter s In Yo...

Страница 4: ...uirements 2 17 CHAPTER 3 Advanced Tool Tutorials 3 1 Tutorial 1 Defect Detection with Flaw Tool 3 2 Tutorial 2 OCV Fontless Tool 3 13 Tutorial 3 Data Matrix Tool 3 22 Tutorial 4 Using Measurement Tool...

Страница 5: ...ons on how to set up and connect Visionscape GigE Camera s to a network Instructions on how to install Visionscape software for use with your Visionscape GigE Camera in a Windows XP Vista 7 equipped P...

Страница 6: ...Preface viii Getting Started with Visionscape GigE Cameras...

Страница 7: ...can run with several types of devices Visionscape GigE Cameras These are imaging devices that connect to the PC via a Gigabit Ethernet connection All vision processing is performed on the PC Visionsc...

Страница 8: ...check them against the System Configuration Sheet If any item is missing or damaged contact your Microscan distributor Important Keep the system configuration sheet You will need to refer to the part...

Страница 9: ...eras 1 3 Components In addition to your Vision System you may need the following items which can be ordered directly from Microscan Lenses Lighting Components Strobe Trigger Power and Network Cables N...

Страница 10: ...Operating Systems Microsoft Windows XP Professional 32 bit Microsoft Windows Vista 32 bit Microsoft Windows 7 32 bit and 64 bit Hardware Specs Minimum of 1GB memory for Windows XP Minimum of 2GB memo...

Страница 11: ...Up the GigE Camera 2 CHAPTER 2 Setting Up the GigE Camera This chapter describes the process of connecting Visionscape GigE cameras to your PC After reading this chapter you will be able to acquire i...

Страница 12: ...oftware will not function correctly if it is saved to a location other than N Vscape where N is the selected drive Install Visionscape software by inserting the Microscan Tools Drive into your Windows...

Страница 13: ...pecific folder For example version 6 0 1 10 would be installed in the folder 601_10 The installation creates a Program Group named Microscan Visionscape in your Start Menu and icons for FrontRunner an...

Страница 14: ...eliability of your GigE system we recommend that you set up a private network using Static IP addresses on the Gigabit Ethernet ports in your PC that will be connected to GigE cameras In this section...

Страница 15: ...ionscape GigE Cameras 2 5 The following example shows what the Network Connections window might look like if you have a 4 port Gigabit Ethernet adapter installed in your PC FIGURE 2 3 Network Port Pro...

Страница 16: ...he GigE Camera 2 6 Getting Started with Visionscape GigE Cameras Configure Network Properties In the properties window select Internet Protocol TCP IP and then click the Properties button FIGURE 2 4 N...

Страница 17: ...he IP address as 192 168 XXX 2 where XXX can be from 1 to 254 192 168 XXX UUU is a local private Class B network The Subnet Mask is set for a Class C Network and the Default gateway is set to the same...

Страница 18: ...amera s Connect the included power and Ethernet cables to the back of your Microscan GigE camera FIGURE 2 6 Microscan GigE Camera Connectors Note If you choose not to use the Ethernet cable supplied w...

Страница 19: ...irectly to the ports of the Gigabit Ethernet adapter s in your PC If you choose this approach and you are using multiple cameras you will either need to install multiple Gigabit Ethernet adapters in y...

Страница 20: ...pplication as well as to check your camera setup When you launch FrontRunner for the first time your GigE cameras will be automatically discovered and configured on the private network set up in the p...

Страница 21: ...Device Toolbar at the top of the main window that lists all of the available Visionscape devices A single GigE device named GigEVision1 is created to provide access to all of your GigE cameras Before...

Страница 22: ...run on our GigE device Do this by clicking on the Create New Program icon on the toolbar FIGURE 2 11 Create New Job This will create a default job that contains a single Inspection that contains a si...

Страница 23: ...irst Picture Setting Up the GigE Camera 2 Getting Started with Visionscape GigE Cameras 2 13 Take a Picture Now that we have a Job loaded FrontRunner should look like this FIGURE 2 12 FrontRunner with...

Страница 24: ...gE Cameras You can now take a single picture with your first GigE camera by simply clicking on the Acquire icon on the Setup toolbar FIGURE 2 13 Acquire Or you can activate Live Video mode by clicking...

Страница 25: ...t GigE camera If you are using more than one camera and want to check images from additional cameras you have two options 1 Add additional Snapshot Steps to your Job and configure each to connect to y...

Страница 26: ...Acquire tab at the top of the properties pane as shown here FIGURE 2 16 Select a Step in the Job List If you look at the Camera Number parameter you will see that Camera1 is currently selected This co...

Страница 27: ...and their associated components Ensure that the camera strobe and any other cables are long enough to reach your PC The Ethernet cable can be affected by interference from an electrical transformer or...

Страница 28: ...The environment of your PC is important for maintaining a reliable system You should consider the humidity temperature foot traffic and fresh air flow before permanently mounting your system Refer to...

Страница 29: ...ery powerful complex and infinitely configurable tool As a result of this flexibility it is not possible to explain and document every possible scenario of creating a Job without the aid of a factory...

Страница 30: ...e a masking tool to mask out hide the mask in the foreground and apply the Flaw Tool algorithm on the background The tools we use to solve this inspection problem are a Flaw Tool a StaticMask Tool and...

Страница 31: ...en Add to display the Open dialog box Browse for the file text02 tif from Windows It is located at C Vscape Tutorials Samples Tutorials GigE Systems Defect Detection with Flaw Tool Select text02 tif a...

Страница 32: ...d 11 Right click Rect Warp select Insert Into and click the Analysis Tools tab Double click on Flaw Tool to insert it into the Rect Warp 12 Highlight Flaw Tool in the Step Tree left pane 13 Adjust the...

Страница 33: ...n in Figure 3 2 FIGURE 3 2 Defect Detection Flaw Tool Job Tree allows you to step through your Job as you set up and train each tool A green check mark will appear next to each tool when you click thi...

Страница 34: ...gE Cameras 21 To set up the ThreePt Locator you will move and size Find Pin 1 Find Pin 2 and Find Pin 3 Figure 3 3 The outer box is the Find Pin ROI The inner box is the Template Find Pin FIGURE 3 3 F...

Страница 35: ...for the three Points Your setup for ThreePt Locator should appear as shown in Figure 3 4 FIGURE 3 4 Setting Up the Three Pt Locator The ThreePt Locator step and the Train button will display a red box...

Страница 36: ...ape GigE Cameras A trained ThreePt Locator will appear as shown in Figure 3 5 FIGURE 3 5 Three Pt Locator Trained Observe that the ThreePt Locator has a green check mark in front of it indicating that...

Страница 37: ...h Visionscape GigE Cameras 3 9 25 Move and size the Rect Warp ROI so that it encloses the area to be inspected as shown in Figure 3 6 FIGURE 3 6 Rect Warp ROI Positioned 26 Click Observe that Rect War...

Страница 38: ...pane as shown in Figure 3 7 FIGURE 3 7 Flaw Tool ROI 28 The text02 tif image is reduced to the size of the of the Rect Warp ROI The Flaw Tool is not a trainable tool However it becomes trainable when...

Страница 39: ...can also right click in the image and select Maximize ROI FIGURE 3 8 Flaw Tool ROI Sized 29 Click Notice that the foreground the text which is the mask pixels will be green then yellow as shown Figur...

Страница 40: ...34 Adjust the following setting File List Click to the right of File List and then click Add This displays the Open window Browse for the files text03 tif and text06 tif from Windows They are located...

Страница 41: ...as you create it Note Maximize or minimize the Editor as needed to accomplish the steps in this procedure 5 Highlight Acquire in the Step Tree left pane FrontRunner displays the Acquire properties pag...

Страница 42: ...napshot in the Step Tree left pane and select Insert Into to display the Insert Step window Click the Analysis Tools tab Double click OCVFontless Tool to insert it into the Snapshot Before the OCV Fon...

Страница 43: ...o boxes The outer box is the AutoFind The inner box is the OCV Fontless Tool 11 Move and size the OCV Fontless Tool inner box around the characters to be inspected L2A0693 Note If preferred zoom the i...

Страница 44: ...orials 3 16 Getting Started with Visionscape GigE Cameras both boxes are adjusted the OCV Fontless Tool will look similar to the graphic shown in Figure 3 11 FIGURE 3 11 OCV Fontless Tool 12 To train...

Страница 45: ...The symbol boxes are placed around the characters based on the space between the characters If any characters are touching the characters will be grouped in one symbol box The trained tool will be di...

Страница 46: ...13 OCV Fontless Tool Inspection Graphics The two large green boxes represent the AutoFind search area Once the AutoFind has located the code the character verification boxes are placed over each of th...

Страница 47: ...ess tool has debug capabilities that can be used in the Edit window After the OCV Fontless tool has been run you can view the inspection graphics When you move the mouse over an inspected character in...

Страница 48: ...15 OCV Fontless Tool Inspection Results This Inspection Results Window displays the current values for the character and the tolerances set for the character With this information the tolerances can...

Страница 49: ...pply Automatic Min Contrast When enabled verifies that the inspected characters have the proper contrast When disabled the OCVFontless Tool will still pass even if the characters are very dark By defa...

Страница 50: ...Start Visionscape Visionscape FrontRunner FrontRunner displays its main window 2 Select a Visionscape Device on the FrontRunner Device toolbar 3 Start creating a new Job by clicking 4 To display the...

Страница 51: ...dow 8 Adjust the following settings Picture Mode Set to Load Images from File File List Click empty and then Add This displays the Open window Browse for the file dm01 tif from Windows It is located a...

Страница 52: ...s 3 24 Getting Started with Visionscape GigE Cameras 9 To display dm01 tif click FIGURE 3 17 Data Matrix Displayed 10 Highlight Rect Warp left pane 11 Size the Rect Warp ROI to enclose the entire Data...

Страница 53: ...arp ROI 12 In the Properties right pane set the following scaling parameters for the Rect Warp X ScaleFactor 60 Y ScaleFactor 60 13 To highlight the DataMatrix Tool and green check mark the Rect Warp...

Страница 54: ...e red square placed next to the tool display the DataMatrix Tool properties page b Enable check Assisted Learn This displays a green ROI box c Click on this ROI box and size it as close to the DataMat...

Страница 55: ...ications are usually triggered by real world inputs Most applications are strobed The important properties on the DataMatrix Tool properties page to consider are described below General Cell Size For...

Страница 56: ...out affecting robustness Optimization for Robustness Finetune Method Selecting Intensity Enhance will increase robustness for matrices of very low 40 gray scales between foreground and background cont...

Страница 57: ...of the part 1 Start FrontRunner by selecting Start Visionscape Visionscape FrontRunner FrontRunner displays its main window 2 Select a Visionscape Device on the FrontRunner Device toolbar 3 Start cre...

Страница 58: ...9 Right click Edge Tool and select Insert Into Click the Measurements tab Double click LeastSquaresCircle Fit to add it to the Job 10 Right click LeastSquaresCircle Fit and select Insert Into Double...

Страница 59: ...o Center Distance tolerance 15 Right click TwoPt Locator and select Insert Into Click the Measurement tab Double click Dist2Pts Meas to add it to the Job Rename Dist2Pts Meas to Right to Center This w...

Страница 60: ...rk next to Snapshot 21 Highlight TwoPt Locator and click 22 To set up the TwoPt Locator enlarge the search areas Find Pin 1 left boxes and Find Pin 2 right boxes so that the tips of the prongs will al...

Страница 61: ...s around the untrained tool will remain dotted lines until trained 23 Train the Two Pt Locator by clicking A trained Two Pt Locator will appear as shown in Figure 3 23 FIGURE 3 23 Two Pt Locator Train...

Страница 62: ...rojection Width property Graphics Level Show Details 26 Minimize the Step Tree Editor 27 Size and place the Edge Tool ROI to enclose the curved edges as shown in Figure 3 24 FIGURE 3 24 Edge Tool Setu...

Страница 63: ...sCircleFit Radius With Tolerance 5 Nominal 33 Minimize the Step Tree Editor 34 Click On the properties page observe that the Nominal Distance is set to be the radius value calculated by the LeastSquar...

Страница 64: ...tree view Select PointofBestMatch PointofBestMatch and click OK Figure 3 26 41 To select the reference for Point2 click in the area to the right of the blue arrow Figure 3 25 and click on the three d...

Страница 65: ...Datum Pin to Pin Distance Pt Pt Distance With Tolerance 5 Nominal 47 Minimize the Step Tree Editor 48 Click On the properties page observe that the Nominal Distance is set to the output value of the...

Страница 66: ...e check mark to the left of FindPin 1 FindP1 to expand the tree view Select PointofBestMatch PointofBestMatch and click OK Figure 3 28 54 To select the reference for Point2 click in the area to the ri...

Страница 67: ...ce parameters Input Datum Left to Center Pt Pt Distance With Tolerance 5 Nominal 60 Minimize the Step Tree Editor 61 Click On the properties page observe that the Nominal Distance is set to the output...

Страница 68: ...o the right of the blue arrow Figure 3 29 and click on the three dots which displays the Select Reference window as shown in Figure 3 30 67 Click on the check mark to the left of LeastSquaresCircle Fi...

Страница 69: ...Distance tolerance parameters Input Datum Right to Center Pt Pt Distance With Tolerance 5 Nominal 72 Minimize the Step Tree Editor 73 Click On that properties page observe that the Nominal Distance i...

Страница 70: ...ool that fails a red X is displayed next to it You can also click to run on each image one at a time to view their results 80 Select results to be uploaded at runtime a Click to display the Inspection...

Страница 71: ...d Step Tree Editor click This allows you to view your Job as you create it Note Maximize or minimize the Editor as needed to accomplish the steps in this procedure 5 Highlight Acquire in the Step Tree...

Страница 72: ...ta Array With If and One Point Locator steps into the Trajectory Step 8 Right click Trajectory Step and select Insert Into FrontRunner displays the Insert Step window Click the Analysis Tools tab Doub...

Страница 73: ...the right of Result Selector as shown in Figure 3 33 FIGURE 3 33 Result Selector Add 12 Click Add The Select Datums for Report dialog box is displayed as shown in Figure 3 34 13 In the left pane navi...

Страница 74: ...the Trajectory Grid Setup properties page The Trajectory Grid Setup step tells the system the locations of the devices in the field of view Specify the following In Number of Rows type 3 In Number of...

Страница 75: ...dvanced Tool Tutorials 3 Getting Started with Visionscape GigE Cameras 3 47 16 Highlight Blob Tool in the Step Tree left pane FrontRunner displays the Blob Tool properties page as shown in Figure 3 35...

Страница 76: ...should fail In Max Number of Blobs type 100 This instructs the Blob Tool to find 100 blobs no more and no less or else it should fail In Advanced Datums set Process Every nth pixel to 2 the default is...

Страница 77: ...k to train the Trajectory Step The trajectory ROI changes to a zig zag pattern across all the devices with nodes at each device location as shown in Figure 3 37 This represents the order in which the...

Страница 78: ...m and that the parts that fail have red boxes as shown in Figure 3 38 FIGURE 3 38 Start Test and Test Results 24 To run your Job click 25 To display the Report information that you specified previousl...

Страница 79: ...Tutorial 5 Using the Trajectory Step Advanced Tool Tutorials 3 Getting Started with Visionscape GigE Cameras 3 51 FIGURE 3 40 Trajectory Tutorial Results...

Страница 80: ...Chapter 3 Advanced Tool Tutorials 3 52 Getting Started with Visionscape GigE Cameras...

Страница 81: ...Getting Started with Visionscape GigE Cameras A 1 A GigE Network Configuration A APPENDIX A GigE Network Configuration This section contains information about Visionscape GigE network configuration...

Страница 82: ...TCP IP Some systems split internet protocol into two separate entries TCP IP Rev 4 and Rev 6 All Microscan cameras use TCP IP Rev 4 There may also be anti virus filters such as McAfee NDIS Intermediat...

Страница 83: ...cturer s control software make sure that you disable it in the Properties dialog below It will almost certainly conflict with the JAI software that Visionscape uses to receive images from the cameras...

Страница 84: ...with the subnet mask set to 255 255 255 0 The mask means that all devices connected to the NIC should have addresses that start with 192 168 254 x It is recommended that you steer clear of using any...

Страница 85: ...so on Optimizing the Network Adapter for Use with GigE Cameras To reduce the load on the PC to a minimum you need to optimize the NIC Visionscape does not perform this optimization because every insta...

Страница 86: ...isionscape GigE Cameras Next click on the Advanced tab and you should see a list of parameters that can be tuned by the user Look for Jumbo Frames sometimes called Jumbo Packets Set this to the maximu...

Страница 87: ...Visionscape GigE Network Configuration A Getting Started with Visionscape GigE Cameras A 7 Then select Receive Descriptors if available This is sometimes grouped within Performance Options Click on th...

Страница 88: ...essential when using a CMG50 camera Attaching and Configuring the Camera s Once you have done all this you can connect your camera directly or plug in a switch and then connect cameras to that switch...

Страница 89: ...tool you will see a dialog similar to this The camera here is set to use DHCP and the address is 192 168 254 3 However a persistent IP address is preferable Check the Use persistent IP box and unchec...

Страница 90: ...e NIC is set correctly and you need to adjust the way the software sends the data from the camera to the PC The NIC allows the use of jumbo packets now but it does not enforce their use You have to te...

Страница 91: ...tories Depending on how many cameras you have connected you may have Camera_0 Camera_1 Camera_2 and Camera_3 directories these all have the same things inside You ll need to repeat the procedure for C...

Страница 92: ...rames per second if your particular application only runs at 30 frames per second It makes a lot more sense and puts a lot less stress on the PC to slow the camera down to the point where it is still...

Страница 93: ...d then immediately sends the next actually there is a minimum delay of approximately 96 nanoseconds This process repeats until all the packets that make up an image have been transmitted Increasing th...

Страница 94: ...MG03c a VGA camera that can output data at slightly more than 90 fps The display on the PC can probably only manage 60 fps FrontRunner works as follows The camera is put into a continuous acquisition...

Страница 95: ...rate using packet size and inter packet delay to the rate at which you absolutely must run and you get Dropped Packets messages when running in live video then your PC is not capable of running the a...

Страница 96: ...8899 servicePort serviceBase http localhost serviceBase path DM path enableLogging true enableLogging engineExePath C dev EngineSolution EngineProcess bin Debug Vision scape EngineProcess exe engineEx...

Страница 97: ...41 37 QuerySWRights GigE license rights detected features Visionscape GigE x8 YES IntelliFind YES Third Party GigE Cameras 0 allowed 10 41 39 CreateSystemsFromConfigFile found 2 devices in dm config...

Страница 98: ...elName VISIONSCAPE CMG20 ModelName gige Resource Resource uid 189b1b90 624b 4eec b282 839558dc0f6c type GigE_Camera MACAddress 00 06 BE 00 09 4B gige CameraID TL gt GevTL INT gt FD MAC gt 00 1B 21 0A...

Страница 99: ...ftSys1 If you look at the FrontRunner device bar you will see that there is still only one GigE device listed Create a new job and bring up the editor Click on the vision system step on the left and y...

Страница 100: ...282 839558dc0f6c Assignments Device Device name SoftSys1 devClass Software Devices Copy everything for the first device and paste it immediately above the SoftSys1 device as follows Devices Device nam...

Страница 101: ...nd you should see the following in the device bar Two GigE systems are available each with one camera The Backplane debug window also shows the change 14 01 47 QuerySWRights GigE license rights detect...

Страница 102: ...amaged device Will Visionscape automatically detect this change for you The answer is no not in the current version of Visionscape What will happen is that the new camera will be added to the end of t...

Страница 103: ...ResolutionX ResolutionY 618 ResolutionY ModelName VISIONSCAPE CMG20 ModelName gige Resource Resources DMConfiguration The vision system step shows this one camera as being available for use Everything...

Страница 104: ...00 1B 21 0A 0C 72 National Instruments GigE Vision Adapter Packet Scheduler Miniport DEV gt MAC gt 00 06 BE 00 09 4A Baumer Optronic VISIONSCAPE CMG20 CameraID IPAddress 192 168 254 2 IPAddress MACAdd...

Страница 105: ...camera 1 before they will still try to use camera 1 even though it is not there We opened a job that had been saved for the first camera and tried to take a picture It failed and output the red error...

Страница 106: ...n the file but it is cleaner to delete it make sure you delete the correct one use the uid from the original camera from the line you just deleted Before Resources Resource uid 2ca5cfd1 14c2 45dd b692...

Страница 107: ...Microscan VendorName ResolutionX 0 ResolutionX ResolutionY 0 ResolutionY ModelName VISIONSCAPE CMG20 ModelName gige Resource Resources We should now be able to bring up FrontRunner again and only see...

Страница 108: ...e new Visionscape GigE cameras support partial scan mode This is easy to use if you don t mind getting your hands dirty modifying the camera definition file Here s how to do it Imagine you re using a...

Страница 109: ...IO Inputs 0 GPIO Outputs 0 Setting the Y Offset to 197 because 494 100 394 394 2 197 197 lines to ignore take 100 lines and ignore the rest Save this file making sure that you do not save it as a text...

Страница 110: ...rs On some drivers these may be buried inside Performance Options Jumbo Frames Make sure this is set to the maximum available typically 8192 bytes but only 5k on some NICs Receive Descriptors Set this...

Страница 111: ...reated If this wasn t the first time you have run FrontRunner then quit FrontRunner and the Backplane and delete dm config before going back to step 1 4 Close the Backplane you can do this by right cl...

Страница 112: ...ra_1 Camera_2 and Camera_3 directories these all have the same things inside You ll need to repeat the procedure for Camera_0 on all 4 cameras The two parameters InterPacketDelay and PacketSize are bo...

Страница 113: ...or all four cameras We ve told Visionscape to use jumbo packets but the four cameras are still going to be sending data at the same rate 128MB per second overall What this means is that one camera wil...

Страница 114: ...ticks is 240 microseconds 2MB image is approximately 222 9k packets 222 240 microseconds 53 milliseconds The camera could run at 16 fps which is 62 milliseconds per frame We have just increased the o...

Страница 115: ...There may also be anti virus filters such as McAfee NDIS Intermediate Filter GigE cameras should be on their own dedicated network This has nothing to do with Microsoft or with sharing Visionscape in...

Страница 116: ...tarted with Visionscape GigE Cameras In the example below note the two check boxes at the bottom of the dialog box If you have these checked then you will see a small icon for each NIC in the task bar...

Страница 117: ...subnet mask set to 255 255 255 0 The mask means that all devices connected to the NIC should have addresses that start with 192 168 254 x It is recommended that you steer clear of using any address t...

Страница 118: ...I Navigate to that folder and double click on JAI SDK 1 4 0 exe or JAI SDK x64 Version 1 4 0 exe depending on whether you re running a 32 bit or 64 bit system to install the JAI GigE Vision Persistent...

Страница 119: ...wer to the camera and you are ready The config tool will now show the following Now every time the camera is rebooted it will automatically set this IP address so it will not have to search the networ...

Страница 120: ...gate to the directory shown above You can do this by whatever means you prefer but a step by step way would be to type a cd b cd c cd Vscape d cd 610_10 e cd dll 3 Type aregsvr 4 This will register al...

Страница 121: ...ch as the CMG20 or CMG50 are employed in applications with high trigger rates Microscan recommends that each camera is connected directly to its own PC network port If a switch must be used then the a...

Страница 122: ...e to 3 Select InterPacketDelay 4 Select Decimal and enter desired values Recommended Values for InterPacketDelay IPD and Maximum Frames per Second FPS 2 Cameras on a Single Port 3 Cameras on a Single...

Отзывы: