Quantcast
Channel: Machine Vision topics
Viewing all 3180 articles
Browse latest View live

finding missing points of an array grid

$
0
0

I image processed a micro grid array and there are missing points in the grid.  I am having trouble find the best way/algorithm to find these "missing points"  

 

I attached an image for better understanding.


Vision Builder: VI ref of Custom Inspection Interface

$
0
0

My customer would like to have a screenshot of the front panel logged to disk. The easiest way would be a VI that takes the VI front panel reference of the custom inspection interface and create a PNG file. This could be done by a call to an external LabVIEW VI via a "Run LabVIEW VI" step.

But my problem is the VI front panel reference. Is there a way to get it within vision builder?

 

Thanks for any comments

Stefan

 

My Version: Vision Builder 2012 SP1 f2 + LabVIEW2011

Vision application crash. LabVIEW 2014 x64

$
0
0

Hello!

 

I have a large vision application, which provides image acuisition from GigE camera, and its handling.

I'm using different IMAQ functions: match pattern, compare golden template, particle filter, veryfy text etc.

Application built in LabVIEW (64-bit).

Everything works fine for some time, but after different number of inspections it unexpectedly crashes.

I have only a Windows message, which says: "Application has stopped working...".

But, if I build application in LabVIEW 32-bit, it never happend...

 

System using for application installer build:

Core i7-3517U

4Gb RAM

Windows 10 x64

 

LabVIEW 2014 SP1 f1 (64-bit)

LabVIEW 2014 SP3 f1 (32-bit)

Vision development 2015

NI-IMAQdx 14.5

 

 

System working with application:

Core i7-3610QE

8Gb RAM

Windows 8.1 x64

 

 

Thank you,

Nikita Dvorecky

Acquiring images from networked encoder?

$
0
0
Hi,

I have an analog camera which outputs component video, which is converted to HDMI, and then encoded & broadcast over the local network over tcp using a Marshall VS-103E-3GSDI video encoder.

I can open up the video stream using VLC, but MAX doesn't see anything. The IMAQ and IMAQdx folders don't even show up in MAX, though my laptop's webcam shows up as a device under "Devices and Interfaces".

I tried using the Vision Assistant and Vision Builder to connect by putting in the same IP I used for VLC, but the Vision programs said they couldn't find anything either.

Is there some way I can get LabVIEW & the Vision Assistant to use a video stream to capture images?

can not find the imaqReadBarcode2 function in VDM 2015 nivision.lib

$
0
0

Hello

I use the vision assistant to verify read barcode function and generate the c code. but when I compile this code with VS 2012 I get a error that show me "error LNK2019" it cna't find the export function in nivision.lib. I checked the document "NIVisionCSupport.chm" I can find the function information about imaqReadBarcode2 and imaqReadBarcode3. So which lib I need? or how to fix this problem?
thanks

environment : VDM 2015
Lib : nivision.lib

Pattern Matching

$
0
0

I would like to know the difference between the various types of VI's specifically designed for pattern matching- IMAQ Match Pattern 2, IMAQ Match Pattern 3 and IMAQ Match Pattern 4. Also, it'd be helpful if you could elaborate on the kind of task each of these VI's can be used for.
Robot Embarassed

connect reference for twain labview

$
0
0

how to set Twain reference 

i have a scanner and need to control it via labview using twain driver ..the issue in how to set the reference in the code 

any help plz

Unknown network error

$
0
0

Hello, I have 6 basler camera, and use imaqdx to grab image, but some times,  camera will get  'Unknown network error'  when run 'IMAQdxConfigureAcquisition', and if one camera has err, all camera also get this err.

All camera link to 6 NIC, in deferent network segment. Most time they work fine, but some times will get this err, and need to restart app.

Any one has this err too, and can help some suggestions ?

VAS version: 2014, NIC is intel PRO1000 


Optics

$
0
0
Hey,
Is LabVIEW can do simulation of thin lenses? I think about some project  of this kind of simulation. Based on the equation of the lens (1 / f) = (1 / x) + (1 / s), where f- focal length of the lens, the x-distance from the object lens, y-image distance from the lens.
This would rely on the fact that the user loads image, the image of the disk and then user type these parameters in the above equation, the user would enter any values of this parameters. I would like, that output data was the image distance from the lens, and that the user may change this distance noticing the change of sharpness, on the loaded image. It is fun like  magnifying glass, I have a picture, the program calculates the distance of image in which it is sharp based on of parameters that the user typed (focal length, object distance from the lens). Then the user would be able to enter any image distance from the lens noting changing its sharpness
Can I do this in labVIEW? Thanks for  help Smiley Happy

labview library for twain

$
0
0

We are currently using the demo version referred to us by Graftek Imaging over the following link:

ftp://alliancei-dwn:vision2013@ftp.alliancevision.com/LabVIEW Toolkits/Toolkit Twain LabVIEW.zip.

After reading the user's manual and installing the libraries successfully, we are not able to run the DEMO VI's included in the user lib. We get an error: Error 97 occurred at Unknown System Error in TWAINV5 - Clear Acquisition.vi->TWAINV5 - Demo IMAQ 1.vi This is sourced from the 'Open Source Manager VI' due to error: -2147221164 - Class not registered in TWAINV5 - Open Source Manager.vi->TWAINV5 - Demo IMAQ 1.vi

To make sure our DSM and Scanner Data Source (Canon LIDE220) are successfully connected, we used twacker32 and all was fine. We do not know whether our problem is with installing the right libraries or in using Alliance Vision library. We are very intrested in solving this issue and running the application prior to investing in a license. Thank you for your support.
Steps to reproduce the pb : We just opened the DEMO files: Demo IMAQ1 and Demo IMAQ 2.

labview library for twain

$
0
0

We are currently using the demo version referred to us by Graftek Imaging over the following link:

ftp://ftp.alliancevision.com/LabVIEW/Toolkits/Toolkit Twain LabVIEW.zip. 

After reading the user's manual and installing the libraries successfully, we are not able to run the DEMO VI's included in the user lib. We get an error: Error 97 occurred at Unknown System Error in TWAINV5 - Clear Acquisition.vi->TWAINV5 - Demo IMAQ 1.vi This is sourced from the 'Open Source Manager VI' due to error: -2147221164 - Class not registered in TWAINV5 - Open Source Manager.vi->TWAINV5 - Demo IMAQ 1.vi

To make sure our DSM and Scanner Data Source (Canon LIDE220) are successfully connected, we used twacker32 and all was fine. We do not know whether our problem is with installing the right libraries or in using Alliance Vision library. We are very intrested in solving this issue and running the application prior to investing in a license. Thank you for your support.
Steps to reproduce the pb : We just opened the DEMO files: Demo IMAQ1 and Demo IMAQ 2.

IMAQdx acquisition slows down

$
0
0

Hello,

 

I have written a vi to acquire groups of images from a GigE camera at high speed (200-1000 Hz). I use IMAQdx functions and add the acquired images to a queue to send them to processing loop (I followed the example "Low-Level Ring Parallel Workers"). In the processing loop, I plot few of the results. It works pretty well, except that the more data I acquire, the longer it takes to the program to run. At first, I get around 2 images/s and when I stop the program I get maybe around 1 image/ 4s. If I run the program many times without stopping it (I put it into a while loop to avoid starting and closing the camera each time), the same thing happens: the first scans are much faster than the last ones. Would anyone have any idea what I am not doing ok?

I thought about memory problems but the Task Manager indicates no memory increase...

 

I put my code in attachment. Its goal is to move a linear translation stage step by step, and at each position to grab few images from the camera. 

 

Thank you very much for taking a look at my program!

 

Marie

project help, object co-ordinate detection

$
0
0

Hi there,

 

I am fairly new to labVIEW and was hoping that someone can give me advice or point me to examples for a project:

 

essentially I need to write a programme that can:

- Detect flat circular disks of different sizes through a live camera

- I dentify the size of the circles and their co-ordinate position.

 

Thanks in advance for your help

1483R for FPGA & 10Tap-8bit question

$
0
0

Hi everyone!


My camara is VIEWORKS VC-4MC-M180E0-FM with 10Tap Data Channel
Image Acquisition(IMAQ) is NI 1483R for FPGA Image Processing

 

The basic setup of camara is W*H:2048*2040,Signal Mapping:Basler 10Tap,Exposure Time:5000ms
Single cycle Time loop is 100MHz, Four DRAM_FIFO(DRAM Bank 0、DRAM Bank 1、Pack 80 to 256、Pack 256 to 64), Clock Cycle is 100MHz.

I want to use Labview built-in sample code"10-Tap 8-bit Camera with DRAM" to achieve frame rate of 179 frames/s IMAQ, but when I click "Acquire",the system can only acquire fps of 179frames/1 sec, followed by "DMA Write Timeout" Error Code, as shown in the third picture. May I ask why can't the system acquire frames continously over 1 second? What code or parameters do I need to modify?

 

Sorry for lacking in experience, want to know if someone can help.Smiley HappySmiley Happy

 

 

 

A1.png

A2.png

A3.png

A4.png

CVS 1458RT with 9144 ethercat chassis

$
0
0

Hi,

 

I want to use an EtherCAT Chassis with a CVS 1458RT. Will I have to dedicated one of the three (1/3) gige port to communicate with the 9144 chassis? So 1 for my gigE Camera, 1 for plant LAN and 1 for EtherCAT chassis?

 

I know there are EtherCAT drive but I'm working with Allen Bradley, so I think to use a 9263 and a 9411 for analog drive. Could you confirm I will be able to control the analog ouput from the CVS to the EtherCAT chassis at 4ms ?

 

Thank you

Patrick


Can NI PCIe-8233 be connected to a RT desktop for image capture?

$
0
0

Hi All,

I am planning to use 3 GigE cameras for my application. Also I have decided to use a desktop running NI RT OS.  Does this frame grabber support RT? As per the specifications , http://sine.ni.com/nips/cds/view/p/lang/en/nid/211211 , the supported operating system is Windows,

However, in the overview section of the same webpage, it is mentioned that " 8233 is optimized for machine vision needs on both PC and real-time systems".

Can I connect  NI PCIe-8233 to my RT desktop and capture images?

Regards

Aveo

Text Overlay dragging and moving

$
0
0

Hello, I intend to overlay text and move the same by clicking and dragging from one location of the image to another location. How can this be achieved?

error when connecting to Allied vission Manta

$
0
0

I am trying to cennect to an Manta camera from Allied Vission using National Instruments software.

 

The camera works perfectly fine with the VIMBA software provided by the camera manufacturer. I also got it working with MatLab.

 

 

The camera name is properly shown in both LabView and NI MAX; in NI MAX, it apears with an "x". When I try to use the camera with IMAQdx, it gives me error messges. 

 

In Labview gives me the error: "NI-IMAQdx: (Hex 0xBFF69001) Internal error"

 

In MAX gives me the error: "error 0xbfff800b The session for your device could not be configured"

 

 

I already look in the forum and NI support page for possible solutions. I updated the camera firmware and followed the driver configurations as suggested by NI and Allied Vission instrucctions. I also run the CameraValidator.exe, but I do not find the report file.

 

I must be missing something.

 

I will really apreciate some help with this,

 


Aaron 

 

 

Image calibration and Threshold VIs

$
0
0

Hallo,

I have a picture with circular dots and I want the VI to detect them for calibrating an image. 

Now I have a VI but it doesnt work as it should. I think the problem is creating a good binary image for the VI IMAQ calibration target to points circula dots. I think I don´t understand how exactly the VIs Local Threshold and Particle Filter works.

 

This shows the calibration image and the distorted image. http://imgur.com/a/EfQCI

 

Here is my VI: http://imgur.com/4LnmzkP

 

This is the (wrong) result: http://imgur.com/rvrptBH

 

Hope someone can find the failure or give me good advices

Grains separation

$
0
0

Hi All,

I am trying to solve problem of separation in case of grains in Vision Assistant 2015. I am able to get quite referent picture of grains but everytime there are grains which are touching each other. So the problem is that I cannot separate them to obtain every single grain on which I can do measurements (area, center of mass..).

 

I am attaching examples of photograps with grains.

 

Thank you very much for some ideas how to solve it.

 

Kadlcak

 

Viewing all 3180 articles
Browse latest View live