Description
The current measurement sequence number
-
Property type
-
A Long value.
retval
-
Syntax
-
object.MeasurementSequence([IncrementSequence])
The MeasurementSequence Property syntax has these parts: |
| object | An expression evaluating to an object of type McEngine. | | IncrementSequence | Optional. A Boolean value. If given and TRUE, the sequence number is incremented by one, after returning the current value. The default is to not increment the value.
| Remarks
The MeasurementSequence property exposes a globally maintained sequence number that can be used to determine if you have the most recently computed Value of a measurement.
Notes
No notifications are sent when this property changes.
As illustrated in the example, you can often capture the ValueSequence number of a single measurement that you are interested in rather than capturing the Engine.MeasurementSequence property. However, if you are making a whole group of measurements, it is generally easier and faster to just capture the MeasurementSequence property after accessing the Value property of all measurements of interest. This sequence will always be greater than the ValueSequence of any of your measurements, so it is always a valid test value to see if some measurement is later recomputed.
|