08-20-2025 08:03 AM
Which way would you recommend? Show me the step-by-step process? Would it be using Write To Measurement?
08-20-2025 08:09 AM
Hi Felipe,
@Felipe_Alves17 wrote:
Which way would you recommend?
We told you here, here, here, here, here to save inside the loop.
You even noticed this suggestion before…
08-20-2025 08:26 AM
I put it inside the loop and it gave this error
08-20-2025 08:52 AM
You probably want to close it after the loop, right?
08-20-2025 09:14 AM
I already have a while loop running in my program, and it can't be interrupted. Within this same loop, I need to implement the hourmeter logic.
The goal is that, every time the pump is turned on, the system records the time it was on and increments that value to the total accumulated until the pump stops.
The problem I'm facing is that, because of the way the while loop is already structured, a conflict is occurring when trying to read and write this hourmeter logic within the same loop
08-20-2025 10:06 AM
08-20-2025 11:12 AM
I believe the image is disorganized, I apologize, here is the image
08-20-2025 12:40 PM
@Felipe_Alves17 wrote:
I believe the image is disorganized, I apologize, here is the image
Still disorganized and you still close the file reference in the first iteration, making it invalid for the rest of the run.
08-20-2025 12:48 PM
Did this image look better?
08-20-2025 01:11 PM - edited 08-20-2025 01:14 PM
Hi Felipe,
@Felipe_Alves17 wrote:
Did this image look better?
Nope, still backward wires!!!
See this as a suggestion: