Example Code

Text to speech data warning

Code and Documents

Attachment

Overview

Simple VI to show how voice notifications might be used in a data acquisition program.

Description

This VI makes use of the windows speech synthesizer (through the system speech dll) to give a warning message when appropriate. In this simplified case, a sine wave is generated and the amplitude is controllable. If the amplitude is raised above the controllable amplitude limit, the speech synthesizer will output "warning" until this ceases to be the case.

Steps to Implement or Execute Code


  1. Run Code
  2. Increase amplitude above limit
  3. Observe "warning speech ouput"

Requirements

Software

Labview 2013

Hardware

Vi Snippit

warning snippet.png


Additional Images or Video


warning.png


Matt H
Applications Engineer
National Instruments UK

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors