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

Save images into array

$
0
0

Hi all,

 

I know this has been asked before, and I've read many of the solutions, so I've added a bit of detail to clarify the issue...

 

LabVIEW 2013 SP1

Vision Assistant 2013 SP1

PCIe-1433 Camera Link Frame Grabber

Camera Link camera, 280 fps

 

I had an application that read images from the PCIe-1433, using 1 buffer.

I called the IMAQ Copy Acquired Buffer VI to copy the image from the buffer, and then I'd save that image onto disk.

That worked fine, but the disk access would slow it down after a few seconds.

 

So, with a little help from NI Support, I switched to use the (LL Ring example) multiple buffers.

Now I don't call the 'IMAQ Copy Acquired Buffer' VI, I call the 'IMAQ Extract Buffer' VI to get the images from the input buffer.

 

But, since I'm not copying the buffer to the 'working image space' (IMAQ Create), I now only have a reference to the image.

Is there another VI, or another way, to get the actual image so that I can store it?

 

At the moment we're capturing thousands of images for later processing, so I don't really want to create thousands of buffers at setup time to save all the images (as other examples had shown).

 

I hope that's clear.

Any thoughts?

 

Thanks,

Jeff

 


Is there any research group or paper on face recognition on camouflaged images?

$
0
0

Is there anyone who has worked on recognizing faces in the kind of images that has been attached to this post?

Error-1074360293 occured at IMAQdz GetImage.vi

$
0
0

At first, my Labview program acquired 1-5 images and then this error message would pop:

 

Error-1074360293 occured at IMAQdz GetImage.vi

Possible reasons(s):

NI-IMAQ-dx: (Hex 0xBFF6901B) Time Out

 

After reading a bit about that error on the forum, I turned down my firewall. Now it goes much better, but the error message still appears from time to time (every 10-200 images depending of the time).

 

Would someone have an idea to help?

 

Thank you!

Crash with Matrox mvBlueFox camera

$
0
0

Hi,

 

I'm trying to interface with a Matrox mvBlueFox camera.  This is a USB 2.0 camera, and the driver supports a DirectShow interface which means that it should be usable with IMAQdx.  I've downloaded the latest version of the Matrox driver and registered the DirectShow interface per their instructions.  The camera now shows up as an NI-IMAQdx device in NI-MAX, but problem I'm having is that as soon as I click on the camera in MAX, MAX immediately crashes.  Any thoughts on this?

 

Here's the configuration I am running:

Windows 7 Pro 32-bit

IMAQ 4.6.1

IMAQdx 3.9.1

IMAQ I/O 2.5

MAX 5.6.0f0

 

I also tried an older Windows XP computer that has older versions of IMAQ and MAX installed with a similar result.  I've attached the crash report if that helps too.

 

Thanks!

IMAQdx USB camera failing to recover from Timeout

$
0
0

Hi, newbie poster here so please forgive me if I make a posting faux pas or two...

 

I'm hoping to get some help with an issue that has been bugging me a while. Heres a bit of backstory before I delve into details.

 

In one of our pieces of software we integrate a camera view into a GUI front panel that controls some other hardware control.

All it is doing is providing a video feed, no image manipulation.

This has been working fine for a number of systems, no issue.

One machine has now shown a fault in the software hanging up.

Intermittent USB disconnection is suspected and after looking at the camera in isolation I can replicate a hang by removing the USB camera from its port whilst running.

 

The camera is actually two components: a composite output camera attached to a composite to USB converter.

If you need it heres a camera link.

The USB converter is a startech SVID2USB2NS.

 

I am running Labview 2014 SP1 with IMAQdx 14.5.0. The testing I am doing is on windows 7 64 bit.

 

Attached is the VI I am using to test operation. One is the core function, the other with some debugging steps I have tried.

So the idea behind the VI is that I supply the name that shows up in MAX when the adapter is connected, then the VI searches for it, configures when found and then starts grabbing.

If an error occurs, I attempt to go into an error state to report it and then close the session so that a new one can be made when the camera is available.

 

Its this close session step that is hanging. Disconnecting the USB camera causes a -1074360293 error, which is a timeout.

When trying to close a session that has timed out the close session hangs. Sometimes it will make it through and restart, but its about 50/50.

If I disable the close and just open a new session each time it runs, however I can monitor the memory usage increasing in task manager every time the camera disconnects. Also, when I come to close the VI either the VI wont exit (even when forced by Task Man.) or a process is kept running, preventing shutdown or further calls to the original VI / exe.

 

Interestingly, if you perform a grab in MAX and then disconnect the camera the same sort of behaviour occurs.

 

Things I have tried:

Only opening the camera with the name on the first run, using the created session for each subsequent open. Still have memory leak.

Adjusting timeout attribute to -1, this just fails to run.

Creating a subvi to run a grab until an error occurs then stop, including a request deallocation vi to free unused memory. Memory leak still occurs (im guessing its still 'used')

Check the camera connection before each grab to prevent a timeout error occuring, then closing session. Still hangs.

Detecting the camera via system configuration vis then performing a reset. Reset is not available for this device. (longshot I know)

 

Thanks in advance for any help / comments and sorry if thats been a lot to read.

 

Regards,

David

match pattern with camera

$
0
0

hello all,
im trying to modify match pattern vi example to work with usb camera .i want always to keep the result of matching overlayed so i add a while loop but the result is not as i want it .
can any one help me please?

match pattern with camera

$
0
0

hello all,
im trying to modify match pattern vi example to work with usb camera .i want always to keep the result of matching overlayed so i add a while loop but the result is not as i want it .
can any one help me please?

Possible to access NI hardware from service? (without logging into a user account)

$
0
0

I'm curious if there are any issues with accessing NI hardware from a program being run as a service (ie with no user logged in to the computer). I am about to start development on a service targeting an NI-IMAQ device, and I need to start acquiring data when the computer boots up without logging into a user account. I don't know if accessing an INTERFACE set up in NI-MAX requires that a user be logged in.

 

This will be run on Windows 7.

 

I appreciate any insight. Thanks!


match pattern with camera

$
0
0

hello everyone,

im trying to use a usb camera with labview to get information about pcb board( for example check for presence of object).in the first time i modify the match pattern example to work with my camera,it work but the result of matching is not overlayed continuously .in the second time i modify the match pattern (all) axample,the pattern i select are continously overlayed but the camera is blocked and display one image with overlayed result :smileyfrustrated: .i want the result to be continously overlayed and the camera not blocked. 
can any one help me to complete my work pleese? :smileysad:


 

Adding Attributes to the IMAQdx Class

$
0
0

I've got a subVI to modify several camera attributes; however, none of these attributes are included in the IMAQdx class.  Consequently, I've got to use a doubly-long property node where for every value I want to display or change, I have to first write that attribute as the current attribute.  Is there a way to add attributes to the class so they'll populate in the property node list of camera attributes?

VBAI: Fire a pulse every N msec based on inspection status

$
0
0

The VBAI Delay function seems to have the functionality I am looking for, but it is too coarse in that the time lapse is 1 second minimum.

 

I have a Smart Camera (1772). I am doing an OCR inspection that could take a somewhat varying amount of time. I would like to fire a rejector if the inspection fails. The rejector must fire at a fixed amount of time after the camera is triggered. If I cannot reliably do that, then I need another controller in the system which I should not need because the Smart Camera shoulkd be more than adequate. I know it can be done in RT, but I would like to keep things in VBAI for ease of Customer training.

 

Sequence of operations:

 

1. Parts travel under 1772 on a conveyor

2. Sensor triggers 1772 when a part is present

3. Image is acquired and processed. OCR inspection performed

4. If OCR inspection fails, fire output pulse exactly 100 (for example) milliseconds after the trigger from step 2

5. Repeat from step 2 

 

Any idea how to achieve that in VBAI?

 

Thanks,

Dan

Camera not found, Error -1074360311 occurred at IMAQdx Open Camera.vi , Using USB cameras labview 2013 64(bitts)

$
0
0

I've been using USB cameras with labview 2013, and I can acquire images in the MAX, and in the Vison Acquisition (express) settings, but when I run the VI, always appear the same error as shown in the Image below.

 

 

- I checked the correct versions of my softwares, IMAQ, IMAQdx, VDM 2013, IMAQ I/O

- I also make sure that I had all the camera drivers updated.

- I've been using IMAQdx bloq diagram and examples getting the same error   u.u

 

Please help! 

 Any suggestions would be very helpful.

 

image.jpgSin título.jpg

vision builder image calibration

$
0
0

Hi all ,

 

here i am using run labview to calibrate .

 

but its not giving .. calibrated value .

 

 

 

Hi 9 POINT CALIBRATION NOT WORKING IN VISION BUILDER

$
0
0

I try to do 9 point calibration by using run labview method in Vision builder .

 

here i tried teo labview files here Reference 1-1.vi working (it gives in mm) (here i am not assigning 9 points )

 

Reference 1-11.vi file i did invidual points to so that i can enter directly 9 point and real world ..

but its not working .

 

Is there anyway to 9 point calibraiton in vision builder .

 

if i have to use run labview step means .. please give me vi file to to enter 9 points (from set variable )

vision builder AI engine takes so long to launch .

$
0
0

3.PNG

 

 

Hi all i am using Vision builder for my application .

(labview as api)

here i am using multiple Vision builder files .

 

if i do program like

 

(lauch - inspect ) together i takes (3000ms)

(launch ) intiall then inspect only means (300 ms)

 

for singple .vbai file its okay ..

 

 

in case of multiple .vbai files. the AI engine launch takes many time .(due to multiple Ai engines).

 

Help me to use of multiple files at a time . effiently

 

 

 


tracking a ball to a goal

$
0
0

Hi I am currently working on a project using labview 2014 with the 2014 vision plug in to track a ball into a goal area.

I have a good understanding of standard labVIEW but Vision is compleatly ailen to me are there are resources such as tutorials that anyone here would reccomend 

I am not looking for a straight up solution I just need some good tutprials to help me understand.

 

Thank you

How do I get point location data based on a previously established angled coordinate system in vision builder?

$
0
0

I need to measure the position of a point relative to the side of a part.  The part is not in the same position every time, rotationally.  I am able to create an angled coordinate system where one axis is the side of the part, but when I use that coordinate system (check reference coordinate system box and then click on the coordinate system I want to use), the x and y coordinates are not based on the coordinate system I selected, but the screen coordinate system.   I need the x & y coordinates based on the angle coordinate system I referenced.

 

I have also considered measuring the angle of the part and then rotating the image.  Unfortunately the only way to rotate the image that I can find is in vision assistant and it only allows manual input of the angle you want to use.  It will not allow you to grab the previously measured angle and use it.

 

Any help on solving this problem would be appreciated.  I only have Vision Builder installed.  I do not have Labview.

I need two front panel for single Vi

$
0
0

Hi all .

 

I need two front panel . (tWO MONITOR DISPLAY)

 

ONE MAIN PANEL (One monitor) AND ANOTHER PANEL DETICATED FOR IMAGE DISPLAY(another Monitor) .

 

MAIN PANEL WILL DO I MAGE PROCESSING AND THE RESULT WILL BE SHOW IN ANOTHER FRONT PANEL.

 

i tired with all sub vi .concepts .

stilll not sucessful.

Error - 1074397153 occurred at IMAQ Grab Setup.vi

$
0
0

The sensor we are using is Goodrich SU640KTSX. I can run SUI image Analysis 3.1 software, Measurement & Automation software, and MATLAB code on an XP machine with no errors when grabbing images. We are tying to build a newer PC;

Dell T7500 with Intel xeon CPU x5650 @ 2.67GHz 

Memory; 12GB

OS Win7  64-bit

Camlink card is NI PCIe-1430

Nvidia QUADRO 4000

 

The error we get is "Error -1074397153 occurred at IMAQ Grab Setup.vi / Cannot detect recognizable video source" when using the SUI image Analysis 3.1 software or MATLAB code. When we use the NI-IMAQ i/o 2.3.1- Measurement & Automation  I can snap, grab and record without any error. 

Any help on this would be great

Thanks

VBAI server communication

$
0
0

Hi everybody,

 

I need solve one problem in my final thesis. It is possible to acquire image from server via. FTP or TCP/IP or another protocol (better if it will be cryptographic protocol), then process inspection and finally send data (.txt file and final image) to server back. And another problem with acquiring data from server is time synchronization. It is possible to connect to server from another PC and acquire image from a server acording to some name or date or time or something defined stamp.

 

Thank you very much for every answer

 

 

Viewing all 3184 articles
Browse latest View live