LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb webcamera as a feedback

Hellow all,

 

How can I make one camera performing snapping and then as a feedback using labview.

 

my VI is attached bellow

 

Best regards

 

Khalid

0 Kudos
Message 1 of 8
(3,211 Views)

I am waiting

0 Kudos
Message 2 of 8
(3,194 Views)

I am still waiting

0 Kudos
Message 3 of 8
(3,173 Views)

Hey Khalid,

 

My name is Alex and I'm an Applications Engineer from National Instruments. I wasn't able to completely open the VI you uploaded, it appeared to be missing a few custom SubVIs. However, as a broad introduction, there are quite a few things we need to think about when we're trying to capture images in LabVIEW. i.e.

 

  • What kind of camera you're using?
  • What's the type of interface? 

The reason I ask this is because we'll need to base our use of the NI-IMAQ or NI-IMAQdx drivers in order to construct an appropriate programmatic interaction with the camera from within LabVIEW. With either of these installations, I'd recommend checking out the NI Example Finder for code which you can use as a great starting point for getting your acquired images into LabVIEW. 

 

<LabVIEW> » Help » Find Examples... and perform a quick search for 'Grab'. This shows us how to successfully acquire a continuous stream of information from the camera.

 

There are also some great online examples that you can reference.


However, I might be jumping the gun a little. We have to make sure that we can first communicate properly with the camera and make sure the interface is set up so that we can actually grab some data. Have you managed to get to this point?

 

As for feedback, can you expand a little on what kind of interaction it is that you require?

 

Kind Regards,


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 4 of 8
(3,169 Views)

Hi Alex,

 

sorry I forgot the sub-vi and its bellow

 

I am using usb camera and interfacing using Imaq for 8.6 labview. I am using labview 8.6.

0 Kudos
Message 5 of 8
(3,149 Views)

Hi Khalid,

 

What's the specific problem that you're having with your code at the moment? All of this code looks sensible to me; is there a particular function that isn't working in the way that you had expected it to?

 

Kind Regards,


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 6 of 8
(3,142 Views)
hellow Alex,
I want to use the same usb webcamera mentioned in the vi thats snaps a picture as a feedback.
My process is snapping a picture using usb webcam then processing this image to have rgb values then converting these values to a levels of liquid colors in tanks for mixing and getting the required color as the snapped image, I want to check if the required color is same as the snapped image using the same webcam (feedback)
0 Kudos
Message 7 of 8
(3,125 Views)

Hi Khalid,

 

Is the issue with the application that the values of Output Color and Desired Color aren't matching properly? Would it be possible to give any values of the example output? Sorry that I keep asking questions; it's just at this point I'm still struggling to understand what the particular stumbling block you've hit with your application is!

 

Kind Regards,


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 8 of 8
(3,094 Views)