Developing Test Programs

Develop a test program by customizing TestStand sequence templates or C# examples the Audio and Acoustics Test Software provides.

Customizing a TestStand Sequence Template

You can customize a TestStand sequence template with the LabVIEW VIs to meet your test needs.

  • TestStand sequence templates: C:\Users\Public\Documents\National Instruments\Audio and Acoustics\Examples\TestStand 2019 (64-bit)\Mic and Speaker seq
  • LabVIEW VIs: C:\Program Files\National Instruments\LabVIEW version\vi.lib\addons\Audio and Acoustics

NI recommends that you save a copy of the original sequence template file before customizing a sequence template.

Customizing a C# Example

Introduced in Audio and Acoustics Test Software 23.3

  1. In Microsoft Visual Studio, open AudioAcousticExamples.sln in the C:\Users\Public\Documents\National Instruments\Audio and Acoustics\Examples\DotNET directory.
  2. Select an example project in the Solution Explorer window.
  3. Click Program.cs under the example project you selected.
  4. Configure parameters related to your devices in Program.cs.
  5. Enter any code into Program.cs based on your test needs.
  6. Build the project and then run the .exe file that is automatically generated.