DB(A) vs Frequency plot through NI9234

I am trying to make a plot of dB(A) vs. Frequency of an auditory signal. The DAQ picked for this application is NI9234. Using the help of this forum, I managed to get a display going of dB(A) over time. So far so good.
Where it gets murky (sorry for my lack of background in signal processing) is when I try to get into the frequency domain.
Do I wire the original signal (SPL vs. time) or converted dB(A) versus time into FFT/ Spectral analysis?
Once I apply FFT, it is my understanding that my X is frequency. What is my Y? is it dBm? How to I convert my graph so instead of displaying dBm it will display dBA?
I am acquiring at max rate, (51.2K). I understand that by FFT, I will reduce my frequency spectrum by half (quite ok). All I need is to be able to understand my Y axis better. And if possible, convert that to dBA scale.
Thanks,

Hi there, this is Paul with Applications Engineering at NI.
There are many ways to accomplish the bode plots that you are looking to achieve.
The first solution we offer is our Control and Simulation Module for Windows:  http://sine.ni.com/nips/cds/view/p/lang/en/nid/203826  which will offer you an out of the box solution for the types of measurements you are trying to do.
It is also possible to do it yourself in LabVIEW, since a bode plot is just performing some math and plotting a signal.  I am not an expert on doing this work in LabVIEW, but here are some ideas and pointers.
I would check this thread from 2 days ago out:  http://forums.ni.com/t5/Signal-Generators/how-to-make-bode-plots-in-Labview-7-1-without-using-Contro...
And I would also check this KB out:  http://www.ni.com/support/labview/toolkits/analysis/analy3.htm
Additionally, I think you need a better understanding of what these functions are doing, so you may need to pull some wiki articles on the ideas behind bode plots.
You can use our Context Help, and the Detailed Help within that to get a deeper understanding for what each function is doing.  For example, the following information is available in our help files uilt into LabVIEW:  http://zone.ni.com/reference/en-XX/help/371361G-01/lvanls/spectral_analysis_vis/
Try working some of those resources and see if you can make any progress.
Regards,
Paul Davidson
Sound and Vibration Software Staff Product Support Engineer
National Instruments

Similar Messages

  • I have two input data one frequency and other amplitude now I want plot amplitude versus frequency plot...Can I do it

    Please help to the earliest.....
    Solved!
    Go to Solution.

    And don't use the subject line for your question!

  • How to set the properties of plots in XY graph via VI Scripting

    Hi,
    Is there any way out to change the properties of XY graph plots through VI Scripting? 
    From main VI, I create an XY graph in another VI through VI scripting. I now want to change the Plot legend names, and their styles etc. I notice that these properties can be set up in the new VI (See screen shot Graph Property Node in NEW VI.jpg). However, I couldn't see these properties by calling the property node of XY graph reference in main VI (see screen shot ).
    Thanks for the due response.
    Regards
    HB
    Solved!
    Go to Solution.
    Attachments:
    Graph Property Node in NEW VI.jpg ‏1527 KB
    Graph properties in main VI.jpg ‏959 KB

    Hello HB,
    I see plot.names when I scroll down a bit further. No scripting required.
    Hope this helps.
    Uli
    Attachments:
    plot.names.png ‏74 KB

  • How to graph the counter frequency

    Hello, does anyone know how to make a graph from a frequency signal that comes from a counter?
    It seems that I first need to convert the frequency signal (scalar) into a waveform type.
    I do not know how do this. Any suggestions for me?
    As a basis I use the "Meas Dig Frequency-Low Freq 1 Ctr.vi" example from NI for the frequency measurement.
    Thanks,
    Peter

    Peter,
    I can't look at the example you mentioned from the PC I'm at now, but I can describe the way I've always done it.
    I'm assuming that the incoming frequency varies, and is calculated by timestamping the incoming edges. This would mean that the hardware is doing something like period measurement and the sample rate varies with the varying periods. Such data wouldn't be suitable for the waveform datatype which assumes a constant interval time dt.
    I would recommend graphing on an XY Graph. The Y data is your frequency array. The X (time) data is derived from it pretty simply. First send your frequency array through a 1/x function block to create an array of individual interval times. Then perform a cumulative sum of the interval array to produce a Time array for your X axis.
    The cumulative sum can be obtained with a For loop with a single shift register initialized to 0. Auto-index the loop with the interval array. Sum each element with the left-hand shift register value. Send the sum to both the right-hand shift register and to an auto-indexed output for cumulative time.
    -Kevin P.

  • Using iPod with high frequencies

    Hi there - I'm having treatment for tinnitus (high-pitched sound in the ear). There is a treatment where you listen to music interlaced with high frequency sounds which is supposed to stimulate the brain & the cilia inside the ear. They have CDs available but recommend not to use iPod. My question is, if you transferred the CDs using Apple Lossless would the high frequencies come through? Bear in mind some of these frequencies are up to around 14 KHz and there are all sorts of subtleties in the signal. One question is transferring it to the PC using Apple Lossless, the other question is playing it back on the 5G iPod. I'm also thinking of getting a Nano just for this - would it play it back OK? Thanks!
    MacBook Pro 15", 60 GB 5G iPod   Mac OS X (10.4.4)  
    14 iBook, 768 RAM, 60GB   Mac OS X (10.4.4)  

    This is only my personal opinion, which can be wrong.
    First, human can only listen to 20KHz most, thats why the CD's frequency response only cover in the range of 20-20KHz.
    For iPod - the apple mentioned the following
    iPod is designed to provide the best-quality sound. iPod has a powerful 60 mW amplifier so it can deliver audio as loud as you want. It also has a 20 Hz to 20 kHz frequency response, which means you can hear distortion-free music at the lowest or highest pitches. Even the iPod headphones are designed to give you the best-quality sound. The earbud-style headphones rely on Neodymium transducers, a rare earth magnet that significantly enhances frequency response and overall sound quality. Most other headphones use aluminum, cobalt, or ceramic drivers; at the same size, the Neodymium driver is five times as powerful. Because the strength of the driver increases the accuracy of the sound, the iPod headphones provide a high-energy listening experience while minimizing distortion.
    To ensure CD-quality sound, be sure to use a compression setting of 160 kbit/s (the default setting in iTunes) or higher when you "rip" tracks from your CD into MP3 format, or 128 kbit/s in MP4 format (AAC).
    Therefore, if you rip the music from a CD, it does not matter whether it is MP3, AAC or Apple Lossless, it will no reduce the frequency response, however, there is noticeable difference of sound quality from different format, of course with Apple Lossless format being the best, but much bigger size.

  • Frequency dependent switch

    I'm looking to build a frequency dependent impedance (by a frequency - impedance table).
    For now I got to the point where I have a frequency dependent Voltage Source. I tried to add a Voltage/Current Controlled SPST that would only switch on in a narrow frequency band. Parallel branches would lead to an approximation of the necessary frequency dependent impedance.
    I do notice that while excecuting the 'AC analysis' the switch does not switch at all. Is it possible to build a frequency dependent switch with the Voltage/Current Controlled SPST that works with the 'AC analysis'? Alternatives?

    Dhr,
    AC analysis linearizes the signal path (ie no switching, or nonlinear behavior whatsoever).  Try using a chirp signal and set F-0 and F-final (the switch should turn on through the chirp signal when the frequency goes through your band).
    Regards,
    Pat Noonan

  • Printing Blocks and Bands of Color

    Two PC's (2000 & XP), an Officejet 7310 and a TV are connected to a wired ethernet router. Both PC's have been configured to use this printer as their default. It's the only printer connected right now.
    This printer had no software disk when I found it. I got the latest drivers from the HP website in the form of "exe" files. The full featured driver failed to install properly on both PCs. I uninstalled that and installed the basic driver on the XP machine first, then on the 2000 PC. On the XP PC the installer failed to create a printer, and as I remember, never asked me any information about drivers or ports to use. I had to use the Add Printer Wizard to create a printer for it on the XP PC. The installer failed to create a printer on the 2000 PC also. The Add Printer Wizard could not find the printer until I marked the printer "shared" on the XP PC. Is that normal?
    NOTE: When I tried to install the "full featured" driver software on the 2000 PC there was a warning that my hardware was below the minimum "recommended" level, but according to the HP website, I am well above the "recommended" level. (It is Compaq Deskpro, PentiumIII, 375MB RAM, 2GB free space) No such warning appeared when I installed the "Basic" driver software.
    When I attempt to check ink levels with the HP Toolbox on both PC's I get the following error:
    "The computer is unable to establish two-way communication with the device."
    I uninstalled the printer on the Win2000 PC so that I could record my steps exactly, and I also marked it "Do not share" on the XP PC because this should work (on the 2000 PC) with the XP PC shut down.
    Please verify I did this properly: Here's how I recreated the printer in Windows 2000:
    Started "Add Printer Wizard" => Next => select "Network Printer" + Next => Next (to browse for a printer) => (none were found) Back => select "Connect to a printer on the Internet or on your Intranet" + enter URL "192.168.0.101" + Next => "Error: could not connect to the printer" + OK => Back => select "Local Printer" + Next => select "Create new port" + "Type: Local port" + Next => Enter port name: "Local TCP" + OK => Manufacturers: "HP" + Printers: "HP Officejet" + Next => (keep existing driver) Next => Printer name: "HP Officejet 7310 on Local TCPIP" + select "Yes" (default) + Next => (do not share) Next => (Yes - print test page) Next => Finish.
    No test page is printed.
    Then I opened the Properties for the new printer => select "Ports" tab => Add Port... => select "Standard TCP/IP Port" + New Port... => the "Add Standard TCP/IP Printer Port Wizard" opens => Next => enter IP address "192.168.0.101" + Port name: "Local TCPIP" + Next => (some info, eg. "Protocol: RAW, Port 9100", Adapter type: "Hewlett Packard Jet Direct" {somehow it knew this time}) Finish => Close (Printer Ports dialog) => (new port appears with box checked) Apply => (printer name appears beside new port) => select "General" tab => (features: Color: "No") select "Advanced" tab => Printing Defaults... (it's a very simplistic driver) => Advanced... => (no options to control color) Cancel => Cancel => (Driver: "HP Officejet") select "HP Officejet 7300 series" in driver drop-down list + Apply => Select "General" tab => (Features: Color: "Yes") Print Test Page => (the windows logo is printed in color, but the text below says "Color support: No") select "Advanced" tab => Printing Defaults... => (sophisticated driver appears) select "Color" tab => remove check from "Print in grayscale" + OK => select "General" tab => Print Test Page => (test page looks good, says I now have color support) OK.
    But still I get color blocks and bands on some pages when printing from Word, and I think on all AutoCAD plots when plotting through the system printer (which will have to be setup again in the Plotter Manager).
    I also still get the same error trying to check ink levels.
    What am I doing wrong? Shouldn't the installer have created the printer with all parameters properly set?

    HPPSdr.exe says "Everything checks out okay with your product."  The test page prints OK.
    I also found the HP Hardware Diagnostic Utility 4.1, and it says "We're sorry, but the HP Officejet 7300 series is not currently supported by this utility."
    The problem seems to be getting more prevalent and more extreme, sometimes printing solid black, off the edge of the page too, with some blocks of color mixed in.  This is occuring from two computers (Compaq and Dell) with different operating systems (2000 and XP) and different versions of Microsoft Word (2000 and 2003).
    What next?

  • Multiple signal types in one chart

    Hi there!
    I need some help to understand if it is possible to do what I intend to do using SignalExpress LE.
    The task is actually quite simple. I need to start a measurement of 2 analog, 2 digital and 1 frequency channels. The sampling speed is moderate, 5kHz. During logging I wish to be able to see the signals "live" and afterwards I want to compare signals and measure time between signal events in the graph.
    I tried with a simulated device (since I have not yet one), the USB-6211. This failed due to the model only being able to poll the frequency channel (I think so since I was not able to select continuous samples). Therefore I tested by simulating with USB-6341 and made this setup:
    Now I have some questions:
    Are the steps (on the left) performed in sequence or in parallel?
    Can I plot all signals in one graph so I can correlate them and zoom and measure all together?
    I wanted to log the signals but I couldn’t include the frequency channel (see the little dialog box). Shouldn’t that be possible?
    I’m also confused by the fact that the frequency plot has Volts on y-axis and not Hz.
    Do I really need HW timing on digital I/O to perform this “simple” task? Which means a more expensive HW…
    Many thanks for any input!
    Regards,
    Nicke
    Attachments:
    MyTest.jpg ‏563 KB
    MyTest.seproj ‏131 KB

    I've figured it out. Like everything to do with Illustrator's horrible ancient neglected graph tool, it's absurdly clumsy and involves tiptoeing around what is shamefully bad programming for an expensive professional product.
    It's all about timing - you have to do things in one rigid counter-intuitive order that appears to not be working then comes together at the end:
    Create the graph but, for now, keep it all the same graph type. If you've already set it to have different graph types, set them to be the same for now.
    Select the whole graph, and in Graph Types main window, set Value Axis to 'Both sides'
    In the drop-down there should be a Left and Right Axis (or top and bottom...). Set Value Axis settings for these now. It'll look like it only works for one axis, because the other axis won't change - bare with it...
    Select the data series you want to use the other axis using Group Selection. Go to Graph Type and set the Value Axis to the other one, and set the graph type to the one you want. It should suddenly all fall into place.
    If you need to edit one of the Value Axis settings, select the whole graph, set the whole graph to one graph type, edit the appropriate value axis by choosing it from the drop down, and the re-apply the graph types as above.
    (the bug is - you shouldn't need to set the graph object to have only one graph type in order to access the value axis options for the two seperate value axis)

  • How can I control VCXO or the NCO?

    hi,
    I am working on a HDTV receiver project. I did some PLL loop code in the FPGA to find the carrier frequency of the input signal. Then I want to use the control signal out of the FPGA to control the  VCXO. Can I do that? Is there a sample code for that? 
    The other choice is use this control voltage to control the NCO on ADC.  Can I do that? Is there a sample code for that?
    Guang CHEN
    University of Illinois at Urbana Champaign
    Message Edited by yakgg on 09-09-2007 01:11 PM

    Hi
    The module’s VCXO does not have a method of control from the FPGA.  The calibration data when running the module on internal calibration data is configured outside the access that is available when programming the FPGA.  The module’s PLL circuit is not accessible from the FPGA as well.
    For configuring the NCO frequency on the fly, I believe it is technically possible, but not easy.  There is no example at this time nor has it been attempted as far as I know.  I say this as the control of the NCO frequency passes through the ni5640R Template Config ADC (FPGA).vi in the Configuration Timed Loop in the LV FPGA VI.  The hard part is adding all the logic and required factors that is implemented in the ni5640R ADC Configure NCO.vi that runs on the Host and creates the actual data input that is written to the FPGA and on to the ni5640R Template Config ADC (FPGA).vi.
    Jerry

  • NI Oscilloscope Measurement Problem

    I have a very different problem regarding NI-5102 Oscilloscope Card
    Problem 1:
    This card is performing self test through the measurement & automation explorer. But through its driver program its showing failed. As there is self test vi in niscope.llb. It should return 0 for passed,
    but its returning 1.And also from front panel of this card, its working well.
    Problem 2:
    Through front Panel of Oscilloscope i am able to see all the wave and also measure frequency, But through program it not giving any value, may be some settings are necessary for this problem. So u see this problem or if possible, u send a simple vi program for measurement of frequency of any wave (TTL pulse, sine wave).
    Waiting for your response,
    J
    itendra :: mail me [email protected]

    Jitendra,
    When running the niScope SelfTest.vi, you usually receive a message indicating that the device passed the test and you should also receive a number 0 in the test result indicator. If the board is not passing the test, make sure that no other programs are using the same device (like MAX or the Scope Soft Front Panel). Adding an niScope Error Handler after the niScope Close will help us have more information of what is happening. With the error code, you can then visit ni.com and look for any Knowledge Bases that talk about this issue in particular.
    Regarding the second problem, there are some pretty good example programs on the web that show how to do frequency analysis using NI digitizers. I am including links to some of them. Hope this help
    s!
    Frequency Spectrum Analyzer for NI-SCOPE (NI 5911/NI 5112)
    Frequency Response (step response method)
    Annette Perez
    Applications Engineering
    National Instruments.

  • Mic Pops

    Hi,
    I took a recording of a live music perfomance, originally recorded on DAT and downloaded onto logic. It's a very good recording, but there are some microphone pops where the singer is accentuating his 'Ps'. Does anyone have any neat tricks that would help to reduce or eliminate these pops from the recording? It could be really helpful.
    Thanks,
    terry

    Hi Terry,
    One other suggestion I'll add in tandem with Yoink's, is by automating a low cut filter.
    Keep in mind, if it is a stereo recording, you're way more limited than if you had the vocal track separated.
    Because you said you took it from a DAT, which is a stereo recording device, I'll assume that this is indeed the case.
    Try automating a low cut filter. leave the filter set so that all frequencies come through. Then in automation, move the filter's slider up to a range where the low end is diminished. This will take the "Plosive" out of the vocal. usually somewhere around, or above 200 to 250 Hz will do the trick. I would highly suggest doing these automation moves with your mouse, with automation view enabled, so you can get it very precise.
    Keep in mind though, that the whole track will suffer from this filtering, so by using automation, you can really hone in on it only triggering on that millisecond or so that the plosive happened, and hope that it goes by so quickly, that it's not noticed in the overall sound.
    I recommend automating the filter frequency itself, over simply bypassing the plug-in with automation, because bypassing that type of plug-in, with the filter engaged, will cause "pops" when turned on and off. Surgical automation of the filter frequency level, will eliminate that.

  • Wireless signal problem

    I am having trouble with the wireless signal in my son's room. It is only about 20ft from the airport. Do some frequencies travel through walls better?

    Distance is not the issue here, but obstructions likely are.
    In general, 5 GHz singals are really only useful in the same room as the wireless router, or if you have line of sight between the wireless device and wireless router.
    2.4 GHz signals are much stronger, and penetrate walls and ceilings better, but unfortunately this band is very susceptible to wireless interference from other electronic devices, like cordless phones, BlueTooth devices, and other wireless networks in the area.
    How many walls between the AirPort Extreme and the center of the other room?
    How are the walls constructed?
    Do you know if the type of insulation used on the wallboard or fiberglass included metal foil?

  • Control a VFD via cDAQ 9178

    Hi!
    I want to control a Variable frequency driver through the cDAQ-9178.
    I got an analog input module NI 9201,analog output module NI 9263 and digital output module NI 9472.
    I have never connected analog modules and digital modules together and was wondering if anyone could help me. How do you connect a my VFD to these inputs and outputs?
    I have attached the connection diagram for my VFD
    I would like to add a knob to control the frequency via labview so i can increase/decrease the speed and also turn it ON/Off.
    I know this is possible solution, but I don't really know how to wire it up to my VFD.
    If I succeed with the wiring to my modules, could I then use DAQ- assistant in labview to wire a knob to it to change the speed for an example, or is there another way to do it?
    Best Regards - Maurlind!
    Attachments:
    Connection diagram.PNG ‏76 KB

    Hi!
    Could you take a look at my wiring, (se attached picture). I just want to make sure I'm doing this correctly before I'm plugging in and starts messing around with LabView.
    I don't know where to put T3 +10v reference output. 
    Should I connect B3 instead of B2 Vsup, (Voltage supply).  I don't know what "NC" stands for or what it does on the modules NI 9263 and NI 9201
    As far as I have understood, I can control the frequency from the VFD by making a DAQ assistant function via the analog outputs AO0 and AO1. 
    What does B1 do? It is Analog output (motor speed), if wired to AI0 can i monitor the speed then, like in a graph?
    Can I connect as i have done with T1 (0volt, ground) to the COM ports, from the same ground? (In reality just put a lot of cables in T1 and the connect to all of the corresponding COM ports? 
    With the analog output I control the motors frequecny, the speed. With Analog input I can get the motor speed information. With the digital output I can control the motor direction, start stop, enable the VFD and so on. This i have got right I think.
    Since I have never done this before I just want to be sure I'm doing this right, or if I have to change something.
    Best Regards Maurlind!
    Attachments:
    Connection sketch.png ‏114 KB

  • NI-5102 Oscilloscope Measurement Problem

    Hi,
    I have a very different problem regarding NI-5102 Oscilloscope Card.
    Problem 1:
    This card is performing self test through the measurement & automation explorer. But through its driver program its showing failed. As there is self test vi. It should return 0 for passed, but its returning 1.And also from front panel of this card, its working well.
    Problem 2:
    Through front Panel of Oscilloscope i am able to see all the wave and also measure frequency, But through program it not giving any value, may be some settings are necessary for this problem. So u see this problem or if possible, u send a simple vi program for
    measurement of frequency of any wave (TTL pulse, sine wave).
    Waiting for your response,
    Jiten
    dra ([email protected])

    When running the niScope SelfTest.vi, you usually receive a message indicating that the device passed the test and you should also receive a number 0 in the test result indicator. If the board is not passing the test, make sure that no other programs are using the same device (like MAX or the Scope Soft Front Panel). Adding an niScope Error Handler after the niScope Close will help us have more information of what is happening. With the error code, you can then visit ni.com and look for any Knowledge Bases that talk about this issue in particular.
    Regarding the second problem, there are some pretty good example programs on the web that show how to do frequency analysis using NI digitizers. I am including links to some of them. Hope this helps!
    ef="http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/7472892af9a5fd278625680...
    Frequency Response (step response method)

  • How to Setup Officejet 7310 in AutoCAD?

    I am trying to configure AutoCAD (on a Win2000 machine) to use this printer as a plotter on a "Local Port".  (the Postscript level choices were "Level 1", "Level 1 Plus", and "Level 2").  I get the following error:
    "The output to the device must be spooled through a system printer because of a conflict over an I/O port. The HDI hardwre configuration will not take effect. Some System printers could possibly mess up the output. To allow direct connection to the port, all system printers must be reconfigured not to use that port."
    Then it prints a bunch of gibberish which I think it is saying that my Postscript level is either too high or too low.  I have tried creating additional ports with Windows and plotting to the port where the secondary printer is connected. Same results.
    I was able to plot through the system printer and print a square. The problem here is that a very simplistic driver gets used with not much control over the output, and as the error message said, "Some System printers could possibly mess up the output".
    Is this printer or its driver not able to process Postscript?  If not, then what printer should I choose in the AutoCAD Plotter Manager?

    I am pretty certain that I specified AutoCAD to use Postscript level 2 for my last printer: L7680 connected by USB. My search results imply that neither the 7310 or the L7680 are Postscript capable, but I could not find anything difinitive on the HP website. Could someone tell me difinitively if these and the Officejet 7130 (needing repair) which I have also used with AutoCAD are capable of Postscript?
    If not, then the drivers for the 7130 and L7680 must have done the translation.  Is this just a problem in how the 7310 is configured?  See my other thread: Printing Blocks and Bands of Color.
    The AutoCAD support site says that HP supplies drivers for AutoCAD, but I could not find any. Can you post a link?

Maybe you are looking for