Hello,
I am new to LabVIEW-programming and trying to make a project with the myDAQ. I would be happy to get help from the community here for the following issue:
I have a simple *.txt-file where is one row with voltage-values. In fact this are values from a audio-file with the following properties:
Number of entrys: 3306
Recorded at sample-rate: 44,1 kHz
(So the calculated time duration of the audio-file is (1/44100)*3306=74,966 ms)
Now I want to play this audio-file over an Analog-output where the sequence of 74,966 ms is running again and again without a pause between the loops. My Idea now was, to make a timed loop with exactly 74,966 ms and write with the DAQmx exactly these 3306 samples within this time-span to the analog output. If I run it, I can see that the loop-time is longer (Around 140 ms) and if I listen to the audio, of course there are brakes between the loops....
I am sure my structure is inefficient because of reading the file, configuring the DAQmx task and probably my programm structure is not suitable for this problem.
Can someone tell me how I can make a proper structure for this problem? (Later, I want to read in different audio-files which have different length and modulate them with the "arbitrary waveform generator" in frequency and amplitude.
But first I would be happy to get this basics done...
Thank you very much!