O
I would like to change a memory variable initial value, I used the following statement.
Sub ChangeWellValue()
Set Well1 = gTagDb.GetTag("TP_pump\Well1")
Well1.InitialValue = Well1.Value
End Sub
When the RSView32 is in Runtime, the initial values of variables memory is 0. I set a 7, and the initial value was changed to 7, but the variables in the database, the initial value is not changed at the next re-running and the initial value of variable memory is still 0. I would like to ask how can I storge the changed variables initialvalue at the next re-running time?
Sub ChangeWellValue()
Set Well1 = gTagDb.GetTag("TP_pump\Well1")
Well1.InitialValue = Well1.Value
End Sub
When the RSView32 is in Runtime, the initial values of variables memory is 0. I set a 7, and the initial value was changed to 7, but the variables in the database, the initial value is not changed at the next re-running and the initial value of variable memory is still 0. I would like to ask how can I storge the changed variables initialvalue at the next re-running time?