Quality Magazine logo
search
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Quality Magazine logo
  • NEWS
  • PRODUCTS
    • FEATURED PRODUCTS
    • SUBMIT YOUR PRODUCT
  • CHANNELS
    • AUTOMATION
    • MANAGEMENT
    • MEASUREMENT
    • NDT
    • QUALITY 101
    • SOFTWARE
    • TEST & INSPECTION
    • VISION & SENSORS
  • MARKETS
    • AEROSPACE
    • AUTOMOTIVE
    • ENERGY
    • GREEN MANUFACTURING
    • MEDICAL
  • MEDIA
    • A WORD ON QUALITY PUZZLE
    • EBOOK
    • PODCASTS
    • VIDEOS
    • WEBINARS
  • EVENTS
    • EVENT CALENDAR
    • IMTS
  • DIRECTORIES
    • BUYERS GUIDE >
      • Supplier Insights
    • NDT SOURCEBOOK
    • VISION & SENSORS
    • TAKE A TOUR
  • INFOCENTERS
    • Digital Quality Management Systems
    • NEXT GENERATION SPC & QUALITY ANALYTICS
  • AWARDS
    • ROOKIE OF THE YEAR
    • PLANT OF THE YEAR
    • PROFESSIONAL OF THE YEAR
  • MORE
    • Expert Columns
    • NEWSLETTERS
    • QUALITY STORE
    • INDUSTRY LINKS
    • SPONSOR INSIGHTS
  • EMAG
    • eMAGAZINE
    • ARCHIVES
    • CONTACT
    • ADVERTISE
  • SIGN UP!
Vision & SensorsMedical

Vision & Sensors - GigE

The GigE Option

GigE Vision multicasting provides powerful and unique machine vision capability—when used correctly.

By Gordon Rice
March 5, 2013
Since its adoption in 2006, the GigE Vision standard has become a favorite of the machine vision industry, growing to more than 30% of units sold annually, according to data compiled by the Automated Imaging Association. There have been many reasons for the standard’s rapid rise in popularity, including its high data rate (1,000 megabits per second, or Mbps), long transmission distance without hubs or repeaters (up to 100 meters), use of low cost standard cables, and direct “grabberless” connection capability to host computers. 
 
One fundamental characteristic of the standard that is often overlooked in articles describing its benefits is the fact that it is the only machine vision interface standard built around a true “network” architecture. This gives it some unique advantages over the point-to-point approaches employed by the other machine vision interfaces. 
 
A prime example of this is GigE Vision’s ability to use a technique called multicasting across a network of connected cameras, PCs and other devices. While this lesser-known capability provides unique advantages for machine vision users that are unavailable with any other type of interface, it can also create a variety of problems if not utilized properly.
 

Normal GigE Vision Streaming

To understand multicasting, it is important to first understand the two main rules that any GigE Vision system must follow:
 
Only one application/host can have complete control of a camera at a time. (This is known as the primary application.)
 
Both the host and its camera IP addresses must be on the same local subnet.
 
Other hosts may be allowed to access a controlled camera but only as secondary applications, which means they are restricted to read-only access to the camera’s feature values and won’t normally receive any images.
 
In normal operation a camera is controlled by a single host and when it streams images, all of the image data packets are addressed specifically to the controlling host. In this case, even though the host and camera are on a network using a networked protocol, the actual image stream is unicast from the camera to the host. No other hosts will normally receive this stream and if the data packets go through GigE switches they will be routed to only the addressed host.
 

What is Multicasting?

In multicasting mode a GigE camera streams its images to an IP address within the special multicast range (see below) rather than to the controlling host. 
 
Multicast IP addresses are a special address range from 239.0.0.0 to 239.255.255.255 for administratively-scoped (local) multicast addresses and from 224.0.1.0 to 238.255.255.255 for globally-scoped (Internet-wide) multicast addresses.
 
Since packets addressed to this multicast IP range are distributed across the network and passed on to all receivers this means that any host on the network can connect to the camera and receive images from it. So there could be dozens of receiving hosts all listening in to a single camera’s stream and receiving the same image.
 
Note that this doesn’t violate the above GigE rules since there is still only a single controlling host which can start and stop acquisition and all the systems have IP addresses within the local subnet. The receive-only hosts still have only read-only access to the camera’s features but with one exception: they are allowed to request resends in the case of any missed image packets.
 
So to summarize, multicasting only differs from normal streaming in that the image packets are addressed to a special IP address rather than a single host and secondary applications, in addition to accessing the camera’s feature values, are allowed to receive image streams and request packet resends.
 

So why use multicasting?

The big benefit of multicasting is that it takes advantage of the network nature of GigE Vision and allows multiple hosts to receive images from a camera. This eliminates the need to retransmit images or ROIs of images to other hosts for display or processing.
 
For example, a backend system acting as the primary application can control and acquire from a camera while a secondary operator system can also receive and display the camera images without any extra work or bandwidth. The shared images come for free.
 
Multicasting also makes it easy to set up a distributed processing system without having to worry about explicitly distributing the input image data. So a set of processing nodes could all receive the multicast streamed images from a camera, independently process separate ROIs, and pass only the results to a central node. Since the network automatically handles the distribution of the image stream, it’s almost trivial to scale up the number of processing nodes.
 

Working with multicasting

The exact steps to set up multicasting on the camera may vary from vendor to vendor depending on the GigE Vision API being used, but most only require that the desired multicast address be written to a single register for each data stream. For cameras following the GenICam SFNC (Standard Feature Naming Convention) this will be GevSCDA.
 
In most cases, the primary application program will initiate multicasting by sending a command to one or more cameras that it intends to control. The primary application also has to make sure that the host is configured to receive packets from the appropriate multicast address(es). Secondary hosts must also be configured to receive data from the appropriate multicast address(es).
 
Some software development kits offer features to streamline this setup process. For example, a single function call from the primary application can be used to initiate multicasting mode for both the camera(s) and the primary host, while secondary hosts automatically detect and configure themselves for multicasting as they are connected to cameras over the network. Taking the time to evaluate and select a development environment that has been optimized for multicasting can make application programming much easier for the developer.      
 

Pitfalls to avoid

Given its benefits and ease of setup, multicasting would seem to be ideal for nearly every system. However there are circumstances when the side effects of multicasting may outweigh any benefits.
 
One case is a system where there are multiple cameras multicasting to multiple hosts. Typically this is done through a switch or system of switches.  
 
In non-multicast operation there is no problem with the required bandwidth since each camera is essentially unicasting to a single host and the switches can keep the traffic separate. However with multicasting enabled it is quite possible to unintentionally exceed the available network bandwidth since camera data could be routed to every system on the network—both hosts and cameras. In the worst case this can essentially become a self-created DOS (Denial of Service) attack where there are so many incoming packets that aren’t relevant to a host that it is simply unable to do any work other than dealing with the packets. 
 
To avoid this, the network should be laid out to physically separate the traffic as much as possible and switches should be configured to eliminate unnecessary traffic routes—in other words, multicast packets should only be routed from cameras and to hosts.
 
Another use of multicasting that leads to problems is using multicasting as a way to keep multiple image handling processes on a single host completely independent. Here a master process would start the camera multicasting an image stream and each additional process would connect to the camera and receive images as a secondary application. The idea behind this is that it makes the overall application more robust since each process is responsible only for its own processing and can easily be restarted in the event of a crash without having to reestablish control of the camera. 
 
Unfortunately, while tempting, in practice this often leads to more complexity and consequent application bugs than having all image acquisition handled by a single process on the host. To avoid such problems, it is best to use multicasting only when you have multiple hosts.
 

Make Multicasting Part of Your Toolbox

Multicasting has long been viewed by users as a murky and complicated area of the GigE Vision standard. For this reason, it is often overlooked by system developers. However, as shown here, it can actually be quite simple to set up while providing a number of unique benefits.  If you have an application that could possibly benefit from a networked architecture with distributed processing, multiple ROIs, or multiple monitoring points, make sure you consider GigE Vision multicasting. And when getting started, be sure to work with consultants, integrators, or equipment suppliers with experience implementing multicasting projects.
 
TECH TIPS
  • GigE Vision is the only machine vision interface standard built around a true “network” architecture. 
  • This gives it some unique advantages over the point-to-point approaches employed by the other machine vision interfaces. 
  • A prime example of this is GigE Vision’s ability to use a technique called multicasting across a network of connected cameras, PCs and other devices.
KEYWORDS: machine vision network architecture

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

Gordon Rice is an application engineer for JAI Inc. (San Jose, CA). For more information, call (800) 445-5444, email [email protected] or visit www.jai.com.

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • 2024 Quality Rookie of the Year Justin Wise 1440x750px banner with "Quality Rookie of the Year" logo inset

    Meet the 2024 Quality Rookie of the Year: Justin Wise

    Justin Wise is an exceptional individual who has been...
    Aerospace
    By: Michelle Bangert
  • Man with umbrella and coat stands outside while it rains at night looking at a building.

    Nondestructive Testing: Is there an ethics problem?

    I was a whistleblower who exposed fraudulent activities...
    NDT
    By: Dale Norwood
  • Unraveling Deflategate: Football stadium with closeup of football on field

    Unraveling the Tom Brady Deflategate

    The Deflategate scandal erupted following the 2014 AFC...
    Measurement
    By: Greg Cenker and Henry Zumbrun
Manage My Account
  • eMagazine Subscriptions
  • Newsletters
  • Online Registration
  • Subscription Customer Service
  • Manage My Preferences

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Quality audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Quality or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • This image shows a person seated next to a Bobcat T66 compact track loader.
    Sponsored byPolyWorks by InnovMetric

    Supercharging Digital Gauging at Bobcat North America

  • Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios
    Sponsored byDorsey Metrology International

    Ensuring Product Quality in a Competitive Manufacturing Landscape

  • This image displays a Eddyfi Technologies Cypher portable inspection instrument alongside a scanner for non-destructive testing (NDT).
    Sponsored byEddyfi Technologies

    A Safer, Smarter Approach to Weld Inspection: Why Advanced Ultrasonic Testing Is Redefining Industry Standards

Popular Stories

a titanium diaphragm speaker driver

The One Thing Elon Gets Right Is Designed to Scare You

This image shows a person seated next to a Bobcat T66 compact track loader.

Supercharging Digital Gauging at Bobcat North America

Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios

Ensuring Product Quality in a Competitive Manufacturing Landscape

2026 Quality Professional of the Year!

Events

June 9, 2026

Future-Proof your Quality Processes with Advanced 3D Optical CMM Technology

Discover how to effortlessly capture complex data, leverage true multi-sensor automation, and ensure continuous operation without creating inspection delays.

June 22, 2026

Automate 2026

Automate is North America's largest robotics and automation event — and the best place to take your ideas from insight to impact.
 
Our show floor features the world’s leading automation solutions, from AI and robotics to motion control, vision systems, and more. Plus, our educational conference is second to none, led by the brightest minds in automation today.
 
Ready to transform the way you work? Take the next step at Automate.
View All Submit An Event

Products

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

See More Products
Quality Podcast Channel Custom Content

Related Articles

  • Blazing the GigE Vision Trail

    See More
  • Dalsa to Present on Advances in Color Machine Vision and the GigE Vision Standard at Vision Show

    See More
  • Teledyne DALSA Genie Nano camera inspecting cans.

    Today’s GigE Vision Standard and a Look Ahead to GigE Vision 3.0

    See More

Related Products

See More Products
  • ZEuCDwAAQBAJ.jpg

    Lean Six Sigma In The Age Of Artificial Intelligence: Harnessing The Power Of The Fourth Industrial Revolution

  • Creating a Kaizen Culture: Align the Organization, Achieve Breakthrough Results, and Sustain the Gains

  • image.jpg

    Management Lessons from Taiichi Ohno: What Every Leader Can Learn from the Man who Invented the Toyota Production System

See More Products

Events

View AllSubmit An Event
  • May 20, 2026

    Break the Bottleneck: Bringing Lab-Grade Accuracy to the Shop Floor

    On Demand Are you struggling to deliver high-quality products faster in the face of growing complexity and a shrinking pool of skilled workers?
View AllSubmit An Event
×

Stay in the know with Quality’s comprehensive coverage of
the manufacturing and metrology industries.

Newsletters | Website | eMagazine

JOIN TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Manufacturing Division
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletters
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Market Research
    • Reprints
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing