Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous Tasks (Vision + Serial Commands)

I have to parallel tasks to perform: splice two fibers and simulteanously display video of the splicing process. The splice commands are passed through serial port in series of frames. Independently splice works fine and video works fine. However, when I attempt to capture and display video during splicing, splicing works but no image was displayed. I have tried occurrences but it doest not work. Please what is the best way to solve this problem? Both logic are in a while loop.
0 Kudos
Message 1 of 5
(3,879 Views)

Both logic are in a while loop.
Same? independent?
0 Kudos
Message 2 of 5
(3,869 Views)
Can you post a screen shot of your vi?
0 Kudos
Message 3 of 5
(3,868 Views)

Hi Aderogba,

 

Are you able to display the images at all?  Are you using IMAQ and/or Vision Development Module to do this?  One common caveat is that the image display is not on the "snapshot" option.  To change this, right click on the image display and choose "Snapshot".  Additionally, are you wiring the image reference into the Image Display, or the AVI itself?

 

If you could provide some more details on your code itself, that would be helpful.

 

Cheers, 

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 4 of 5
(3,857 Views)
Thanks for all the feedbacks; I solved the problem by capturing and display images during the process delay time. Before I was using a chunk of let's say 200ms delay time now I break that into steps and display display image during each steps.
0 Kudos
Message 5 of 5
(3,820 Views)