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.
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.
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?
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.
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?
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.
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?
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.