Jump to content

Warm-up state check with script


---
 Share

Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Link to comment
Share on other sites

 Share

×
×
  • Create New...