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

error when opening vision assistant

$
0
0

Hi

I can open vision assistant in tools Menu and there is no problem and it works fine.
But When I want to place vision assistant in block diagram , i'll encounter This error : "Error writing the vision assistant script to file"

Please help me to solve this problem.

My labview version is 2016/32bit

 labview-error.jpg

 


IMAQ ComplexFlipFrequency - odd resolutions

$
0
0

Hi,

 

I'm doing custom FFT-based filters, and for this, I need to access the results of IMAQ FFT as an array in optical representation.

Obviously that's the purpose of IMAQ ComplexFlipFrequency.


As I understand it, this function flips between standard and optical representation in the internal memory by swapping arrays like this

OpticalStandardFlip.PNG

I guess that this is a very efficient and elegant way to do things. 
The problem for me is when you start handling images with an odd pixel resolution  (let's say an image with 5x4 pixels). 
This "array swap" obviously can't work, so you get a leftover column.

 

CodeComparison.PNG

 

This is not just an edge case for a very small image, I observe this behaviour also with large images, for example here:

FlipFrequencyExample.png


1) Can you confirm this behaviour?

 

2) Are there any solutions beyond just enforcing that the image sizes are not odd (IMAQ Extract / IMAQ Resample)?
I mostly build filters in the optical representation and then use IMAQ ComplexMultiply. Of course I could shift my filters to standard representation, but that would just shift the problem.

 

3) If there are no solutions, I would like to make a CAR to at least document this properly.
This can mess up filters a lot and I spent a few hours trying to figure out why my algorithms worked only with some test data (It's impossible to see one "wrong" pixel line if your image is 1891 px wide!)

 

Attached:

1) the test program

2) a vi for making image sizes even.. if someone after me is looking for a fix.

Can't set PixelFormat on PointGrey Flea3 using IMAXdx

$
0
0

I'm attempting to change the pixel format on a PointGrey Flea3 camera using IMAQdx. I've been able to change other attributes like frame rate and exposure with no problem, but I'm totally stumped by this.

Here is the UI event code that should change the pixel format.

UserEventHandler.PNG

 

I obtained the list of strings that I copied and pasted to populate the pixel format enum from the driver, like so:

 

Available pixel format code.PNG

 

 

And I got the following list:

Available pixel formats.PNG

But when I actually set the pixel format to any of these options, I get this error:

Pixel Format Error.PNG

 

The camera acquires with no problem - it starts in the default pixel format of "Bayer RG 8".

 I'm using Labview 2013sp1. Let me know if you need more information.

 

Any suggestions? Thank you for your time and help!

VBAI System Variables accessible by Data Dashboard App?

$
0
0

When running VBAI on a target system with some System Variables created, can those variables be seen by the Data Dashboard App for iOS / Android?

 

I just had a customer ask about that and I wonder if anyone has tried it.

 

Thanks!

 

Is it permissible to create a custom VBAI Step to acquire images from unsupported cameras?

$
0
0

Is there anything preventing the creation and usage of a custom VBAI Step to acquire images from unsupported cameras such as one with coaXPress interface?

 

I know that IMAQdx does not support coaXPress, but if one were to write a set of VIs around a 3rd party frame grabber driver it looks like a custom VBAI Step could grab an image and pass it to VBAI.

 

Thanks!

 

VIs missing in IMAQ with newly version NI VAS 17.1 under LV2017

$
0
0

Hi everyone,

 

I recently upgraded from LV2014 to LV2017 (Spring version) and installed the updates before installing NI Vision Acquisition Software 17.1. Afterwards I also installed the drivers "NI Vision Acquisition Software September "  (should I have installed the 17.1's one?).

Then, when opening with LV2017, a previous VI realized in LV2014, many IMAQ Vis are missing like : IMAQ Absolute Difference, IMAQ Histograph, IMAQ Extract, IMAQ Threshhold or IMAQ Particle Analysis Report.

I put an image of the Vision's toolbox.

 

Do you have any idea how I can solve this ?

Thank you in advance

Nico

Camera File Generator Timeout -- Drivers?

$
0
0

Hello all,

I am having trouble getting a camera to work with the CFG, I am getting the timeout error.

-- It is working fine with another camera, so I know the framegrabber is set up and everything is plugged in etc.

-- I have tried every combination of tap settings, and have been asking for just 50x50 pixels, so neither of those things are the issue.

 

What could be the problem? Do I need the right drivers for my camera even to obtain a single image from the CFG? The problem camera is the 25CL+ from Mikrotron (there is no support/ camera files available). I have tested with the 3CL from Mikrotron. I believe I have installed all the drivers available from NI.

 

Thanks for any comments/ help.

Fergus

Need recommendation for a color Camera with built-in autofocus feature

$
0
0

I'm looking for a color camera with built-in autofocus feature.

Please help.

 


NI embedded and 3D sensors

$
0
0

 Hi, I wanted to know if anyone here has any experience using the Ensenso 3D sensors with NI Embedded Hardware (CVS or Industrial Controllers)? I am working on a machine vision application for quality control and I know that the sensors are compatible with labview, but dont know if they will work with the embedded devices. If not, can anyone recommend any stereo vision or projected light 3D sensors to use with these embedded systems??

 

Thank you

Problem with image type in CVI

$
0
0

Hello!Dear everyone,i am using CVI to creat an application deal with Match Geometric Pattern.i use a Basler camera(piA2400-17gc),the image type i acquire from camera is RGB,but the function imaqMatchGeometricPattern3() only supports IMAQ_IMAGE_U8 type.Thus i cannot finish my work,i think if anyway can change the image type from RGB to IMAQ_IMAGE_U8 .Anyone can give me a suggestion?

Thank you very much!

Analog to ip converter

Functions Vision and Motion on the Functions Palette are not displayed

$
0
0

i have labview 2017 instaled and  NI-imaqdx

i can see my cam in NI

but i cant see function pallete on labview

im new here , please understand and help me

thank u

Reading checkerboard colors with webcam

$
0
0

Hello,

I am trying to create a VI that uses a webcam to look at a checkerboard and scan each square to check if it is red, green or blue. I have created numerous ROIs by creating rectangles that are turned into ROIs and stored in a 2D array, and then constantly checked in the main loop containing an IMAQ colorlearn VI to check for color. When I run the VI however, it seems to flash NaN and some values, meanwhile the color detection doesn't seem to be going through. My Camera is filming in 1024 x 720, and the spacing/size of the rectangles in the bottom loop has been chosen for the camera format.

 

I would really appreciate if someone was willing to spare the time to point out what is amiss.WebCam.PNG

 

NI-MAX GigE camera not discovered

$
0
0

Hello,

 

I have my Allied Vision GX2750 GigE vision camera connected directed to my PC via ethernet cable, and I can not discover the camera under my network devices in MAX.  I believe my software is configured correctly, but I have a screenshot of my MAX window with my camera connected just in case.  I have used this camera with the CVS-1458RT and it was discovered. I had looked at the troubleshooting guide for discovering GigE vision cameras but was not able to fix this issue.  Does anyone have any ideas for fixing this problem?

Can't downgrade Vision Acquisition Software

$
0
0

Here's the situation.

 

I got a fresh windows installation, installed LabVIEW 2013 (for code compatibility reasons), and then installed Vision Acquisition Software so I could control a Point Grey USB3 camera.

 

However, I was careless, and didn't check the compatibility, and I installed VAS 17.1, which apparently is only compatible with LabVIEW 2014 and newer.

 

Oops. So, I used the same installer to uninstall VAS 17.1. It appeared to work.

 

I then downloaded VAS January 2017, which is the previous version, which is compatible with LabVIEW 2013. However, then the trouble started:

vas install problem.PNG

Higher version already installed? But I already uninstalled it!

 

So, there is apparently some trace of the higher version of VAS lingering in my system despite the uninstallation. I've been banging my head against this. Any suggestions? Thank you!


Camera to plc issue

$
0
0

Hi,

 

I am using a Basler aca1300-um30 camera. I can have it trigger to take a picture by sending a signal from a plc however I dont know how to send a signal back to the plc from the camera. I understand that that particular camera can do so but I am unsure of which communication option in VBAI that I should use.

 

Can anyone offer some advice? I am quite new to machine vision and automation in general so do bear with me if I am not concise enough.

 

Thank you

hydraulic actuator-mechanical synchronization

$
0
0

I am currently doing one project on hydraulic actuator synchronization using mechanical coupling( rigid coupling) as part of my internship. it is cost effective, don't have any complicated controls. just pump the fluid. since it is rigid and the mass is centralized the volume and pressure should be equal to both actuators.
This is the basic structure -->
when I was doing my research, I came across so many models which using other techniques like servo valves, but I hardly saw anything about the mechanical coupling., What are the disadvantages of this system?
PS- the connection is rigid, the weight is centralized, might have slight leakage (assuming, since it is for practical use).

Interrupt acquisition to write camera attribute

$
0
0

Hi all,

 

I'm using a Basler Pulse camera in an imaging setup, for which I only acquire a region of interest from the full camera view. I can set this ROI before starting image acquisition using the IMAQdx property node, no problem. The parameters are stored in a Settings-file, and loaded upon starting the VI.

Now I want to make a tool for other users of this setup to adjust the ROI via a different VI. For this I want them to be able to toggle between full camera view and the ROI-view. However, once I the grab is configured (IMAQdx > Configure Grab), I cannot change the image format parameters anymore ("Unable to set attribute"). Other parameters like fps and brightness can still be changed during acquisition.

 

I dug into the Configure Grab VI and found that it just does a lower-level configuration step and then starts acquisition. In my VI I tried to stop the acquisition, change the parameters, and restart the acquisition, but still the same error remains.

How can I interrupt the acquisition/session so I can adjust my image format parameters? I've added a minimal working example that reproduces the problem.

Thanks in advance!

How to tune camera's white balance with NI MAX?

$
0
0

Hi,

 

I am trying to adjust the white balance of my Basler acA4600-10uc USB 3.0 camera using NI MAX. So far I have played with the Red, Green and Blue Gains on Bayer Color tab trying to find a good combinations. Pattern is "Use hardware value", pixel format Bayer. I also have tried to use Auto Calculate Gains option with different kind of white level %values. However, the result camera image is either greenish, reddish or too blue. Auto Calculate Gains does not work either.

When I use Balser's own software and driver it auto-adjusts all values and the image looks good. So, I am a bit confused how to tune the white balance with NI MAX? Is there any other options to use than Gains which can affect white balance?

 

Br,

Jick

Blister Pack Inspection

$
0
0

I am looking for Blister Pack Inspection Example so I have installed Vision Development Module 2016 in my system but I cannot find the Blister Pack Inspection Example in the vision examples. If anyone here is having that example kindly share with me.

certified-labview-associate-developer.png

Viewing all 3180 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>