Hi,
I am trying to get the timer to reset to zero at a specific time, I am using a gateway script schedule to change a tag called reset to value 1 which is resetting a counter but I cant figure out how to get this to zero the timer value?
What timer ? You need to be a bit more accurate, we don't know your system and we can't just guess what you're talking about.
That said, it seems like you want a tag change to trigger something. There are 2 different kind of tag change scripts: On the tag itself, or in the gateway events. You can use one of those (probably the gateway event in your case) to script whatever you want.
Sorry, I am using the timer in vision and I want it to reset the value on the timer property to 0 when the reset tag = 1, I am using the gateway event to set the reset tag value to 1 but don't know how to link this across to a property to set the timer value to 0.
Hope that makes more sense
Create a custom property on the timer component and bind that reset tag to it. Then use a propertyChange event to monitor the custom property and perform the reset.
once I have the property made on the root container called reset and assigned to the reset tag to it, how do I go about scripting on the timer for the set value to 0 sorry?