Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Test for flasing light

Solved!
Go to solution

Hi Ben,

 

With the frequency at a certain rate flashing on and off every half second give or that, is there a way of ensuring that when the camera captures an image that the led has in fact switched off or back on?

 

For the aqcuisition with the inline processing i can time the FOR loop to execute every 500ms for instance how would i time this in the post processing method? Would it be the configuration of the trigger or timing the execution of the execution or how would i achieve this?

 

Regards,

 

Damien

0 Kudos
Message 11 of 14
(1,055 Views)
Solution
Accepted by Damien129

Hi Damien,

 

Using inline in this case is fine, I had previously thought that you mentioned that the LED would flash 50 times a second. As long as the loop takes less than half the LED flash time, you should be able to capture at least one change when the LED is flashing. From here the comparison I would make would be to two arrays of either all false, or all true. This way if any of the acquired images have differences the comparison would pick them up.

 

I hope that helps, and apologies for the confusion.

Regards,

Ben Clark
Message 12 of 14
(1,040 Views)

Hi Ben,

 

Thanks for the advice much appreciated.

 

Regards,

 

Damien

0 Kudos
Message 13 of 14
(1,036 Views)

No problem Damien, hope the rest of the project goes well!

Regards,

Ben Clark
0 Kudos
Message 14 of 14
(1,033 Views)