Hello AshleyParr,
Sorry for the confusion, i apologize for that
I don't mess with the totalflow meters alot, we have a group that does this
i sent you a message also but wanted to post here as well.
thank you for the scripting, I will give this a shot. so I would put all this scripting in a data change script in Wonderware?
also
I may try to get this totalflow ran into a PLC input
then
I can use the first code you posted
but i had a question on line 2 of this script
FlowIncrement = FlowRate/60
FlowTotal = FlowTotal+FlowIncrement
I understand the first line is taking the totalflow rate/60, gets this total into hours.
but
What are you referring to as "Flowtotal" on line 2 of the script (flowtotal + flowincrement)
after us talking I think the simplest solution would be for me to try to get this totalflow meter ran into a PLC input. so i can use the first code you gave me.
again i appreciate your help & patience with me on this issue. if you dont mind please could you explain the script above, just so i fully i understand
thanks