Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

triggered image acquisition

Solved!
Go to solution

hello, iam trying to calibrate my  system so i need to turn-ON led's in sequence one after the other and at the same time the system has to grab images only when any led is ON ......does anyone have a suggestion on how to do this because iam relatively new to labview

0 Kudos
Message 1 of 13
(5,712 Views)

Hi Prathiksha,

 

You can continuosly acquire image untill a condition is met using simple while loop.

Please find the vi, that does the same.

In this vi, image will be obtained when the random number generates value>0.9 and triggers.

 

Thanks
uday
0 Kudos
Message 2 of 13
(5,705 Views)

Could you please downgrade it to 8.6........my software is not letting me open the attachment

Thank you

0 Kudos
Message 3 of 13
(5,693 Views)

here you go for lv 8.6 🙂

Thanks
uday
Message 4 of 13
(5,693 Views)

thank you for the example.......however i need to know how to synchronize an led to the acquisition part such that when it is on acquisition starts..........and also is it possible to program the software to capture images continuously for a specific time duration?????

0 Kudos
Message 5 of 13
(5,677 Views)

Hi Prathiksha,

 


@Prathiksha wrote:

thank you for the example.......however i need to know how to synchronize an led to the acquisition part such that when it is on acquisition starts..........and also is it possible to program the software to capture images continuously for a specific time duration?????


It is possible to continuously capture for specific time duration, in the code which i've sent keep timer value and if it's true just stop the loop which inturn stops the acquisition.

I'm not sure of other question.

Thanks
uday
Message 6 of 13
(5,675 Views)

Thank you................if you get any info on the other topic please do inform me.....Smiley Happy

0 Kudos
Message 7 of 13
(5,671 Views)

Hi Prathiksha,

 

Good that it helped u in somekind. For the other problem, u can create an event structure which will be triggered by the boolean and acquire the image in that event,that should solve the problem isn't it??

Thanks
uday
Message 8 of 13
(5,666 Views)

hello,

thank you for the suggestion......i'll try it out...however before that i tried to toggle the led for 2 sec in a while loop of 500msec delay but instead of getting just 4 toggles i get 5.....any idea why? i've attached a picture of my vi.....hope you can find the problem

0 Kudos
Message 9 of 13
(5,658 Views)
While loops in labview are do-while loops. So that might be the case.
Thanks
uday
0 Kudos
Message 10 of 13
(5,638 Views)