Jump to content

galentheengineer

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by galentheengineer

  1. I've been asked by my professor to create a VI that takes a .wav file and performs short-time Fourier transform on it.

    Here is the link to the VI.

     

    http://puu.sh/l8jLp/4cd3dcddb5.png

    http://puu.sh/l8kc7/14634e764e.png

     

    One issue is that I have two power spectrums because there is no power spectrum displayed from the Auto Power Spectrum VI (I do not know what went wrong there) so I created Power Spectrum 2, which did display the power spectrum.

     

    The next task for me is to perform some spectral analysis using the power spectrum and the spectrogram. Since the power spectrum displays sharp amplitude peaks, the professor wants me to create a histogram with frequency bins to hopefully create a smoother curve to actually see at which frequencies those peaks occur (for example, he told me to sum up all the amplitudes for a range of let's say 0-10 Hz, and then for 10-20 Hz, etc). Would you have any suggestion on how I can sum up the amplitude values on LabVIEW for a certain range?

    For the spectrogram, the professor mentioned that it is actually a 3D representation of the sound file, with color measuring the amplitude of the signal. However, the spectrogram on the front panel is only displayed in 2D with frequency and time as the axes. How can I extract let's say the amplitude values for a certain frequency in that spectrogram? Can LabVIEW do this?

     

    Thanks all!


    Here is an example of the .wav file. Notice that when it's run, nothing displays on the Power Spectrum even though the VI has no errors.

    Normal vesicular.wav

  2. This is why I do my development with the native Mac LabVIEW rather than run in any sort of virtual machine. If for some reason I really want Windows LabVIEW -- generally because I'm drawing a UI with system controls and I want to see how it looks on Windows -- I remote desktop into my work machine. But when I'm developing on my laptop, I just use the Mac version. Avoids all of these weirdnesses. 

    Where did you download the mac version? i can't seem to find the actual download page on the NI site.

    • Like 1
  3. I am setting up the virtual machine right now and I am new to it. VirtualBox gave me several 'hard disk file type' options (virtual box disk image, virtual machine disk, virtual hard disk, parallels hard disk, QEMU enhanced disk, or QCOW - QEMU Copy-on-Write). Then I had the option to choose a dynamically allocated hard disk file (will only use space on my physical hard disk file as it fills up, up to a maximum fixed size, and it will not shrink automatically when space on it is freed) or a fixed size hard disk file (which may take longer to create on some systems but is faster to use).

     

    I am only using the virtual machine for the purpose of using LabVIEW on Windows and not much more than that. Which of the above options should I choose? In addition, how much memory (RAM) should I allocate to the virtual machine?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.