Product specifications

Instrumentation Laboratory Exercise 48
The period is defined as the time from one upward going transition
(or crossing) of the UT to the next upward going transition. The
waveform array is fed into the left side of the Array Stats formula box,
and the UT value exit from the right of the second formula Threshold
Limit box. The time from one upward going crossing to the next is one
period. Use the following steps to create the formula box:
1 Go to Device > Formula.
2 Right click on the box, go to Properties, go to Properties grid and
rename the title to Array Stats and Threshold Limit.
3 To create or delete terminal, right click the Formula box and go to
Add Terminal or Delete Terminal.
4 To rename the terminal, double click the terminal and change
the name at the Output Terminal Information window.
(Notice that we could also use two downwards going crossings and
get the same period, but you can not use an upward going crossing
and a downward going transition as this does not measure a full 1/8
rotation).
To calculate the period, you need to create two User Objects (Under
the Device menu). They will each require additional Inputs and Outputs
which are created by right- clicking the left and right side bars
respectively. In the first User Object place a For Range counter (Flow >
Repeat > For Range). Set it up to count from 0 to 990.
Next place an If/Then/Else box (in the Flow menu) and an Exit
UserObject box (from Flow menu). Wire it as shown with the array
fed into A and the UT fed into B. The For Range is a counter
stepping through the array one element at a time. The conditional
If/Then is checking for a transition. If a transition is encountered (for
example, array element B is less than the UT and array element B+1
is greater than UT) then the user object will exit, and the index of
the transition, B, is fed out of the object.