LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire Sound VI causes crash

I'm looking to use a microphone to take some sound data in LabVIEW, so I thought I would play around with the program. However, any time I try placing the "Acquire Sound' VI in the program, it immediately freezes, and causes LabVIEW to crash. Any suggestions? I appreciate the help, sorry I'm having so many problems. Smiley Sad

I'm using LabVIEW 8.0 on a Dell Latitude laptop.
0 Kudos
Message 1 of 11
(4,507 Views)
Okay....so I just discovered that the control window does pop-up, after about 10 minutes of being 'frozen' for whatever reason. So I guess it's okay, but I guess my question is now if there is a reason it has this long pause, and if I can adjust labVIEW so it does not do this? Thanks again.
0 Kudos
Message 2 of 11
(4,498 Views)
Do you notice anything odd about the dialog once it does come up? Does it detect your sound card(s) properly? Do other programs detect your sound card(s) properly?

If you try dropping another sound VI before the Acquire Sound Express VI, do you notice the same delay?
0 Kudos
Message 3 of 11
(4,487 Views)
I have actually gotten it to work, but anytime I want to open the VI setup program I have to wait an incredibly long time before it comes up. I don't have any other sound VIs to try that I can find, with the way things are currently set up. I'm just trying to take measurements with a cheap computer mic, through the computer's mic input jack.
0 Kudos
Message 4 of 11
(4,476 Views)
I was referring to the other VIs in the Sound palette (next to the Acquire Sound express VI you're using). If you launch LabVIEW and then try to drop one of those other VIs onto a block diagram, do you notice the same delay, or is it just the express VIs?
0 Kudos
Message 5 of 11
(4,470 Views)
No other VIs have the delay problem, only 'Acquire Sound".
0 Kudos
Message 6 of 11
(4,470 Views)
Try launching LabVIEW, opening vi.lib\sound2\lvsound2.llb\Sound Device Info.vi, set "isInput?" to true, and run the VI. Does that also show a delay, and if so, does the delay occur while loading the VI or when running it?

It may be that your computer is taking a long time to load the DirectX library.


0 Kudos
Message 7 of 11
(4,459 Views)
I ran the 'Sound Device Info.vi', and it shows no delay. Everything seems to run fine. I suppose that means that my computer takes a long time to load DirectX?
0 Kudos
Message 8 of 11
(4,443 Views)
But was there a delay when you were opening the VI? In other words, right after launching LabVIEW if you open a VI like Sound Device Info.vi does it take an abnormal amount of time to load that VI? If it does then DirectX may be acting up, but if it doesn't then it could be something wrong with the express VI's configuration dialog. I'm trying to figure out how I could reproduce this, but I can't think of anything. Any additional information you can think of could be useful.

Thanks.
0 Kudos
Message 9 of 11
(4,429 Views)
Yes, the delay occurs when I open up the VI.
0 Kudos
Message 10 of 11
(4,358 Views)