LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SI Wave Sound VI Randomly Causes Errors When Set up for Mac OS X

Modified Sound Card Simple Spectrum Analyzer (example) to work on Mac OSX. The sound quality was set to stereo, sampling to 44100Hz, sample bits to 16 bit. The Stereo, 16 bit output if the SI Wave VI was routed (via some minor array minipulation) to the Scaled Time Domain Window VI. RESULTS: Running the Modified Sound Card Simple Spectrum Analyzer VI multiple times produces an Error from the SI Wave VI on the second or third run. After that Errors are detected after every run.

Adding a while loop removing the error dialog VI connected to the SI Wave VI prevents from getting constant error messages, but the results from the spectrum analyzer is very jumpy.

Is there any way to stop the error from occuring?
0 Kudos
Message 1 of 3
(2,537 Views)
I have run into problems with the sound VIs on the Mac. I usually play around with the settings until I get it to work. For your VI I needed to increase the Number of Samples. 16384 works as does 100000. I did not experimetn to find the limits.

Lynn
Message 2 of 3
(2,534 Views)
Lynn- That appeared to do it. I will do some experimenting to see what is optimum. Thanks!
0 Kudos
Message 3 of 3
(2,528 Views)