08-21-2010 03:09 PM
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".
08-23-2010 12:56 AM
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
08-23-2010 04:29 AM
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 ?
08-23-2010 08:15 AM
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...
08-23-2010 08:33 AM
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.
08-23-2010 08:35 AM
and finaly;
my conveyor system with camera by triggering ao optical sensor...
09-01-2010 06:23 AM
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.