[Má...] Posted August 26, 2021 Share Posted August 26, 2021 Hello! I would like to check inside a script if the manual sensor warmed up yet. Found an element value regard this (gom.script.atos.wait_for_sensor_warmup) but the result always 0 for me. Any advice about this? BR, Máté Link to comment https://qualityforum.zeiss.com/topic/380-warm-up-state-check-with-script/ Share on other sites More sharing options...
[Na...] Posted August 26, 2021 Share Posted August 26, 2021 Hello Máté, this question was answered in another thread: gom.script.atos.wait_for_sensor_warmup() gom.interactive.automation.execute_active_measurement_series () Regards, Nanno Link to comment https://qualityforum.zeiss.com/topic/380-warm-up-state-check-with-script/#findComment-1115 Share on other sites More sharing options...
[Má...] Posted August 26, 2021 Author Share Posted August 26, 2021 Hy, Unfortunately this is not an answer for my question. I need to get a yes/no answer and from this script elements I could not get it. BR, Máté Link to comment https://qualityforum.zeiss.com/topic/380-warm-up-state-check-with-script/#findComment-1116 Share on other sites More sharing options...
[Ma...] Posted August 26, 2021 Share Posted August 26, 2021 (edited) The post above describes how to wait in a script for the sensor warmup. If you just like to query if it is warmed-up, you already found the correct way: remaining_warmup_time_in_seconds = gom.script.atos.wait_for_sensor_warmup (timeout=0) The sensor is already warmed-up completely if you a 0. Hint: you have to add "timeout=0", otherwise the command will wait until the sensor is warmed-up and always return 0. Edited August 26, 2021 Link to comment https://qualityforum.zeiss.com/topic/380-warm-up-state-check-with-script/#findComment-1117 Share on other sites More sharing options...
[Má...] Posted August 26, 2021 Author Share Posted August 26, 2021 Thanks! Link to comment https://qualityforum.zeiss.com/topic/380-warm-up-state-check-with-script/#findComment-1126 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