Subscribe: Machine Vision
Added By: Feedage Forager Feedage Grade B rated
Language: English
acquisition  camera labview  camera  controller  flir  frame  images  labview  license  machine vision  machine  max  vbai  vision 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Machine Vision

Machine Vision topics

Machine Vision topics

Published: Wed, 24 Jan 2018 02:21:36 GMT2018-01-24T02:21:36Z


How can I attach two images taken from a Basler Racer Line Scan using Vision Builder AI?

Tue, 23 Jan 2018 22:08:08 GMT2018-01-23T22:08:08Z

On the production line, the image of the profile of a band saw is taken by the Basler Racer camera. When it takes the image using line scan, it will scan the whole length of the but will split the image into two images. I would like to know if there is a way to attach the two photos so that it is a continuous band saw using Vision Builder AI.


Originally I use VBAI to look at each separate image and take the data of the profile on at a time. Then I tried to use LabVIEW to combine the two images by creating two arrays of the images based on the pixel location then add the two arrays to create a single image and then called the .vi from VBAI to output the image. This would work but sometimes one of the images from the Basler camera would not go through which would cause an error and not output any image.


If there is a simpler way to combine the two images using VBAI or even LabVIEW I would greatly appreciate your input.



Problem while using Hamamatsu c9100-13 camera with Phoenix D24CL-PCI32 frame grabber

Tue, 23 Jan 2018 19:12:40 GMT2018-01-23T19:12:40Z


I am trying to operate a Hamamatsu EM-CCD (C9100-13) camera through Labview 15. The camera is connected to a Phoenix Camera Link frame grabber (AS-PHX-B-D24CL-PCI32). I wanted to know which version of Video Capture Library for Labview will allow me to operate the mentioned camera through Labview and from where can I download it? 
The mentioned camera is compatible with only DCAM-API driver version 13.10.4418 (
Are there frame grabbers that have associated Labview drivers? Do you have recommendations for the same? 

Access camera connected to remote target like MAX

Tue, 23 Jan 2018 19:11:32 GMT2018-01-23T19:11:32Z

So, through MAX, I can expand "Remote Systems", click on my RT target, expand it, look at devices, click on the camera and see the image and change the attributes.


Is that behavior possible through a LabVIEW application running on the local target but without altering the RT targets's code. For example, can I put a URL into the IMAQdx Camera Session control?

Problem while using Hamamatsu c9100-13 camera with ni-1428 frame grabber.

Mon, 22 Jan 2018 23:01:25 GMT2018-01-22T23:01:25Z


I am trying to operate a Hamamatsu EM-CCD (C9100-13) camera through Labview 15. The camera is connected to a Phoenix Camera Link frame grabber (AS-PHX-B-D24CL-PCI32). I wanted to know which version of Video Capture Library for Labview will allow me to operate the mentioned camera through Labview and from where can I download it? 
The mentioned camera is compatible with only DCAM-API driver version 13.10.4418 (
Are there frame grabbers that have associated Labview drivers? Do you have recommendations for the same? 

VBAI Crashing Controller via TCP/IO Command

Mon, 22 Jan 2018 20:09:50 GMT2018-01-22T20:09:50Z

Hi There,


I've constructed a VBAI program to send a packet (containing a position vector) to a controller, obtain an image at this point, and run an inspection. Unfortunately, sending this packet crashes the controller (as evidence by a separate machine running commands to the controller being disconnected and sent to an indefinite loop of "Connecting...").

I've confirmed that my computer is both connected and communicating with the controller by using "Packet Sender" (nifty little application for such tasks). I can read the Linux console on the controller after sending the packet via "Packet Sender" confirming my packet and the positional data therein. Going back to VBAI and sending the exact packet crashes the controller. I can also ping the controller from my computer.


VBAI has the correct port and IP address of the controller. Is there any other step I need to take in order to establish a connection with the device? I'm at my wit's end.





vbai file :

License Manager does not give option to activate my VDM runtime

Mon, 22 Jan 2018 15:51:22 GMT2018-01-22T15:51:22Z

We have an application deployed on a customer machine. They bought a Vision runtime license for it, as required.


We are getting error -1074396157 at the first VDM call after acquisition. Back on LabView, I read that this is caused by not having a licensed NI Vision Runtime.


So I go to the NI License manager and it says that the only licensed software on the machine is Vision Acquisition, and it's all fine. There's nothing sitting there waiting for a license.


I know that Vision Acquisition and NI VDM Runtime are two different things. MAX says that NI-IMAQdx is installed, including Development Support and Runtime. Yet the NI License Manager doesn't give me the option to apply a license. Also, I'm not getting that modal popunder that shows up behind my application on machines where the license hasn't yet been applied, and blocks all input. Rather, the program runs as normal except for always having that error come up on any VDM call.


How do I get the NI License Manager to notice that there's an unlicensed VDM runtime we could apply a license to?


svm in machine vision

Sat, 20 Jan 2018 14:21:57 GMT2018-01-20T14:21:57Z



Can anyone provide me a basic example VI which does classification using svm present in machine vision under vision and motion? It will be a great help.



VBai error: Invalid Inspection File

Sat, 20 Jan 2018 00:12:48 GMT2018-01-20T00:12:48Z




I was doing some testing of our system today, and saved this file from another. Everything during the day was hunky dory, but when I went to open the file at home this error keeps persisting. I'm not sure why I cannot open it, and I don't recall making any major changes outside of inspection parameter tweaks. 



Separating relatively dark slabs from non-uniform background

Fri, 19 Jan 2018 15:31:59 GMT2018-01-19T15:31:59Z


Actually i asked this in an onether entry. But i think it's a new subject. I apologize in advance if it's double entry


I have marble slabs. With line scanning get i image of these marble slabs. In result image background is extremely dark. But background is not completely dark (it's no-uniform). If you look carefully, you can see some parts on background that not total black are (contrast enhanced image_01) . Most marble slabs have some dark areas, too.

I want to find contour of these marble slabs. To do that first i need to separate marble from this background. I use manual thresholding (thresholding bright objects, see attached script). I can't find an auto thresholding methode for this. Manual thresholding doesn't always work for me. Sometimes i have to change lower value for manual thresholding. I don't want this.


Is there a better way to that? I think i might use some gray morphology before thresholding. Any ideas?



Using Basler Camera For Controlling Stepper Motor

Fri, 19 Jan 2018 08:06:06 GMT2018-01-19T08:06:06Z

Hi Everyone,

i need to know is i Can use basler camera to control a stepper motor without external acquisition board?
in other word, does Basler Camera contain microcontrollers for motor commande?

thanks (image)

Interface name that points to remote device?

Thu, 18 Jan 2018 18:53:00 GMT2018-01-18T18:53:00Z

I have a frame grabber (PXIe 1435) installed in a PXIe 1082 chassis, and a photonfocus camera link camera attached. I am using a laptop with labview 2015 to develop and deploy code to the PXIe over Ethernet.


 In MAX, I can configure the camera and start pulling frames to my laptop.




I can deploy and run the following VI to the PXI and successfully grab frames, and the image is displayed on my laptop.




What I want to do however, is run this code on my laptop, and use a reference name that points to the correct PXIe slot and port. In this case maybe it would be something like "//"


Is there a way to do this? It seems like MAX is doing just that, since it is not deploying any code to the PXIe...


the reason I ask is because the manufacturer provided a labview toolbox for configuring camera parameters over camera link bus, but it uses activeX. So I can't deploy their code to the PXIe, but if I could run their code on my laptop and just point it out to the PXIe, maybe I could configure camera parameters over the network...  



Missing Features on NI Vision 2013?

Thu, 18 Jan 2018 18:38:11 GMT2018-01-18T18:38:11Z

Hi guys, 

I can't seem to figure out why several features are either missing, or disabled in my version of NI Vision Builder 2013.


I can't complete the Check for Cap tutorial due to the re position region of interest check box being unavailable.



I have also noticed that some features appear to be totally missing in other places.

The tutorial I'm attempting is located on page 28 of this PDF


Any ideas?

Verifying UUT Orientation Using Vision Builder

Wed, 17 Jan 2018 20:29:00 GMT2018-01-17T20:29:00Z


I would like to implement a vision inspection system that ensures a UUT is placed under the camera at the exact orientation every time without using test fixtures. Once it's placed correctly it will run its inspection for existence of parts. What is the best way to ensure the UUT is correctly placed under the camera?

Thank you in advance!


How to aqcuire image in MAX from FLIR A655sc without FLIR toolkit

Wed, 17 Jan 2018 13:10:18 GMT2018-01-17T13:10:18Z



Currently i have problem to acquire photo's from the flir camera in MAX.

It is possible to see the FLIR camera in labview but it gives an error when opening.

It gives a 0xBFF69007 error "invalid device type".

Is it possible to use the FLIR camera in labview without the use of the FLIR toolkit?

The camera that i am using (FLIR A655sc) has the  GenICam and GigE Vision protocols.


 I am using Labview 2017 (64 bit) and have the next NI packages installed

Vision development module 2017

Vision Acquisition software 17.1



Best regards


Labview cannot detect USB Camera DMC-1213 in NI Max

Tue, 16 Jan 2018 13:27:47 GMT2018-01-16T13:27:47Z


I bought a USB Camera DMC-1213 and I would like to use it to acquire images and videos through Labview. The camera comes with its own software and the driver was installed automatically in plug and play but unfortunately I can use the camera only through its own software called EZimage.

Could you please help me with a method to force Labview to recognize the USB camera?




NI-MAX is not able to see Embedded camera and GigE camera

Fri, 12 Jan 2018 11:31:44 GMT2018-01-12T11:31:44Z


I have problems with MAX and my GigE camera .  Is not possible to see camera into "devices and Interfaces" tree. The Camera is a Basler ace and works well with vendor's SW (Pylon5). Also Laptop's embedded camera is not shown into MAX tree . I already uninstalled all NI Drivers and Softwares (using also MSIBlast procedure as recommended me by an NI Application Eng) and then installed NI SW and drivers . I read a lot of posts but i wasn't able to solve my problems. 

My Config is : Labview2103, Vision 2013 , IMaqdx 4.3.5 , IMAQ I/O 2.9 , IMAQ 4.9 . I have a HP ProBook Laptop .

In attached what I see with MAX .

Fastest way to log images to disk during acquisition

Thu, 11 Jan 2018 22:52:12 GMT2018-01-11T22:52:12Z

I'm acquiring 8bit 800x600px images at 250fps continuously using the Imaq Image Acquisition Express VI. The VI is called in a loop and configured to read only the most recent frame in the buffer. I'm monitoring the loop execution time and I get at least 250 loop iterations per second. So far so good.


When configuring the image acquisition VI to log images to disk there's a warning about it affecting the maximum frame rate and sure enough when I enable logging I drop down to 50 loop iterations per second. So I was wondering what I can do to keep my 250fps. Data is being written to a modern SSD on 6Gbps SATA so I don't think I have a hardware bottleneck. Is there an image file format that will be faster to encode? Should I write AVIs instead of pngs? Should I manually create an image logging thread that buffers to disk (seems like a losing game if it really can only write at 1/5th the acquisition rate). Any other tricks I haven't thought of?

Image flickers with more than 2 cameras

Thu, 11 Jan 2018 10:39:22 GMT2018-01-11T10:39:22Z



I have tried to search for a similar issue but didn't find any.

I'm trying to grab & record multiple cameras at the same time.

My code runs fine until I connect more than 2 USB cameras. 


My camera model: Logitech webcam C930e


The VI is attached, could someone try to help me to figure out what can cause that ? 



Using keypad for interfacing with CVS 1458RT

Wed, 10 Jan 2018 21:10:43 GMT2018-01-10T21:10:43Z

I was having trouble finding a touchscreen monitor I liked to use for using with my CVS 1458RT, so I was wondering if it would be possible to control the front panel of a program I have loaded onto the CVS using a number keypad that plugs into the USB port, and just have a regular display monitor for my output.  The only way I have seen to be able to control knobs and things on the front panel is with a mouse, but could you possibly replace that with the arrows on a keypad?  Also, if you plugged in a keypad, would the CVS even register the keys that you are pressing correctly?  My goal with this assembly is mobility, so I would rather not have to lug out a full-size keyboard and mouse along with the camera I am interfacing my CVS with.  

How to detect DIP switches position

Wed, 10 Jan 2018 06:47:52 GMT2018-01-10T06:47:52Z



I need to detect the position of DIP switches using NI Vision Builder. The method I have tried is first to create an intensity plane, threshold the image, detect objects and measure the distance between found objects. Then I try to deduce the position of the switch based on the distance between objects.
The main problems are wrong objects detected and not all DIP switches detected. Is there any other ways or suggestions how to approach the challenge? This seems to be a tricky one.

I attached four example images and vbai which I have tried.

Any help would be appreciated.