11-25-2013 03:52 AM - edited 11-25-2013 03:53 AM
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
Solved! Go to Solution.
11-25-2013 04:16 AM
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.
11-25-2013 10:43 AM
Could you please downgrade it to 8.6........my software is not letting me open the attachment
Thank you
11-25-2013 10:58 AM
here you go for lv 8.6 🙂
11-26-2013 12:21 AM
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?????
11-26-2013 12:31 AM
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.
11-26-2013 02:39 AM
Thank you................if you get any info on the other topic please do inform me.....
11-26-2013 03:10 AM
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??
11-27-2013 02:31 AM - edited 11-27-2013 02:37 AM
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
11-27-2013 10:28 PM