Install the Sound and Vibration Toolkit for your version of LabVIEW.
In the LabVIEW Getting Started Window, Click 'Create Project', Select the Single-Plane Balancing (NI-DAQmx) sample project, and complete the wizard steps to generate your own instance.
Doug
NI Sound and Vibration