LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto generate SoundFile

Solved!
Go to solution

huguerreiro wrote:

By now my only problem is that I don't want to stop the acquisition. I need to perform some eye analysis during the acquisition, and I can't see the waveform graph without recording it.


That's because you essentially have a loop inside of a loop. Your subVI has a while loop in it, and you're calling the subVI in a while loop in your main VI. As soon as your main VI calls your subVI it must wait until the subVI is finished before it can proceed to the next iteration. Remove the while loop from the subVI. 

 

You also only need one Stop button. 

 

Other problem:On the main VI the shift register is not wired on the left.

0 Kudos
Message 11 of 13
(681 Views)

I there!

 

I already had tried so many ways and I still cant reach a solution.

I want to be able to acquire sound and trigger is recording.

 

Can you help me?

 

 

Best Regards

Hugo Guerreiro

0 Kudos
Message 12 of 13
(647 Views)
Solution
Accepted by topic author huguerreiro
As I indicated, your subVI cannot have a loop, otherwise it blocks the main VI. If all you want to do is write to file while you are recording you don't really need a subVI to do this. Just place the write VI inside your loop, and your open/close outside, as shown in attached mod.
Message 13 of 13
(636 Views)