Download User Manual

Transcript
197
SpecView User Manual
·
Assigning a value as an action following a strategy event
It is sometimes more convenient to use a count up rather than count down timer and this can be made using the
Strategy Controller:
1.
Define two SpecView time User Variables; name one "Timer" and the other "Time 1s". Give the "Time 1s"
variable a default value of 1 second.
2.
Add a Value Based event called "Every Second". The "value to watch" is SpecView.Time and the "Test to
Perform" is Changed by the Set Value of 00:00:00
3.
Add an action called "Count Up". Use "Parameters: Math function": COPY FROM SpecView.timer ADD
SpecView.time1s COPY TO SpecView.timer
The event occurs every second, and one second (which is the value of SpecView.time1s) is added to the value of
SpecView.timer.
The Strategy Controller boxes for this example are shown below
Event:
Action:
A similar example would be to watch a specific function in an instrument and count the number of times it occurs.
If it is desired to only have the time count at certain times (make it function like a stopwatch) the add the boolean
function to the event as shown below:
Copyright SpecView 1994 - 2007