Anti-gravity Project Estimation with LabVIEW
Let’s do some estimation for an object time of flight between the time you toss it up at an initial position h0 (0<h0 <1m) and initial velocity v0, and when it hit the floor after reaching an highest point hmax <2.75m.
We want to design a VI that after we input h0 and v0, it’ll give us the following information:
1.- Whether v0 has exceeded the maximum possible value given h0
2.- If it has not, then provide the time of flight t.
The kinematics equations provided us with the following equations we need to tell LabVIEW:
In the following illustration I’ve used the “greater than” node instead of the “less than” node used in lecture this morning. The block diagram is identical except the two cases (True and False) are switched. As a check for your VI, check the following results against yours.
h0 (m) |
v0 (m/s) |
v0 exceeds limit |
t (s) |
0.5 |
6.0 |
False |
1.30 |
0.5 |
6.9 |
True |
0 |
0.8 |
6.0 |
False |
1.34 |
With this exercise, we’re introducing two new LabVIEW techniques: Case Structures and Formula Node, both can be found in the same submenu in the functions palette, and also some other things we haven’t used before: Numeric Constant, String Constant, and how to write a formula in the Formula Node (please don’t forget the semicolon at the end of the formula).
For a complete background on the issues, please read LVE chapter 6 and do the activities therein). Home work #5 is also about this.