LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

process and save a picture

Hello Mcatieau,

 

Can you include the whole project folder and not only those 2 files?

Thanks!

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 11 of 24
(1,263 Views)

Hello

 

this is the whole project folder

 

thanks for your help

0 Kudos
Message 12 of 24
(1,250 Views)

Hey mcatieu,

 

Thank you for sharing!

However, I would still expect more files then these 3 in that folder.

 

This left aside:

Can you share with me the MAX Report of your own computer and of your CVS system?

http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4?OpenDocument

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 13 of 24
(1,239 Views)

Hello

 

I add the reports to the folder.

 

Thank you for your help

0 Kudos
Message 14 of 24
(1,233 Views)

Hello mcatieau,

 

Thanks for sharing these reports.

 

To make sure I have understood correctly:

- A basic exampe (lke the Grab.VI) om the NI Example Finder does work perfectly for your webcam and your CVS set-up.

 

- Your own example with additional code, does not work on the CVS, but it does work with your webcam.

 

Can you try the following?

Instead of adding those 3 VIs after eachother, can you :

- Only add the first VI (Extract Single Color...)

- Check if this procuces an error on the CVS and on/with your webcam.

- If it produces an error with one (or both), then please explicitly create the image reference for the "Image Dst" input of the VI and wire it to it.

I would not expect that this is the source of your problems since "not-wiring" the "Image Dst" input forces the "Image Src" input to be (re)used for the "Image Dst" Output.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 15 of 24
(1,213 Views)

Hello

 

I change the configuration of the camera and now It work with one camera, so I add the second camera to the program and when I tried only one camera work, the second show an error -1074396080.

I tried to change the camera but I always have the same thing.

 

And a second problem is that i want to record the video, but when I try the exemple "grab and save to AVI", the vi call "imgInterfaceOpen" don't work and I don't find the problem.

 

Thank you for your help

0 Kudos
Message 16 of 24
(1,201 Views)

Hello mcatieau,

 

Let us try to first fix the first issue.

Where do you get this error (at which VI) in which code? (please share if it is different code than the code your provided earlier)

Can you explain to me which one is the first camera and which one is the second camera?

What happens when you only use the second camera (and not the first one)?

 

Please show me what you exactly mean with the different use cases (eg. one camera, added second camera, tried only one camera and second shows error, ...)  you explained in your post, since it is not clear to me where the problem is exactly situated in the different parts of your Tests/explanation.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 17 of 24
(1,197 Views)

Hello

 

I send the code with the 2 camera.

The Camera 1number is our camera front, and the Camera 2 is our camera back, and we want to record the 2 camera at the same time.

And the error appears at the vi "IMQA Selectcolorplane" 1, even if I interchange the cameras.

 

Thank you for your help.

0 Kudos
Message 18 of 24
(1,193 Views)

Have you tried to give your image different names?

 

Right now you are making 2 images with the same name "Grab". Try to use "Grab" and "Grab2".

0 Kudos
Message 19 of 24
(1,185 Views)

 

Hello

 

Thank you a lot for your answer, I didn't notice that, I changed the name and now it work.

 

Now my problem is how to save the images, because I tried to use the exemple "Grab and save to AVI", but it don't work, I have the following message

Capture.PNG

I tried to repear this error and I fonud the following message

Capture2.PNG

 

 

Thank you for your help

0 Kudos
Message 20 of 24
(1,179 Views)