Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I add 8 bit image with 32 bit image in vision assistant

Solved!
Go to solution

Hi Adanali,

I don't have much time to go through this very old thread.

What I can suggest is to embed the solution I proposed (nearly 2 years ago !..) into a subvi, replacing the file input by an image input, then to drop this subvi into the "Insert image processing here" frame in the Imaqdx acquisition example you used in your application".

 

 

Insert image 
processing herInsert image processing here" frame

 

Chilly Charly    (aka CC)
0 Kudos
Message 11 of 17
(1,485 Views)

hi charly;

I have already tried it, but it doesn't work. Actualy, two programs (triggering program and your program) work individually very well, but they don't work together. That's why, I sent you these programs before. when I used triggering program, it works well. I can take photos from my camera (guppy F-033C) by triggering an optical sensor. but if I used this program with the image processing program together, then I see only a black image on my computer.

could you do me a favour in my study, because I need really help.

thanks a lot

 

 

0 Kudos
Message 12 of 17
(1,474 Views)

There is no way I could debug your program since I don't have the hardware. Beside, I don't understand how something could work at all with the vi you posted here, since one part is trying to acquire with an unnamed camera, while the other is trying to analyse an image file. So it seems that you didn't post the actual program you are working with. BTW, what is the black image you are referring to : the one from the grab or the one from the file analysis ?

Since my imagination has some limitations, without hardware and software, I'll have some difficulties to help you ! 😉

Could you come back with something representative of your actual work, since I can't believe that stitching a pair of rapidly coded examples is the program you are working with ?

Chilly Charly    (aka CC)
0 Kudos
Message 13 of 17
(1,464 Views)

hi charly;

firstly; thank you very much for your interest. I'm studying about a project, which is concerned with aflatoxin contaminated figs. separating contaminated figs from healties is main aim of this project. for this, I have developed a conveyor system with a camera and optical sensor. by using optical sensor, I can trigger the camera directly and camera can send the image to the computer. for this process, I use "triggering camera-IMAQdx.vi" file and it works. I attached this file.

secondly, your program comes... as you remember, you solved my problem by using vision assistant. and I converted your vision file to labview file. it works very well, too. I attached this file for you...

Finally, I want to match these two programs together. I will send you this matched program in a while...

0 Kudos
Message 14 of 17
(1,456 Views)

hi charly;

I send you my new program. (matched program)  and now program works but without image processing. 😞  the image processing part doesn't work. I send you at the attachment.

 

 

0 Kudos
Message 15 of 17
(1,451 Views)

and finaly;

my conveyor system with camera by triggering ao optical sensor...

 

0 Kudos
Message 16 of 17
(1,450 Views)

I don't see any reason why this should not work. The only thing I can suggest is to execute the image processing sub-vi in highlight mode and see what happens at the various state of execution using probes.

Chilly Charly    (aka CC)
0 Kudos
Message 17 of 17
(1,386 Views)