Page 1
Getting Started with the VS-1 Smart Camera v4.1.0, February 2010 83-111017-02...
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.
Contents Welcome! PREFACE Purpose of This Manual v Manual Conventions v Using a VS-1 Smart Camera for the First CHAPTER 1 Time Establishing a Network Connection and Making a FrontRunner™ Device Button for Your Camera 1-1 Creating a New Job to Acquire Images 1-5...
Page 4
Contents The VS-1 Smart Camera in Action - Advanced CHAPTER 3 Example Advanced Example Using Multiple Tools 3-2 Input Datums 3-2 Procedure 3-2 Where To Now? 3-21 Index Getting Started with the VS-1 Smart Camera v4.1.0, February 2010...
Welcome! PREFACE Purpose of This Manual This manual is designed to get you up and running with your VS-1 Smart Camera quickly and confidently. Please don’t be intimidated by the size of this Getting Started manual. It contains a large number of images that will help you as you create new Jobs using the tutorials.
Page 6
Preface Getting Started with the VS-1 Smart Camera v4.1.0, February 2010...
Camera. In order that the VS-1 Smart Camera be recognized, it must have a valid IP address. As shipped, the VS-1 Smart Camera will try to obtain an IP address from a DHCP server so, if your network is configured for DHCP, you will be able to connect to your camera without changing any settings.
Page 8
Follow these steps when connecting the VS-1 Smart Camera for the first time: Connect the VS-1 Smart Camera to the same network as the PC that will be running the FrontRunner™ software. Apply power to the VS-1 Smart Camera; be sure to do this AFTER making the physical connection to the network.
Page 9
Enter the default user name (hawkeye) and password (“vision”) and click OK. You will see the Change HawkEye Network Settings dialog box (Figure 1–4), which allows you to change the name of your camera. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 10
Chapter Using a VS-1 Smart Camera for the First Time Change Network Settings Dialog Box FIGURE 1–4. Highlight the existing camera name, type in a new name (no spaces are allowed), and click OK. You will see the name of your camera change in the network overview.
The instructions that the VS-1 Smart Camera performs in a particular application are called “Steps”, and the complete collection of steps is called a “Job”. To do anything, even to take a picture, the VS-1 Smart Camera requires a Job. Use the following procedure to create a new Job: Click the device button for your camera.
Page 12
Chapter Using a VS-1 Smart Camera for the First Time FrontRunner Main Screen After Clicking New Job FIGURE 1–6. Acquire New Image Live Video To acquire a new image, click . You should see an image appear in the display area.
Page 13
Jobs on the PC. To transfer the Job to the camera, click If you want the Job to be non-volatile (still be loaded on the camera when it is rebooted), then click v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 14
Chapter Using a VS-1 Smart Camera for the First Time Now that there is a Job loaded onto the camera, start it by clicking This will switch FrontRunner™ to a runtime display which, in the case of this example, will simply display the image, as shown in Figure 1–8.
“Simple Fast Edge Tool” on page 2-19 • “Simple Data Matrix Tool” on page 2-36 Notice that each sections lists the complete Job (xxxxx.AVP) that corresponds to the Job you will create. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Chapter The VS-1 Smart Camera in Action - Simple Examples Icons Table 2–1 describes the icon used in this chapter: Icons and What They Mean TABLE 2–1. Icon What It Means This is step #1 of a procedure. Click the left mouse button.
“vision”), and click OK. If the camera is running, stop it by clicking . FrontRunner™ displays the Device State Changed dialog box. Because we’re creating a new Job, click No. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 18
Chapter The VS-1 Smart Camera in Action - Simple Examples Start creating a new Job by clicking Create New Program, and then Editor, as shown in Figure 2–1. Start Creating New Job FIGURE 2–1. The camera will change to Edit Mode (indicated by the pencil next to the camera icon).
Page 19
Min Number of Blobs — Set to 1. – Max Number of Blobs — Set to 6. To display die1pip.tif, click FrontRunner™ displays the image and a box (the Blob Tool ROI), as shown in Figure 2–3. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 20
Chapter The VS-1 Smart Camera in Action - Simple Examples die1pip.tif and Blob Tool ROI FIGURE 2–3. Click on the box. Move and size the box so that it surrounds the die, as shown in Figure 2–4. Getting Started with the VS-1 Smart Camera...
Page 21
Select die2pip.tif through die6pip.tif and click Open. Minimize the Editor. To run the job once and then stop, click Notice that NumBlobs matches the number of pips on the die, as shown in Figure 2–5. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 22
Chapter The VS-1 Smart Camera in Action - Simple Examples NumBlobs Displays Number of Pips on the Die FIGURE 2–5. Continue clicking to display the remaining images. Notice that the value for NumBlobs changes as the image changes. Now, let’s display output information.
Page 23
Download Program from PC to Device Button FIGURE 2–7. Click the Start Program on Device (Figure 2–8) to start your Job on the Smart Camera. Start Program on Device Button FIGURE 2–8. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 24
Chapter The VS-1 Smart Camera in Action - Simple Examples To display the output datums you specified earlier, click the button shown in Figure 2–9. Show Output Datums Button FIGURE 2–9. You will see output similar to that shown in Figure 2–10.
Page 25
Simple Blob Tool Output From Your Job FIGURE 2–10. Congratulations! You’ve just created a Visionscape Job that counts the pips on a die and displays output information. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-11...
Chapter The VS-1 Smart Camera in Action - Simple Examples Simple Flaw Tool FrontRunner™ Job: Start > Visionscape > Visionscape Tutorials & Samples > Tutorials > HawkEye 1600T > Simple Flaw Tool > tutorial_flaw.avp The Flaw Tool detects the presence or absence of a feature. For example, it can determine whether a package has any defects in appearance, such as cracks or scratches.
Page 27
Highlight Acquire in the Step Tree (left pane). Acquire Step FIGURE 2–12. Note: You may have to click the Acquire tab in the properties window. FrontRunner™ displays the Acquire properties page. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-13...
Page 28
Chapter The VS-1 Smart Camera in Action - Simple Examples Adjust the following Acquire properties: – Picture Mode — Set to Load Images from File. – File List — Click <empty>, and then Add... to display the Open dialog box. Browse for the files Paperclip01.tif, Paperclip02.tif and Paperclip03.tif from Windows.
Page 29
(see Figure 2–14). To run the Job once and then stop, click FrontRunner™ displays Paperclip02 and the information that the Flaw Tool passed, as shown in Figure 2–14. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-15...
Page 30
Chapter The VS-1 Smart Camera in Action - Simple Examples Paperclip 02 Passes Inspection FIGURE 2–14. Notice the following properties and their values: – Edge Count — 1672 – Min Allowed — 100 – Max Allowed — 5000 The inspection passed because the Edge Count was between the minimum and maximum allowed.
Page 31
Edge Count — 7 – Min Allowed — 100 – Max Allowed — 5000 The inspection failed because the Edge Count was not within the minimum and maximum allowed. Click again. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-17...
Page 32
Chapter The VS-1 Smart Camera in Action - Simple Examples FrontRunner™ displays Paperclip01 and the information that the Flaw Tool passed, as shown in Figure 2–16. Paperclip 01 Passes Inspection FIGURE 2–16. Notice the following properties and their values: –...
Enter your username and password (the defaults are “hawkeye” and “vision”). Click OK. If the camera is running, stop it by clicking FrontRunner™ displays the Device State Changed dialog box. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-19...
Page 34
Chapter The VS-1 Smart Camera in Action - Simple Examples Because we’re creating a new Job, click No. Start creating a new Job by clicking Create New Program, and then Editor, as shown in Figure 2–17. Start Creating New Job FIGURE 2–17.
Page 35
Highlight Fast Edge in the Step Tree (left pane), right click, and then click Rename. Rename it to Top Fast Edge. In the Setup window, to view Chip01.tif, click . FrontRunner™ displays Chip01.tif, as shown in Figure 2–19. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-21...
Page 36
Chapter The VS-1 Smart Camera in Action - Simple Examples Chip01.tif with One Fast Edge Tool Inserted FIGURE 2–19. Adjust the ROI for Top Fast Edge so that it looks like the image in Figure 2–20. 2-22 Getting Started with the VS-1 Smart Camera...
Page 37
Highlight the second Fast Edge in the Step Tree (left pane), right click, and then click Rename. Rename it to Left Fast Edge. Adjust the ROI for Left Fast Edge so that it looks like the image in Figure 2–21. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-23...
Page 38
Chapter The VS-1 Smart Camera in Action - Simple Examples Chip01.tif with Two Fast Edge Tool Adjusted FIGURE 2–21. Highlight Left Fast Edge in the Step Tree (left pane). Adjust the following Left Fast Edge properties: – Scan Direction — Set to Left to Right –...
Page 39
Highlight Fast Edge in the Step Tree (left pane), right click, and then click Rename. Rename it to Bottom Fast Edge. Adjust the ROI for Bottom Fast Edge so that it looks like the image in Figure 2–23. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-25...
Page 40
Chapter The VS-1 Smart Camera in Action - Simple Examples Chip01.tif with Four Fast Edge Tool Adjusted FIGURE 2–23. Highlight Bottom Fast Edge in the Step Tree (left pane). Adjust the following Bottom Fast Edge properties: – Scan Direction — Set to Bottom to Top –...
Page 41
To select the reference for First Line, click in the area to the right of the blue arrow (Figure 2–25), and click on the three dots, which displays the Select Reference window, as shown in Figure 2–26. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-27...
Page 42
Chapter The VS-1 Smart Camera in Action - Simple Examples Selecting Reference for First Line FIGURE 2–25. Click Here Select Reference Window FIGURE 2–26. Select Edge Line:EdgeLine from Left Fast Edge. Click OK. To select the reference for Second Line, click in the area to the right of the blue arrow (Figure 2–27), and click on the three dots, which...
Page 43
To select the reference for First Line, click in the area to the right of the blue arrow (Figure 2–29), and click on the three dots, which displays the Select Reference window, as shown in Figure 2–30. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-29...
Page 44
Chapter The VS-1 Smart Camera in Action - Simple Examples Selecting Reference for First Line FIGURE 2–29. Click Here Select Reference Window FIGURE 2–30. Select Edge Line:EdgeLine from Right Fast Edge. Click OK. To select the reference for Second Line, click in the area to the right of the blue arrow (Figure 2–31), and click on the three dots, which...
Page 45
To select the reference for Pin 1 Point, click in the area to the right of the blue arrow (Figure 2–33), and click on the three dots, which displays the Select Reference window, as shown in Figure 2–34. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-31...
Page 46
Chapter The VS-1 Smart Camera in Action - Simple Examples Selecting Reference for Pin 1 Point FIGURE 2–33. Click Here Select Reference Window FIGURE 2–34. Select Point:Pt from Left Top IntersectLines Meas. Click OK. To select the reference for Pin 2 Point, click in the area to the right of the blue arrow (Figure 2–35), and click on the three dots, which...
Page 47
FIGURE 2–35. Click Here Select Reference Window FIGURE 2–36. Select Point:Pt from Right Top IntersectLines Meas. Click OK. Your setup for TwoPt Locator should appear as shown in Figure 2–37. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-33...
Page 48
Chapter The VS-1 Smart Camera in Action - Simple Examples TwoPt Locator Adjusted FIGURE 2–37. TwoPt Locator 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.
Page 49
Simple Fast Edge Tool Job Runs Successfully FIGURE 2–38. Note: Any tool inserted into the 2PtLocator adjusts as the symbol moves. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-35...
Chapter The VS-1 Smart Camera in Action - Simple Examples Simple Data Matrix Tool FrontRunner™ Job: Start > Visionscape > Visionscape Tutorials & Samples > Tutorials > HawkEye 1600T > Simple Data Matrix Tool > tutorial_datamatrix.avp The Data Matrix Tool reads a Data Matrix symbol and converts the data to a string that can be compared to a known string, or exported.
Page 51
Highlight Acquire in the Step Tree (left pane). FrontRunner™ displays the Acquire properties page. Acquire Step FIGURE 2–40. Note: You may have to click the Acquire tab in the properties window. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-37...
Page 52
Chapter The VS-1 Smart Camera in Action - Simple Examples Adjust the following Acquire properties: – Picture Mode — Set to Load Images from File. – File List — Click <empty>, and then Add... to display the Open dialog box. Browse for the file DMs.tif from Windows. It is located C:\Vscape\Tutorials &...
Page 53
Repeat steps 13 and 14 to add the remaining Data Matrix Tools. After you have added all six Data Matrix Tools, you should see a screen similar to the one shown in Figure 2–43. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-39...
Page 54
Chapter The VS-1 Smart Camera in Action - Simple Examples All Six Data Matrix Tools Positioned FIGURE 2–43. To run the Job once and then stop, click You should see a screen similar to the one shown in Figure 2–44.
For this tutorial, you saw a red Train button and red boxes in front of each Data Matrix tool. Even though we didn’t train the six Data Matrix tools, they each read their respective Data Matrices without problems. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 2-41...
Chapter The VS-1 Smart Camera in Action - Simple Examples Where To Now? Chapter 3 of this Getting Started contains a tutorial example that is more advanced than the ones you just finished. 2-42 Getting Started with the VS-1 Smart Camera...
This chapter contains an advanced tutorial example to help you become familiar with the use of various FrontRunner™ tools in one Job. Notice that we list the complete Job (xxxxx.AVP) that corresponds to the Job you will create. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Chapter The VS-1 Smart Camera in Action - Advanced Example Advanced Example Using Multiple Tools FrontRunner™ Job: Start > Visionscape > Visionscape Tutorials & Samples > Tutorials > HawkEye 1600T > Advanced Example Using Multiple Tools > tutorial_opto.avp This example finds the sides of an optical isolator module, locates the switch on top of the optical isolator module, and determines the switch’s...
Page 59
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. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 60
Chapter The VS-1 Smart Camera in Action - Advanced Example Acquire Step FIGURE 3–3. Note: You may have to click the Acquire tab in the properties window. Adjust the following Acquire properties: – Picture Mode — Set to Load Images from File.
Page 61
Rename the three Fast Edge tools: Highlight the first Fast Edge in the Step Tree (left pane), right click, and then click Rename. Rename the first Fast Edge to Left Fast Edge. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 62
Chapter The VS-1 Smart Camera in Action - Advanced Example Highlight the second Fast Edge in the Step Tree (left pane), right click, and then click Rename. Rename the second Fast Edge to Top Fast Edge. Highlight the third Fast Edge in the Step Tree (left pane), right click, and then click Rename.
Page 63
Highlight Snapshot in the Step Tree (left pane). Right click Snapshot and click Insert Into. FrontRunner™ displays the Insert Step window. Click the Analysis Tools tab. Double click on TwoPt Locator to insert it into the Snapshot. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 64
Chapter The VS-1 Smart Camera in Action - Advanced Example Highlight TwoPt Locator in the Step Tree (left pane). Right click TwoPt Locator and click Insert Into. FrontRunner™ displays the Insert Step window. Double click on Blob Tool to insert it into the TwoPt Locator.
Page 65
(Figure 3–9), and click on the three dots, which displays the Select Reference window, as shown in Figure 3–10. Selecting Reference for Second Line FIGURE 3–9. Click Here v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera...
Page 66
Chapter The VS-1 Smart Camera in Action - Advanced Example Select Reference Window FIGURE 3–10. Select Edge Line:EdgeLine from Top Fast Edge. Click OK. Highlight Right Top IntersectLines Meas in the Step Tree (left pane). To select the reference for First Line, click in the area to the right of the blue arrow (Figure 3–11), and click on the three dots, which...
Page 67
(Figure 3–13), and click on the three dots, which displays the Select Reference window, as shown in Figure 3–14. Selecting Reference for Second Line FIGURE 3–13. Click Here v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 3-11...
Page 68
Chapter The VS-1 Smart Camera in Action - Advanced Example Select Reference Window FIGURE 3–14. Select Edge Line:EdgeLine from Top Fast Edge. Click OK. Highlight TwoPt Locator in the Step Tree (left pane). To select the reference for Pin 1 Point, click in the area to the right of the blue arrow (Figure 3–15), and click on the three dots, which...
Page 69
(Figure 3–17), and click on the three dots, which displays the Select Reference window, as shown in Figure 3–18. Selecting Reference for Second Line FIGURE 3–17. Click Here v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 3-13...
Page 70
Chapter The VS-1 Smart Camera in Action - Advanced Example Select Reference Window FIGURE 3–18. Select Point:Pt from Right Top IntersectLines Meas. Click OK. In the FrontRunner™ Edit window, TwoPt Locator and the Train button will display a red box until you train the tool. Also, the boxes around the untrained tool will remain dotted lines until trained.
Page 71
High Threshold — Set to 255 – Blob Polarity — Set to Light Parts In the Editor window, adjust the ROI so that it encloses the switch, as shown in Figure 3–20. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 3-15...
Page 72
Chapter The VS-1 Smart Camera in Action - Advanced Example Blob Enclosing Opto Switch FIGURE 3–20. Blob To run the Job once and then stop, click When the Opto switch is on the right, the Job passes. Highlight Acquire in the Step Tree (left pane).
Page 73
In Figure 3–22, even though the opto is rotated to the left a couple of degrees, the Job finds the switch. The Job passes, because the switch is in the correct position for a pass. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 3-17...
Page 74
Chapter The VS-1 Smart Camera in Action - Advanced Example Opto Rotated Left - Job Passes FIGURE 3–22. Click again. In Figure 3–23, the Job fails, because the switch is in the incorrect position for a pass. 3-18 Getting Started with the VS-1 Smart Camera...
Page 75
Opto Rotated Left - Job Fails FIGURE 3–23. Figure 3–24 and Figure 3–25 show the same pass and fail results with the opto rotated to the right a couple of degrees. v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera 3-19...
Page 76
Chapter The VS-1 Smart Camera in Action - Advanced Example Opto Rotated Right - Job Passes FIGURE 3–24. 3-20 Getting Started with the VS-1 Smart Camera v4.1.0, February 2010...
GigE Camera Guide — Contains information about installing GigE Camera hardware. • VS-1 Smart Camera Guide — Contains reference information about the VS-1 Smart Camera; specifically, system components, optics and lighting, connector pinouts, cable specifications, dimensions, and how to update the firmware on the Smart Camera.
Page 78
Chapter The VS-1 Smart Camera in Action - Advanced Example ® • Visionscape AppRunner User Manual — Contains information about using AppRunner. ® • Visionscape FrontRunner User Manual — Contains information about using FrontRunner. ® • Visionscape Programmers Kit (VSKit) Manual — Contains information about using VSKIT, which is a collection of libraries that ®...
Train Selected Step Flaw Tool Example 2-41 2-12 Transition color 2-23, 2-24, 2-25, 2-26, 3-6, 3- Gradient Threshold 2-23, 2-24, 2-25, 2-26 Use Autothreshold 2-5, 3-15 High Threshold 2-5, 3-15 Hole v4.1.0, February 2010 Getting Started with the VS-1 Smart Camera Index-1...
Need help?
Do you have a question about the VS-1 and is the answer not in the manual?
Questions and answers