Inspection of optoelectronic safety devices