LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know why I can't make attached vi work ?

Does anyone know why I can't make attached .vi work ?
 
Im trying to record a sound (via microphone from my soundcard) as a .wav file?
 
I want to use the time as a input parameter, to define how long the recording shall be.
 
many thanks
 
Ulrik
 
  
0 Kudos
Message 1 of 5
(2,810 Views)
whats the problem?

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 2 of 5
(2,798 Views)
The problem are, that the wav file created, is almost empty.
(Like if the recording has stoped to early).
 
Somehow it dont continue to sample for the time I specify in the "delay"
 
0 Kudos
Message 3 of 5
(2,796 Views)

uf

Try to build the output of the 'SI Read.vi' in the while loop and then write it as you have done. In the current way only the data from the last iteration will be written.

BR
0 Kudos
Message 4 of 5
(2,787 Views)

Thanks

That solved the recording time problem.

 

Now I just have to find out why my recordings are empty, but I guess that might be a hardware problem 😉

 

Ulrik

0 Kudos
Message 5 of 5
(2,777 Views)