12-30-2021 07:13 AM
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
Solved! Go to Solution.
12-30-2021 07:42 AM
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?
12-30-2021 10:28 AM
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!
01-03-2022 07:31 AM
@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.