07-03-2013 05:07 AM - edited 07-03-2013 05:07 AM
Hi Patrick,
Well, you can just add shift registers and a comparison function to check if the days are the same. The shift registers will transfer the "day" value to the next loop so that when the next loop occurs, that value will be compared with the current "day" value which was extracted on that next loop. This will compare the "day" values to see if the day is the same. If they are the same, you'll just continue to plot the graph (case structure will execute the true value condition code) else it will clear the graph first and insert the next day value.
Alternatively, you can use "Property Nodes" to clear the graph only when the days are different (i.e. clear the graph on the next day). I have attached the code which applies my statement. But take it as a reference. You might want to modify it from there.
Thank you
Warmest regards,
Lennard Chan
07-08-2013 11:22 PM
I've done the "restarting" part already. I used case structure for the loop so it sets the shift register to 0 everytime it loops a certain amount of time.
Thanks for all your help! greatly appreciated!
07-09-2013 12:32 AM
Hi Patrick,
Good to hear that. And you're welcome
Warmest regards,
Lennard C