Example Code

DTMF Tone Decoder

Code and Documents



This VI uses the Line encoder VI as a Sub-VI and decodes the DTMF tone to produce the output


Following VI decodes the DTMF tone that is input through the mic input of the PC

Steps to Implement or Execute Code

  1. VI takes the DTMF tone as input through the microphone of the PC
  2. Run the VI continuously and using your phone give the DTMF tone input
  3. VI decodes the input


Software: LabVIEW 2011 or higher version

Hardware: DTMF tone source (May be keypad of mobile)

Additional Images or Video

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