[Mo...] Posted April 15, 2021 Share Posted April 15, 2021 I normally create a single script that runs a scanning template for a part. We use an older GOM machine and when it has been sitting idle for long enough, the blue light turns off. When the light is manually turned back on, it has to wait 15 mins before it has warmed up (light icon will turn from yellow to white). I want to add a couple of lines of code into my script so that the scanning routine will automatically start AFTER the light has warmed up. That is, I can hit the 'run script' button, walk away, and it'll wait until the light has warmed up to actually begin running. Does anyone know how to do that? TIA! Link to comment Share on other sites More sharing options...
[An...] Posted April 16, 2021 Share Posted April 16, 2021 (edited) Hello Monica, maybe this python code will help you... while gom.app.get ('sys_calibration_remaining_sensor_warmup_time') > 0: print('Waiting for a warmed up sensor...') print('Starting scanning templete...') ... ... ... Edited April 16, 2021 Link to comment Share on other sites More sharing options...
[Ma...] Posted April 20, 2021 Share Posted April 20, 2021 Or just: gom.script.atos.wait_for_sensor_warmup() Link to comment Share on other sites More sharing options...
[Mo...] Posted April 20, 2021 Author Share Posted April 20, 2021 Thanks all! The one-liner works great. Link to comment Share on other sites More sharing options...
[Mi...] Posted April 22, 2021 Share Posted April 22, 2021 It's also possible to change the Power Control Settings (Web Interace "LED Eco Mode")... so it will not turn off automatically. Link to comment Share on other sites More sharing options...
[Mo...] Posted April 22, 2021 Author Share Posted April 22, 2021 That would be great to adjust it so that the lamp does not turn off at all. How do you access the power control settings? I could not find it. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in