Summary of Contents for Microscan Visionscape GigE
Page 1
Getting Started with ® Visionscape GigE Cameras v6.0.3, June 2013 84-111015-02 Rev C...
Page 2
All rights reserved. The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and/or service Microscan manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Microscan.
Configure Gigabit Ethernet Adapter(s) In Your PC to Use Static IP 2-4 Open the “Network Connections” window 2-4 Configure Network Properties 2-6 Connect Cables to Your GigE Camera(s) 2-8 Connect the GigE Camera(s) to Your PC 2-9 Getting Started with Visionscape GigE Cameras...
Page 4
Tutorial 5 — Using the Trajectory Step 3-43 GigE Network Configuration APPENDIX A Configuring Your Network Adapter for GigE Visionscape A-2 How to Modify the dm.config File to Change Camera and System Assignments A-16 Visionscape GigE Network Configuration A-41 Getting Started with Visionscape GigE Cameras...
Conventions The following typographical conventions are used throughout this guide: • Items emphasizing important information are bolded. • Menu selections, menu items and entries in screen images are indicated as: Run (triggered), Modify..., etc. Getting Started with Visionscape GigE Cameras...
Page 6
Preface viii Getting Started with Visionscape GigE Cameras...
® Figure 1–1 shows supported Visionscape hardware. All smart cameras ® and Visionscape GigE Cameras are supported by the same application environment. Getting Started with Visionscape GigE Cameras...
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 numbers and descriptions during system installation. After the installation, keep the system configuration sheet for future reference. Getting Started with Visionscape GigE Cameras...
Components 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 • Network Components such as Switches and NIC (Network) Cards •...
Minimum of 2GB memory for Windows Vista and 7 ® • 1 Gigabit Ethernet port reserved for use with Visionscape GigE Cameras • If I/O is required: one open PCIe slot for the available Digital I/O board Getting Started with Visionscape GigE Cameras...
® This chapter describes the process of connecting Visionscape GigE cameras to your PC. After reading this chapter you will be able to acquire images with your cameras and use them in vision applications. Getting Started with Visionscape GigE Cameras...
N:\Vscape, where N is the selected drive. ® Install Visionscape software by inserting the Microscan Tools Drive into your Windows XP, Vista, or Windows 7 PC. Navigate to the Configuration Software page shown here: Configuration Software Screen FIGURE 2–1.
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 and AppRunner are added to your desktop. Tutorial Jobs and Images are installed in: c:\vscape\tutorials &...
In this section we will explain how to do this. Open the “Network Connections” window Go to the Windows Control Panel, and double-click on the “Network Connections” option. Control Panel View FIGURE 2–2. Getting Started with Visionscape GigE Cameras...
Page 15
4-port Gigabit Ethernet adapter installed in your PC. Network Port Properties FIGURE 2–3. Right-click on one of the Gigabit Ethernet ports (e.g. GigE Vision Port 1A, as shown above) and select Properties. Getting Started with Visionscape GigE Cameras...
Chapter Setting Up the GigE Camera Configure Network Properties In the properties window, select Internet Protocol (TCP/IP) and then click the Properties button. Network Properties Page FIGURE 2–4. Getting Started with Visionscape GigE Cameras...
Page 17
C network with a host ID of 1. TCP/IP Property Page FIGURE 2–5. ® The setup of your network adapter is now complete. Visionscape software will automatically configure your Microscan GigE cameras to be on the same network. Getting Started with Visionscape GigE Cameras...
FIGURE 2–6. Note: If you choose not to use the Ethernet cable supplied with your Microscan GigE camera, be sure to use a CAT6 cable. DO NOT USE CAT5 CABLES – they are not rated for GigE speeds. Getting Started with Visionscape GigE Cameras...
Gigabit Ethernet port in your PC and you wish to use multiple cameras. Connect your cameras and your PC to the switch. Be sure to use a Gigabit Ethernet switch, such as Microscan part number 98-000131-01. Gigabit Ethernet Switch FIGURE 2–8.
Start FrontRunner Start up FrontRunner by going to the Windows Start Menu > All Programs > Microscan Visionscape > Visionscape FrontRunner. Assuming your license key is plugged in and your cameras have been detected, the FrontRunner screen should display the GigE Software System icon in the Device Toolbar.
“GigEVision1”, is created to provide access to all of your GigE cameras. Before we can do anything, we must tell FrontRunner that we want to work with the GigE Device by selecting it on the toolbar. Select GigE System FIGURE 2–10. Getting Started with Visionscape GigE Cameras 2-11...
Snapshot Step. The Snapshot Step is responsible for ® taking pictures. Refer to the FrontRunner manual and the Visionscape ® Tools Manual for more details on creating applications with Visionscape Step programs. 2-12 Getting Started with Visionscape GigE Cameras...
Take Your First Picture Take a Picture Now that we have a Job loaded, FrontRunner should look like this: FrontRunner with Job Loaded FIGURE 2–12. Getting Started with Visionscape GigE Cameras 2-13...
Page 24
Acquire icon on the Setup toolbar: Acquire icon Acquire FIGURE 2–13. Or you can activate Live Video mode by clicking on the Live Video button: Live Video icon Live Video FIGURE 2–14. 2-14 Getting Started with Visionscape GigE Cameras...
Tools Reference Manual for more information on building Step programs. We will explain option 2 here. Select the snapshot step in the “Job List” window on the left side of the main window: Change Selected Camera FIGURE 2–15. Getting Started with Visionscape GigE Cameras 2-15...
Page 26
FrontRunner for the first time. Change the selection to “Camera 2” by clicking on the parameter and using the combo box that pops up. Change Camera Number FIGURE 2–17. 2-16 Getting Started with Visionscape GigE Cameras...
Avoid severe vibrations. • Locate the components to avoid accidental bumping. • Protect your PC and components against dust, humidity, extreme temperatures, and extremely harsh environments. • Protect the viewing area from excess ambient light. Getting Started with Visionscape GigE Cameras 2-17...
You should consider the humidity, temperature, foot traffic, and fresh air flow before permanently mounting your system. Refer to the following manuals for specific information regarding environmental requirements: ® • Visionscape GigE Camera Guide 2-18 Getting Started with Visionscape GigE Cameras...
Tutorial 2 — OCV Fontless Tool on page 3-13 Tutorial 3 — Data Matrix Tool on page 3-22 Tutorial 4 — Using Measurement Tools in an Inspection on page 3-29 Tutorial 5 — Using the Trajectory Step on page 3-43 Getting Started with Visionscape GigE Cameras...
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. Highlight Acquire in the Step Tree (left pane). FrontRunner™ displays the Acquire properties page. Getting Started with Visionscape GigE Cameras...
Page 31
Visionscape . If you installed ® Visionscape to a location other than C:\Vscape, replace it with the appropriate drive and directory designation. In the Setup window, to view text02.tif, click text02.tif FIGURE 3–1. Getting Started with Visionscape GigE Cameras...
Page 32
Image/PreProcessing tab. Double click on StaticMask Tool to insert it into the Flaw Tool. StaticMask Tool eliminates the foreground text in the image. Highlight StaticMask Tool and adjust the following parameter: – Number of Adjustments — 2. Getting Started with Visionscape GigE Cameras...
Page 33
A green check mark will appear next to each tool when you click this button. Minimize the Editor. Highlight Snapshot (left pane). Click Snapshot acquires the image and displays it in the Setup Window. Highlight ThreePt Locator (left pane). Getting Started with Visionscape GigE Cameras...
Page 34
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. Find Pin 1 Template Find Pin 2 Center Handle Find Pin 2 Find Pin Locations FIGURE 3–3. Getting Started with Visionscape GigE Cameras...
Page 35
The ThreePt Locator step and the Train button will display a red box until you have trained the tool. Also, the boxes around the untrained tool will remain dotted lines until trained. Train the ThreePt Locator by clicking Getting Started with Visionscape GigE Cameras...
Page 36
A trained ThreePt Locator will appear as shown in Figure 3–5. Three Pt. Locator — Trained FIGURE 3–5. Observe that the ThreePt Locator has a green check mark in front of it, indicating that it has been trained successfully. Highlight Rect Warp (left pane). Getting Started with Visionscape GigE Cameras...
Page 37
Move and size the Rect Warp ROI so that it encloses the area to be inspected, as shown in Figure 3–6. Rect Warp ROI Positioned FIGURE 3–6. Click Observe that Rect Warp has a green check mark in front of it, indicating that it has been trained successfully. Getting Started with Visionscape GigE Cameras...
Page 38
ROI. The Flaw Tool is not a trainable tool. However, it becomes trainable when the StaticMask Tool is inserted into it. Move and size the Flaw Tool ROI to enclose the area shown in Figure 3–8. 3-10 Getting Started with Visionscape GigE Cameras...
Page 39
Notice that the foreground, the text, which is the mask pixels, will be green, then yellow, as shown Figure 3–8. Click to complete your Job. The masked parts will be red and then yellow. To run the program once and then stop, click Getting Started with Visionscape GigE Cameras 3-11...
Page 40
This will run a continuous loop of all the images and display a red square next to the steps that fail. You can also click to run each image, one at a time, to view results. 3-12 Getting Started with Visionscape GigE Cameras...
Note: This file was installed on your ® hard drive when you installed Visionscape . If you installed ® Visionscape to a location other than C:\Vscape, replace it with the appropriate drive and directory designation. Getting Started with Visionscape GigE Cameras 3-13...
Page 42
Double click OCVFontless Tool to insert it into the Snapshot. Before the OCV Fontless Tool is trained, the characters in the image should be the proper size. The average character width for the characters should be approximately 20 pixels in width. 3-14 Getting Started with Visionscape GigE Cameras...
Page 43
This box graphically shows you where the system will search for the code in the image. Move and size this box so that the inspected characters will stay inside this box when the inspection is run. After Getting Started with Visionscape GigE Cameras 3-15...
Page 44
Advanced Tool Tutorials both boxes are adjusted, the OCV Fontless Tool will look similar to the graphic shown in Figure 3–11. OCV Fontless Tool FIGURE 3–11. To train the OCV Fontless tool, click 3-16 Getting Started with Visionscape GigE Cameras...
Page 45
If any characters are touching, the characters will be grouped in one symbol box. The trained tool will be displayed as shown in Figure 3–12. OCV Fontless Tool — Trained FIGURE 3–12. Test the inspection by clicking Getting Started with Visionscape GigE Cameras 3-17...
Page 46
When the tool passes, the box will turn green. When the tool fails, the box will turn red. After the Job has been tested and saved, you can run it. 3-18 Getting Started with Visionscape GigE Cameras...
Page 47
When you move the mouse over an inspected character in the code, the original template of the character is displayed, as shown in Figure 3–14. OCV Fontless Tool — Inspected Character Code FIGURE 3–14. Getting Started with Visionscape GigE Cameras 3-19...
Page 48
The readings take the form value/tolerance. If the value exceeds the tolerance, then that test has failed. A negative one (-1) means individual tests are disabled in the OCV Fontless datum page. 3-20 Getting Started with Visionscape GigE Cameras...
Page 49
You must click Apply Symbol Group Settings before these changes are made to the previously trained symbols. This button is located at the bottom of the properties page. Getting Started with Visionscape GigE Cameras 3-21...
Double click Rect Warp to insert it into the Snapshot. Right click Rect Warp, select Insert Into, click the Analysis Tools tab, and double click Data Matrix Tool to add it to the Job. 3-22 Getting Started with Visionscape GigE Cameras...
Page 51
Note: This file was installed on your ® hard drive when you installed Visionscape . If you installed ® Visionscape to a location other than C:\Vscape, replace it with the appropriate drive and directory designation. Getting Started with Visionscape GigE Cameras 3-23...
Page 52
Advanced Tool Tutorials To display dm01.tif, click Data Matrix Displayed FIGURE 3–17. Highlight Rect Warp (left pane). Size the Rect Warp ROI to enclose the entire Data Matrix, as shown in Figure 3–18. 3-24 Getting Started with Visionscape GigE Cameras...
Page 53
Warp, click Highlight DataMatrix Tool (left pane). Notice that the image has reduced in scale factor to 60% of the original size. Zoom in to enlarge the image before proceeding with this tutorial. Getting Started with Visionscape GigE Cameras 3-25...
Page 54
• No. of Matrix Rows — 8. • No. of Matrix Columns — 32. • Matrix Polarity — Light on Dark. Zoom so that you can see the entire image area. 3-26 Getting Started with Visionscape GigE Cameras...
Page 55
Vertical or Vertical then Horizontal, the time used by each probe direction will be half the time set by this parameter. Furthermore, when Robust Locate is enabled (checked), the system may use up to three times the timeout value before timing out. Getting Started with Visionscape GigE Cameras 3-27...
Page 56
• Threshold Method — Selecting all three threshold methods will generally increase the robustness of the matrix readings and will typically only marginally affect speed. 3-28 Getting Started with Visionscape GigE Cameras...
Picture Mode — Set to Load Images from File. – File List — Click <empty>, and then Add... This displays the Open window. Browse for the file, clipgood1.tif, from Windows. It is located at: C:\Vscape\Tutorials & Samples\Tutorials\GigE Getting Started with Visionscape GigE Cameras 3-29...
Page 58
Rename Tolerance Meas to Pin to Pin Distance tolerance. This will be used to tolerance the measured pin-to-pin distance. Right click TwoPt Locator and select Insert Into. Click the Measurements tab. Double click Dist2Pts Meas to add it to the Job. 3-30 Getting Started with Visionscape GigE Cameras...
Page 59
Rename Tolerance Meas to Right Pin to Center Distance tolerance. The Job you created should appear similar to the example shown in Figure 3–21. Using Measurement Tools in an Inspection Job Tree FIGURE 3–21. Getting Started with Visionscape GigE Cameras 3-31...
Page 60
Place the center of the Pin2 template at the tip of the right prong. Your setup for Two Pt Locator should appear as shown in Figure 3–22. Find Pin Setup FIGURE 3–22. 3-32 Getting Started with Visionscape GigE Cameras...
Page 61
In the Properties pane, set the following Edge Tool parameters: – EdgeSign — Any settings. – PointType — Maximum Transition on Line. – Minimum Gradient — 48. – Maximum Gradient — 255. – Gradient Sparseness — Sharp Edges. Getting Started with Visionscape GigE Cameras 3-33...
Page 62
Figure 3–24. Edge Tool Setup FIGURE 3–24. Click Observe that the Edge Tool has been run successfully, as is indicated by the green check mark. Highlight LeastSquaresCircle Fit (left pane). Click 3-34 Getting Started with Visionscape GigE Cameras...
Page 63
Observe that Pin to Pin Distance is highlighted and Circle Radius tolerance has run successfully, as indicated by the green check mark. In the Properties (Figure 3–25), set Graphics Level to Show Graphics. Select Reference Button FIGURE 3–25. Getting Started with Visionscape GigE Cameras 3-35...
Page 64
Select PointofBestMatch:PointofBestMatch and click OK (Figure 3–26). Minimize the Step Tree Editor. Click Observe that Pin to Pin Distance tolerance is highlighted and Pin to Pin Distance has been green check marked. 3-36 Getting Started with Visionscape GigE Cameras...
Page 65
5% of the Nominal Distance. Minimize the Step Tree Editor. Highlight Left to Center and click In the Properties (Figure 3–27), set Graphics Level to Show Graphics. Select Reference Button FIGURE 3–27. Getting Started with Visionscape GigE Cameras 3-37...
Page 66
Select Reference window, as shown in Figure 3–28. Click on the check mark to the left of LeastSquaresCircle Fit:LsqCFit1 to expand the tree view. Select Fit Point:Pt and click OK (Figure 3–28). Minimize the Step Tree Editor. Click 3-38 Getting Started with Visionscape GigE Cameras...
Page 67
To select the reference for Point1, click in the area to 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. Select Reference Button FIGURE 3–29. Getting Started with Visionscape GigE Cameras 3-39...
Page 68
Minimize the Step Tree Editor. Click Observe that Right Pin to Center Distance tolerance is highlighted and Right Pin to Center Distance has been green check marked. Highlight Right Pin to Center Distance tolerance (left pane). 3-40 Getting Started with Visionscape GigE Cameras...
Page 69
On that properties page, observe that the Nominal Distance is set to the output value of the above Pin to Pin Distance, the Tolerance+/- is set to be the value that is 5% of the Nominal Distance. Click Setup and Training Complete FIGURE 3–31. Getting Started with Visionscape GigE Cameras 3-41...
Page 70
Click Add and scroll through the listing and select any datums that you would like to view at runtime; for example: • Snapshot.Status • GainOffset.Status • TwoPt Locator.Status • Find Pin 1.Status • Find Pin 2.Status Click Close. To run you Job, click 3-42 Getting Started with Visionscape GigE Cameras...
Select TrajectoryTutorial.tif and click Open. This will load the file and its path into the File List. Note: This file was installed on your ® hard drive when you installed Visionscape . If you installed Getting Started with Visionscape GigE Cameras 3-43...
Page 72
Insert Step window. Click the Program Control tab. Double click Trajectory Grid Setup to add it to the Job. The Job you created should look like the Job displayed in Figure 3–32. Trajectory Tool Job Tree FIGURE 3–32. 3-44 Getting Started with Visionscape GigE Cameras...
Page 73
In the left pane, navigate down the tree to the Blob Tool, and highlight In the right pane, highlight (to select) Status and Number of Blobs as datums for the report, as shown in Figure 3–34. Click Close. Getting Started with Visionscape GigE Cameras 3-45...
Page 74
In Y Offset, type 90. Vertical Spacing and Horizontal Spacing define the distance between devices and are measured in pixels. Specify the following: – In Horizontal Spacing, type 150. – In Vertical Spacing, type 150. 3-46 Getting Started with Visionscape GigE Cameras...
Page 75
Tutorial 5 — Using the Trajectory Step Highlight Blob Tool in the Step Tree (left pane). FrontRunner™ displays the Blob Tool properties page, as shown in Figure 3–35. Blob Tool Properties Page FIGURE 3–35. Getting Started with Visionscape GigE Cameras 3-47...
Page 76
Set up the initial location of the Blob ROI. Move the ROI to surround the top left hand device, as shown in Figure 3–36. Note: Zooming in once will help you when surrounding the device. Setup Window — ROI Move FIGURE 3–36. 3-48 Getting Started with Visionscape GigE Cameras...
Page 77
Train the Trajectory Step FIGURE 3–37. Run the inspection by clicking The inspection proceeds by moving the Blob to each location defined by the Trajectory Step and running it there. Notice that the parts that Getting Started with Visionscape GigE Cameras 3-49...
Page 78
To run your Job, click To display the Report information that you specified previously, click on the button shown in Figure 3–39. Results are shown in Figure 3–40. Displaying Report Information FIGURE 3–39. 3-50 Getting Started with Visionscape GigE Cameras...
Page 79
Tutorial 5 — Using the Trajectory Step Trajectory Tutorial Results FIGURE 3–40. Getting Started with Visionscape GigE Cameras 3-51...
Page 80
Chapter Advanced Tool Tutorials 3-52 Getting Started with Visionscape GigE Cameras...
GigE Network Configuration APPENDIX A ® This section contains information about Visionscape GigE network configuration. Getting Started with Visionscape GigE Cameras...
PC on the motherboard or as PCI or PCIe cards and there are also some USB-to-Ethernet adapters available. Microscan recommends the use of NICs that make use of the Intel Pro/1000 chipsets. Normally, when you put a NIC into a PC it will be recognized as a network adapter and will inherit all the usual network protocols.
Page 83
In the example above, 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. This is a useful visual indicator of network status. Getting Started with Visionscape GigE Cameras...
Page 84
GigE driver looks at the last number (254) and enumerates all cameras on the NIC with addresses above that. In the case of the NIC ending in 254 the first camera would end in 255, which will not work. Getting Started with Visionscape GigE Cameras...
Page 85
Configuring Your Network Adapter for GigE Visionscape Microscan recommends that you set your NIC to end in .2. For instance 192.168.2.2. If you have more than one camera NIC then set the second one to 192.168.3.2, and 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.
Page 86
Look for Jumbo Frames (sometimes called Jumbo Packets). Set this to the maximum available – typically 8192 bytes but only 4k or 5k on some NICs. Getting Started with Visionscape GigE Cameras...
Page 87
Configuring Your Network Adapter for GigE Visionscape Then select Receive Descriptors (if available). This is sometimes grouped within Performance Options: Click on the Properties button to bring up this view: Getting Started with Visionscape GigE Cameras...
Page 88
64-bit system) to install the JAI GigE Vision Persistent IP Configuration Tool. Once the tool is installed, navigate to Start Menu > All Programs > JAI SDK > Tools and click on Persistent IP Configuration Tool to open it. Getting Started with Visionscape GigE Cameras...
Page 89
Check the “Use persistent IP” box and uncheck the “Use DHCP” box. Enter 192.168.254.3 in the lower IP address box and 255.255.255.0. Click Apply. You will be prompted to reboot the camera as follows: Getting Started with Visionscape GigE Cameras...
Page 90
The camera is going to use the default 1500 byte packet size that Visionscape uses out-of-the-box. You need to change this before going any further. These values are stored in the registry. From the Start menu select Run… and type: Regedit A-10 Getting Started with Visionscape GigE Cameras...
Page 91
Visionscape to use its default values. The first thing you need to do is set the PacketSize to 8192. Right-click on PacketSize (the actual word) and select Modify. You’ll see the following: Getting Started with Visionscape GigE Cameras A-11...
Page 92
In other words, we need to slow down the camera to make sure that the PC can handle the throughput. This is not an issue on PCs with dedicated PCIe x16 graphics cards but it most certainly is on slower devices. A-12 Getting Started with Visionscape GigE Cameras...
Page 93
The following calculations show how this works in reverse: – 22,781 ticks is 729 microseconds. – A 2MB image is approximately 38 9k packets. – 38 * 729 microseconds = 27.71 milliseconds. Getting Started with Visionscape GigE Cameras A-13...
Page 94
Set the inter-packet delay in the registry in exactly the same way as you set the packet size. Note: The Visionscape GigE Camera Control Tool includes a tool to calculate the inter-packet delay. Feel free to use this only when you...
Page 95
A dedicated graphics adapter is given the data it needs to display and handles all manipulations required within its own memory space, thus freeing the system memory bus. Getting Started with Visionscape GigE Cameras A-15...
System Assignments Explaining and Modifying the dm.config file The first time you plug a Microscan GigE camera into a PC and start FrontRunner, a new file is created. This file is called dm.config and it can be found in the C:\Vscape\DM directory. DM stands for Device Manager, and this file is intended to manage all GigE devices attached to the PC.
Page 97
If you open the Visionscape Backplane debug window, you will see the same information again: 10: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...
Page 98
The debug window now shows two cameras on GigEVision1: 11:19:11 QuerySWRights: GigE license rights detected, features: Visionscape GigE (x8): YES / IntelliFind: YES / Third Party GigE Cameras: 0 allowed 11:19:13 CreateSystemsFromConfigFile: found 2 devices in dm.config...
Page 99
For example, if you have one Visionscape system with four cameras each monitoring a process on four separate lines, then you might want to stop one line and change the job being run while still Getting Started with Visionscape GigE Cameras A-19...
Page 100
</Assignments> </Device> <Device name="SoftSys1" devClass="Software" /> </Devices> Now delete one uid from each of the two devices and rename the second one: <Devices> <Device name="GigEVision1" devClass="GigE"> <Assignments> <Assignment type="ACQ" uid="94d2afa3-95bb-4e6d-83bd- 098e5ed439d2" /> </Assignments> A-20 Getting Started with Visionscape GigE Cameras...
Page 101
Two GigE systems are available, each with one camera. The Backplane debug window also shows the change: 14:01:47 QuerySWRights: GigE license rights detected, features: Visionscape GigE (x8): YES / IntelliFind: YES / Third Party GigE Cameras: 0 allowed 14:01:49 CreateSystemsFromConfigFile: found 3 devices in dm.config...
Page 102
Let's go back to our original dm.config file. We have one camera attached as shown in the listing below: <?xml version="1.0" encoding="utf-8"?> <DMConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Settings> <servicePort>8899</servicePort> <serviceBase>http://localhost</serviceBase> <path>DM</path> <enableLogging>true</enableLogging> <engineExePath>C:\dev\EngineSolution\EngineProcess\bin\Debug\Vision scape.EngineProcess.exe</engineExePath> </Settings> <Devices> <Device name="GigEVision1" devClass="GigE"> <Assignments> <Assignment type="ACQ" uid="2ca5cfd1-14c2-45dd-b692- 9a2948d18361" /> </Assignments> A-22 Getting Started with Visionscape GigE Cameras...
Page 103
This camera is then added to the dm.config list. <?xml version="1.0" encoding="utf-8"?> <DMConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Settings> <servicePort>8899</servicePort> <serviceBase>http://localhost</serviceBase> <path>DM</path> <enableLogging>true</enableLogging> <engineExePath>C:\dev\EngineSolution\EngineProcess\bin\Debug\Vision scape.EngineProcess.exe</engineExePath> </Settings> <Devices> <Device name="GigEVision1" devClass="GigE"> <Assignments> <Assignment type="ACQ" uid="2ca5cfd1-14c2-45dd-b692- 9a2948d18361" /> Getting Started with Visionscape GigE Cameras A-23...
Page 104
The debug window also noted the change – it lets you know that the original camera couldn't be found. 16:23:58 QuerySWRights: GigE license rights detected, features: Visionscape GigE (x8): YES / IntelliFind: YES / Third Party GigE Cameras: 0 allowed 16:24:05 CreateSystemsFromConfigFile: found 2 devices in dm.config...
Page 105
We need to get back to where the same jobs will load in the same way as before but will use the new camera instead. We need to edit the dm.config file. Again, be sure to quit FrontRunner and the Backplane before attempting this. Getting Started with Visionscape GigE Cameras A-25...
Page 107
(assuming they are the same type of camera). Everything looks fine in the debug window: 16:41:54 QuerySWRights: GigE license rights detected, features: Visionscape GigE (x8): YES / IntelliFind: YES / Third Party GigE Cameras: 0 allowed 16:41:56 CreateSystemsFromConfigFile: found 2 devices in dm.config...
Page 108
Partial Scan Acquisition All of the 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.
Page 109
They won’t work taking simultaneous images because the overall bandwidth of these four cameras is too high (the CMG20 can do 16 fps. At 2MB per image, this is 32MB per second per camera. 4 Getting Started with Visionscape GigE Cameras A-29...
Page 110
NIC may not be able to send on the data immediately, but data is still coming in from the camera. These receive descriptor buffer the system against this. (It is almost essential when using a CMG50 camera). A-30 Getting Started with Visionscape GigE Cameras...
Page 111
1500 byte packet size that Visionscape uses out-of-the- box. We need to change this before going any further. These values are stored in the registry. From the Start menu select Run… and type: Regedit Getting Started with Visionscape GigE Cameras A-31...
Page 112
Visionscape to use its default values. The first thing you need to do is set the PacketSize to 8192. To do this, right-click on PacketSize and select Modify. You’ll see the following: A-32 Getting Started with Visionscape GigE Cameras...
Page 113
We need to slow down the cameras now so that they’ll work nicely together – this is what InterPacketDelay is for. Getting Started with Visionscape GigE Cameras A-33...
Page 114
GigE cameras need GigE NICs (network interface controllers). NICs can come built-in to a PC on the motherboard or as PCI or PCIe cards and there are also some USB-to-Ethernet adapters available. Microscan recommends the use of NICs that make use of the Intel Pro/1000 chipsets. A-34...
Page 115
QoS Packet Scheduler Internet Protocol (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 Intermediate Filter”.
Page 116
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. This is a useful visual indicator of network status. A-36 Getting Started with Visionscape GigE Cameras...
Page 117
Make sure you do this for best performance. Once you have done all this you can connect your camera directly or plug in a switch and then connect cameras to that switch. As they come out of Getting Started with Visionscape GigE Cameras A-37...
Page 118
The camera here is set to use DHCP and its address is 192.168.254.3. However, a persistent IP address is preferable. Check the Use persistent IP box and uncheck the Use DHCP box. Enter 192.168.254.3 in the lower IP address box and 255.255.255.0 for the A-38 Getting Started with Visionscape GigE Cameras...
Page 119
This is ideal in fixed industrial setups. However, it does mean that you cannot simply swap cameras from NIC to NIC or even change the address of the NIC without having to reconfigure the camera address. Getting Started with Visionscape GigE Cameras A-39...
Page 120
Open the command prompt and navigate to the same folder as above. Type the following: regasm visionscape.configuration.dll /tlb Again, be sure that all Visionscape components are shut down before doing this. For additional assistance, contact Microscan’s help desk at: helpdesk@microscan.com. A-40 Getting Started with Visionscape GigE Cameras...
Visionscape GigE Network Configuration Visionscape GigE Network Configuration Visionscape GigE cameras should be configured on private networks in the manner described in Section 2 of this manual. Cameras may either be connected directly to a PC network “Ethernet” port or wired indirectly through a GigE switch such as PN 98-000131-01.
Page 122
Recommended Values for InterPacketDelay (IPD) and Maximum Frames per Second (FPS) 2 Cameras on 3 Cameras on 4 Cameras on a Single Port a Single Port a Single Port CMG20 Camera CMG50 Camera A-42 Getting Started with Visionscape GigE Cameras...
Need help?
Do you have a question about the Visionscape GigE and is the answer not in the manual?
Questions and answers