02-04-2016 05:48 AM
all_ok wrote: If I am not wrong in understanding this, when a timeout occurs, the event structure will be skipped and nothing will be appended to the spreadsheet and the code will go back to monitoring the power supply.
As was already stated, the event structure is not skipped on a timeout. The timeout itself is an event and therefore the timeout event case will run. So when this happens, you are essentially telling the Write To Spreadsheet File to write an empty array to the file. That is a lot of work to do nothing. That is why I told you to move that function into your value change event case. That way the file will only be written to when that event case is executed.
02-04-2016 10:54 AM
Thank you everybody for helping me out.
02-04-2016 05:36 PM
... and me too. Much appreciated.