LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DTMF

Solved!
Go to solution

I want help in making a program like the one in the picture when I press the buttons, the sound comes out through a function Play Waveform

0 Kudos
Message 1 of 4
(1,811 Views)

Hi odey,

 


@odey12 wrote:

I want help in making a program like the one in the picture


It's not a "program" in your image, but some buttons of a telephone (?)…

 

Which help do you need?

Do you need to learn LabVIEW? (See the "Training resources" offered at the top of the LabVIEW board!)

Do you need help to know the frequencies for each button? (I guess you will find information on that on Wikipedia and books on that topic…)

 

What have you tried?

Where are you stuck?

Mind to attach your VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,799 Views)
Solution
Accepted by topic author odey12
  • Obviously, you've been to the Wikipedia page on DTMF signaling, because that's where you grabbed your image. 😄
  • Since you posted in the LabVIEW forum, we can assume that you want to write a simulation in LabVIEW that has virtual buttons on the front panel resembling your image and that outputs sound as a function of which button gets pressed.
  • Were you able to create that front panel? Did you decide on datatypes (cluster of buttons? Radiobutton control? Bunch of loose buttons? etc.). Did you decide on a suitable mechanical action?
  • There are many suitable functions to output sound so don't limit yourself to "play waveform".
  • How far did you get creating code? How do you handle button presses? How do you generate the frequencies? How do you send them to your sound device?
  • How familiar are your with LabVIEW? Our advice will strongly depend on your LabVIEW skills. Have you done the tutorials listed on the top of the forum? Is this homework or a school project?

If you are relatively unfamiliar with LabVIEW, I would recommend to start simple. First create a program that has one button and that outputs one simple frequency when it is pressed. Once you get that working, expand it for multiple buttons and multiple frequencies. You also need to decide on the sound duration (fixed? As long as the button is held down?, etc.)

 

See how far you get and come back with specific questions when you get stuck. Good luck!

0 Kudos
Message 3 of 4
(1,772 Views)

@altenbach wrote:
  • Obviously, you've been to the Wikipedia page on DTMF signaling, because that's where you grabbed your image. 😄
  • Since you posted in the LabVIEW forum, we can assume that you want to write a simulation in LabVIEW that has virtual buttons on the front panel resembling your image and that outputs sound as a function of which button gets pressed.
  • Were you able to create that front panel? Did you decide on datatypes (cluster of buttons? Radiobutton control? Bunch of loose buttons? etc.). Did you decide on a suitable mechanical action?
  • There are many suitable functions to output sound so don't limit yourself to "play waveform".
  • How far did you get creating code? How do you handle button presses? How do you generate the frequencies? How do you send them to your sound device?
  • How familiar are your with LabVIEW? Our advice will strongly depend on your LabVIEW skills. Have you done the tutorials listed on the top of the forum? Is this homework or a school project?

If you are relatively unfamiliar with LabVIEW, I would recommend to start simple. First create a program that has one button and that outputs one simple frequency when it is pressed. Once you get that working, expand it for multiple buttons and multiple frequencies. You also need to decide on the sound duration (fixed? As long as the button is held down?, etc.)

 

See how far you get and come back with specific questions when you get stuck. Good luck!


Surprisingly, breaking a problem down to its purest, simplest form seems to be more of an art form than common sense.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(1,660 Views)