Conditional Function Status Update


Please check this image.
In Intialization it is self.run_loop_count = 0
But in status it is self.loop_count. It was giving some error due to this mismatch. I am not a software guy so I dont know your technical language. But after this change all errors are gone and everything is working fine

It’s all example code anyway, just delete it all. It’s not needed to run, just to demonstrate how the different code sections operate.

1 Like

Sorry for this but I am a newbee so I thought it is an error

No problem. I should probably add to the comments that it should be deleted and replaced with your own code. Generally, you don’t want extraneous code running in a production system, since you’re just adding more points that need to be maintained and could fail. I’ll also fix the variable name.

1 Like