04-05-2024 04:40 AM
Actually, I was trying to create a LabView VI to capture audio signal from DAQ card analog inputs terminals and save it as a .WAV file and replay it in the computer speaker so that the MIC can be tested as working fine. And the VI need to be interactive, including controls as RECORD, STOP and ABORT.
04-05-2024 04:52 AM
Hi Vinayka,
@Vinayka wrote:
Actually, I was trying to create a LabView VI to capture audio signal from DAQ card analog inputs terminals and save it as a .WAV file and replay it in the computer speaker so that the MIC can be tested as working fine. And the VI need to be interactive, including controls as RECORD, STOP and ABORT.
And what is your question (or problem)?
04-07-2024 10:29 PM
Firstly, I am new to LabView programming, and I don't have good grip in the pellets that are used. So, I am not sure I can do it myself.
Below I have attached the LabView VI. Problem is that it has fixed time to record. In my application I need to record the audio continuously and save it as .WAV file.
When I press the RECORD button the recording must start and when I press STOP the audio should record till that point and be save as file at indicated file location.
I think you would help me.
Thanks,
Vinay Kumar Reddy
04-08-2024 12:56 AM
Hi vinay,
@Vinayka wrote:
Firstly, I am new to LabView programming, and I don't have good grip in the pellets that are used. So, I am not sure I can do it myself.
Below I have attached the LabView VI. Problem is that it has fixed time to record. In my application I need to record the audio continuously and save it as .WAV file.
When I press the RECORD button the recording must start and when I press STOP the audio should record till that point and be save as file at indicated file location.
There is a "Training resources" section on top of the LabVIEW board to help you to learn LabVIEW…
I still suggest to implement a simple small statemachine!
04-18-2024 01:15 AM
Hi GerdW,
Thanks for the advice, I followed your suggestion and implemented the state machine but then I encountered an issue.
In the present VI I am using 3 States as mentioned earlier. Now when I start the RECORD button the next two control buttons are grayed out and I cannot give any input using those controls.
Below is the latest VI.
Please have a look and revert if you get something.
Regards,
Vinay