Thinking about sumations

[quote=“Colby.Clegg”]One thing you can do is to set the group to be “bi-dir, db wins”. Then you no longer need to specify reset conditions on each tag- instead, when you insert the row with default values, the 0 that goes into the db will be written to the tag, resetting it.

In regards to setting up hourmeters, unfortunately I think you’ll have to do this on each item. It may be possible to export to XML and search & replace. The hourmeter condition is defined under the element “ITEM_EXEC_FLAGS”, and has the value of 1. If you export a group with an hour meter, you’ll see what I mean. Since this field is a bit-flag field, you may not have exactly 1, but the 0th bit should be high. Here are all of the item exec flags:

FLAG_HOURMETER = 1; FLAG_EVENTMETER = 2; FLAG_RETENTIVE = 4; FLAG_ON_ZERO = 8; FLAG_RESET_METER_ENABLED = 16;

Regards,[/quote]

My default values are NULL… It doesn’t seem to work like this for me and it won’t let me write to a SQL tag on handshaking, only group items it looks like.
I have retentive checked and the only way I can reset the items with the creation of a new db row is to force my tag on and then off (if i want to repeat)