CS320n - Assignment 7

You must download and run a LabVIEW program in this assignment and turn in a text file with answer to a few questions about the program. You can collaborate with other students, but each person must download the program, run it, and answer questions about it.

If you want to work at home you must obtain a version of LabVIEW. The book contains a CD with a limited use version. Alternatively you can obtain a copy of LabVIEW from the UT engineering department. Follow the link to this web page for more information on how to obtain LabVIEW for use outside the CS department lab. Please note the version available through the Engineering department is a newer version of LabVIEW and there have been significant changes in the user interface which may make it difficult to follow the examples from class and the slides.

Click here download the Moonlanding.vi program. You can also open this from the examples on your computer or in the lab.

Open the program in LabVIEW and run it. The run button is the white arrow in LabVIEW

Do not apply any power and let the lander crash.

(1). What is the speed when the lander stops?

Run the program again. Do not apply any power until altitude is about 4000 feet. Then apply full power.

(2) Does the lander ever reverse its descent? (Start going up because of a positive speed?) before crashing?

(3) What is the lander's speed when it crashes?

Be sure to reset power to 0 before restarting the program. Run the program again. Do not apply any power until altitude is about 5000 feet. Then apply full power.

(4) Does the lander ever reverse its descent? (Start going up because of a positive speed?) before crashing?

(5) What is the lander's speed when it crashes?

Open the block diagram for the program. Under the Window menu or by pressing control E. Double click on the time delay icon in the lower right corner.

(6) What is the time delay set to?

(7) What do you think should be changed in order to simulate landing on a planet or moon that has a larger force of gravity than the earth's moon?

Place the answers to this in a text file. The name of your world shall be your UTEID followed by a dash and a7. For example, my UTEID is scottmd3 so my world would be named scottmd3-a7.txt. Turn the file in via the Turnin program no later than 11 pm, Monday, April 13.