Search

Personal tools

From MdsWiki

Data versioning is an optional feature in MDSplus trees. When "versioning" is enabled in a tree instance, data stored in a node does not overwrite any existing data in that node. Instead the previous data is retained. By default, accessing the data in the node will return the newest data stored in that node. To retrieve the older data you can use the TCL "SET VIEW datetime" command which will cause all data retrieved to reflect the values that were in place at that particular date and time. Versioning can be enable in the model, in the pulse, or both. The following example illustrates how one might use versioning in a tree: