Jump to content
  • Welcome to Gibson Engineering's Knowledge Base.
    In the Knowledge Base you'll find useful How-To Articles.

6 files

  1. Display Four Previous Images in In-Sight

    I was recently asked if it was possible to show the last 4 images on a VisionView.  The solution I came up with was to use the LatchImage and ScaleImage functions in Spreadsheet in order to overlay images on top of the main image for display purposes.
    While this has it's limitations, it provided the customer what they needed in their application.
    Overall it looks like this:

    Step 1:
    Create a Count function to keep a rolling count of images:

     
    Step 2: Add Latching Logic (4x), notice this points to our Count cell.

     
    Step 3:  Add LatchImage Functions (4x)

     
    Step 4: Add ScaleImage Functions (4x)

     
    Step 5: Add Text Overlays to indicate which image is which:

     
    Step 6:  Link to the checkbox for turning on/off this display.
     
     

    0 downloads

       (0 reviews)

    0 comments

    Submitted

  2. Multiple Camera Web Interface Using WebHMI

    Cognex produces a range of Vision Sensors, Vision Systems, 2D Profilers, 3D Profilers, and Deep Learning cameras.  Historically one of the best tools for displaying multiple Vision Systems at the same time was the VisionView system.  This could be a hardware VisionView like the older VisionView 700 or the newer VisionView 900.  Or it could be VisionView CE on a Windows CE panel, or VisionView software running on a PC.
    The VisionView package is a great solution as it provides the ability to see multiple cameras at the same time and allows you to monitor up to 9 In-Sight cameras, or Dataman barcode scanners, or even older DVT cameras.
    However, newer cameras like the profilers and Deep Learning systems do not use the same interface for generating graphics and showing images, but instead uses a Web interface using HTML5.  Starting with In-Sight 5.6.0 and later you also have WebHMI functionality available for the In-Sight cameras. 
    For all of these web interfaces, you typically just use a standard web browser that's capable of HTML5 and put the IP address in the address bar and the port number.  Something like http://192.168.1.100:5555 where 192.168.1.100 is the IP address of the camera and 5555 is the port number as specified in the camera's setup.
    However, that only let's you monitor one camera at a time.  With the attached file you can monitor up to 4 cameras at a time, and with modification you could do more or less.
    In the file you will see that we use iframes to hold the individual cameras.  Near the bottom of the HTML is where you edit the IP addresses and ports, do not change the iframe id here, only IP Address and port (in bold).
    <div class="mainContainer">
        <div></div>
        <div id="cameraGrid" class="iframe-grid">
            <div class="iframe-container">
                <div><iframe id="Camera01" src="http://10.0.0.10:8087"></iframe></div>
            </div>
            <div class="iframe-container">
                <div><iframe id="Camera02" src="http://10.0.0.11:8087"></iframe></div>
            </div>
            <div class="iframe-container">
                <div><iframe id="Camera03" src="http://10.0.0.12:8087"></iframe></div>
            </div>
            <div class="iframe-container">
                <div><iframe id="Camera04" src="http://10.0.0.13:8087"></iframe></div>
            </div>
        </div>
    </div>
     
    There's also a Menu on the side of this web page for switching between views so you can look at one camera at a time.  And you can edit it to name your cameras.
    <div id="leftMenu" class="menuLinks" onmouseover="openMenu()" onmouseleave="closeMenu()">
        <a onclick="minCameras()">&#9974; <span style="font-size: 30px">Grid View</span></a></br>
        <a onclick="maxCamera01()">&#9843; <span style="font-size: 30px">Camera 1</span></a></br>
        <a onclick="maxCamera02()">&#9844; <span style="font-size: 30px">Camera 2</span></a></br>
        <a onclick="maxCamera03()">&#9845; <span style="font-size: 30px">Camera 3</span></a></br>
        <a onclick="maxCamera04()">&#9846; <span style="font-size: 30px">Camera 4</span></a></br>
        <!--<span id="settingsMenu" class="menuSettings"><a onclick="openForm()">&#9881; <span style="font-size: 30px">Settings</a></span>-->
    </div>
    This is just an example, provided without further support.
    I hope it helps.
     

    1 download

       (0 reviews)

    1 comment

    Updated

  3. Using FileZilla FTP Server to Store Data from a Cognex Camera

    Attached is a PDF that explains how to set up FileZilla FTP Server on a PC so that a Cognex Camera can use the WriteFTP Function to store data over the network.
    Screenshots show how to use EasyBuilder to set up the transfer on the Cognex Camera.
    *** When running an FTP server on Port 21, it may conflict with saving jobs and connecting to your Cognex Camera.  You will need to disable the FTP Server at times if you want to use In-Sight Explorer and edit jobs on your camera ***



    1 download

       (0 reviews)

    0 comments

    Updated

  4. Mitsubishi iQ-R to Cognex In-Sight Camera via MC Protocol Scanner

    The attached file shows how to connect a Mitsubishi iQ-R series PLC to a Cognex In-Sight Vision System via MC Protocol Scanner.  Similar methodology can be used for the iQ-F series, L series and Q series PLCs and with slight modifications also the FX3 series PLCs.

    12 downloads

       (0 reviews)

    0 comments

    Updated

  5. Revolutionary Deep Learning Technology in Industrial Automation - Cognex InSight D900 Webinar

    We have been encountering the buzzwords "AI", "Deep Learning", etc.. Now it's reality with Cognex's new Insight D900 system with Deep Learning Technology. Check out this video to reveal why we call it revolutionary!
     
     

    0 downloads

       (0 reviews)

    0 comments

    Submitted

  6. Mitsubishi FX3U-ENET-ADP or FX3GE to Cognex InSight

    The attached file shows how to connect a Cognex InSight Vision System to an FX3 series PLC with the left side adapter Ethernet card using SLMP or SLMP Scanner communications.  It only shows the configuration steps.  It does not describe the use of the Control or Status Blocks, that can be found in the InSight help files.  This provides connection details only. 

    7 downloads

       (0 reviews)

    0 comments

    Submitted


×
×
  • Create New...