Virus scan in progress. Please wait to download attachments.
This is the code that was used to play Half Life (the flash version) with real guns shooting into a piece of drywall.
The accelerometers will take in vibration data to triangulate the location of a hit on the wall. This program uses linearized math for simplicity, and ease of use, and therefore has some inherent offset error. We used a USB-4432 and 4 accelerometers in a square pattern on the wall. The VI's are saved in LabVIEW version 8.6.The math behind all this is available at http://decibel.ni.com/content/docs/DOC-6126
LabVIEW 2012 or compatible
Steps to Implement or Execute Code
1.Download and set up all VI's
2.Set all configuration settings desired with your hardware
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Doug Farrell Solutions Marketing - Automotive National Instruments