Configuring the reference power (dB) in the Spectral Measurement express VI

What is the reference power (dB) or pressure in obtaining the dB FFT response from the Spectral Measurement express VI? We need to obtain the SPL of a cellphone speaker and SPL is measured when the reference pressure/power is 20uPa or 1pW.... The data result is in negative dB but we need to have a positive result. Im thinking that maybe the reference is at 1mW.. 

You can convert Express VIs to regular subVIs. Then open the block diagram and look at what they have done.
In this case when you get six levels down into subVIs you find one called ma_Convert to dB.vi. It has inputs for dB reference for ch X and ch Y. The default values are 1.00. These inputs are not wired in the SubVIs of the Express VI.
To change the reference FIRST Make a Copy if the converted Express VI with a new name. Put it into your project, not in vi.lib. Similarly, make copies with new names of any subVIs you need to change. Then make the changes you need on these copies. Document those changes so anyone looking at the code knows why the standard Express VI was not used and what the differences are. Put the changed VI in your main VI and get the SPL values.
Lynn

Similar Messages

  • What's the unit label of y-axis of PSD when using Spectral Measurement Express VI?

    Hi:
     What's the unit label of y-axis of PSD when using Spectral Measurement Express VI?
    Selected Measurement : Power spectral density
    Result : dB
    No Averaging..
    Is dB/Hz the magnitude label of PSD output? Thx!

    There could be an issue the the Express VI converting your waveform data into the dreaded Dynamic Data Type, which is just causing more and more memory to be used.
    So what I would recommend is use the DAQmx Configure Logging  VI to configure DAQmx to stream the data as you read straight to a TDMS file.  There are various other properties you can set to make the logging go across files.  You just set up the logging before running your task.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

  • How does the window selected on the spectral measurements express vi affect the output?

    I'm using the spectral measurements express vi to find the power spectral density of a fairly broadband signal. I've already discovered a bug in the express vi; it doesn't divide the power spectrum by the equivalent noise bandwith for the window as it should. However, even after taking this into account by using the scaled time window vi to divide this factor out, the PSD is still changing with the window. How can I get the PSD to be constant with varying windows??

    I would like you to prove the "bug" that you're describing by creating an example that shows the calculated and the expected results. By opening the code of the "Spectral Measurements" Express VI you can dig into the heart of the calculation, and there (in the "ma_FFT Power Spectrum and PS Density no State.vi") you will see that the Power Spectral Density indeed IS calculated by using the formula PSD = (Power Spectrum/(df*Noise Power BW of Window)). See the attached PSD.jpg that shows where the calculation happens.
    The Power Spectral Density is supposed to be dependant of the chosen Window. Please read chapter 5 "Smoothing Windows" in the "La
    bVIEW Analysis Consepts" manual.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    PSD.JPG ‏139 KB

  • Powermanager 1.60 has removed the abilty to show the current power consumption in the tray.

    Hi,
    well the topic says it. Powermanager 1.60 has removed the abilty to show the current power consumption in the tray.
    I realy frustrated right now, why the heck did they remove this nice feature?
    And this new energy slider is just trash. If i change back to advanced mode, i cant see my current power consumption. Nor in the main battery tab. The field "Current Power" is just blank. And the option in the tray vanished.
    What the **bleep** are these guys doing. There was a time i fought this powermanger is the best software ibm/lenovo ever produced, but since the change of the ui, and removing important features. Its unbeliveable.
    Especialy if you are on windows xp, this looks like **bleep**, and this "new" gauge desgin, flickers and stops my mouse on hower over the new "Design".
    a frustrated,
    R61 user.

    you should try uninstalling & re install it http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70602
    Message Edited by GMAC-R60 on 08-08-2009 12:38 PM
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • Can I use the Ipad3 power adapter for the Iphone5

    Can I use the Ipad3 power adapter for the Iphone5 or vice versa?

    No more than usual...
    A quick search will yield the number of times this comes up.
    I have been charging my 4s with mu iPad 2 charger since new

  • What are the DC power limitations for the ipad.

    What are the DC power limitations for the ipad in a car or airplane.  Can I use and recharge the ipad in a car or airplane with a 28 VDC power system?

    The iPad charger produces 5V and 1000 mW. You would need an convertor accessory which is compatible with the iPad charging system and produces these output levels

  • The DELETE statement conflicted with the REFERENCE constraint "FK_Equipment_Assets". The conflict occurred in database "WorkOrderSystem", table "dbo.Equipment", column 'AssetCode'........can someone give me a solution for this Error.

    The DELETE statement conflicted with the REFERENCE constraint "FK_Equipment_Assets". The conflict occurred in database "WorkOrderSystem", table "dbo.Equipment", column 'AssetCode'

    ya that's true row is referenced by another table.....but i want the row to referred by another table ,I don't know how to fix it
    Actually this is not a C# issue. It is a T-SQl issue.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=transactsql
    The above link should be posted.
    Per my understanding, first you should
    delete the record from the Foreign Table and then after you have to delete the record from the Primary Key table
    Hope it helps you.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I use the old power supply with the new unit?

    I have a second generation Apple TV. When I install the new unit next week can I use the old power supply with the new one and the new power supply with the old one? This would save some messing with cords behind the units.

    Hello:
    I would definitely not try that.....  The power supplies may be compatible - or may not be compatible.  I think messing with cables is a small price to pay for not potentially frying a new device.
    Barry

  • HT3964 how do I unplug the round power cord from the back of my IMac?

    how do i unplug the round power cord from the back of my IMac?

    Switch off the mains
    For extra safty take the plug out of mains
    Remove the powercord perpendicular to the iMac.
    Moderate constant force
    Don't use tools as correctly mentioned by seventy one
    Best Wishes,
    AK

  • Does the new time capsule have the same power issues as the old one?

    I loved the idea of having my wi-fi and back-up all in one unit so I slashed out on a 2TB Time Capsule in February 2013.  Over the last three of four months we have been experiencing problems with the wi-fi (keeps dropping).  Took it in to the local Apple Store and was told that it is an issue with the power supply in the unit and that this is not uncommon.  I am reluctant to shell out $400 for a replacement Apple Time Capsule if it has the same issues and will need replacing in two years.  Does anyone know if the new designed Time Capsule has been improved to remedy this problem?  If not, any suggestions for a better designed alternative?
    Thanks.

    If you have applecare or still have possibility of buying applecare on a computer or apple TV then the TC would still be covered.
    The store has jumped to a conclusion but I am not sure the evidence is pointing that way.. the power supplies in Gen4 were pretty ok for the life of the unit.
    However they did have some serious board issues start to show up at around 2year mark.. the board was poorly soldered.. and some have got it working by the oven bake method..
    See https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair/gen4-a1409-issues
    IMHO it is better to figure out a way of getting the TC under applecare and getting it replaced by apple. If it really does prove to have wireless issues.
    I would do a full factory reset of the TC.. and redo the setup again.
    And if you run Yosemite.. I would be blaming the computer first.. and only the TC if everything else (with the computer isolated) also has issues. Yosemite itself can trigger issues in other network devices.
    I would also say wireless is a strange beastie.. people next door could have setup a new wireless router designed specifically to overwhelm the issues your router caused them.. router wars..
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 for basestation and TCwifi wireless name.
    If the issue is wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round. ie plan on a first and second round of changes to fix this.. hopefully.. I will point out other steps that can be round2. Fixed wireless channels.. try 11, 8, 6 for 2.4ghz and try a low channel like 36 or 40 and then a high channel.. 149, 165. Whatever is available in your area for 5ghz.
    2. Use all passwords that also comply with 1. but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. If the TC is main router you can skip this point. This is only an issue when the TC is bridged.
    Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only. Do the same for ethernet if you use it.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    You might need to do some more work on the computer itself. eg Reset the PRAM.. has helped some people. Clean install of the OS is also helpful if you upgrade installed.
    Tell us how you go.
    Someone posted a solution.. See this thread.
    Macbook can't find Time Capsule anymore
    Start from the bottom and work up.. I have a list of good network practice changes but I have avoided Yosemites bug heaven.
    Yosemite has serious DNS bug in the networking application.. here is the lets say more arcane method of fixing it by doing a network transplant from mavericks.
    http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • The USB Power Adapter of the iPod AV Connection Kit

    I am a new user of iPod and thinking of buying an iPod AV Connection Kit ("Kit") so that I can view video from TV. If I am not wrong, the "Kit" includes a USB Power Adapter, which charges iPod plugged. My question is "do I have to switch off the Power Adapter if iPod is unplugged?" Or the Dock is so smart that the power will be cut if the iPod is unplugged.
    The 2nd question is can I select a video and/or music inside the iPod through viewing the connected TV by using the remote included inside the said "Kit"?
    Thanks a lot

    The USB Power adapter isn't a smart device - much more like a charger: The only way to switch it off, is to unplug it from the A/C outlet.
    But you may leave it pluged into A/C: Nothing will happen except a small consumption of electricity.
    ad 2: You may view a video through your connected TV set, but there will be nothing like a TV menu to select it - if you want this feature you have to buy a 3rd party docking station.

  • Is there any way to override the Toshiba Power Management with the Windows Power Management???

    Have an older P25-S607 and would prefer more control over the power management.....that I can get with Windows....any suggestions?
    Solved!
    Go to Solution.

    Thanks for the obvious reminder   That was a duh moment.  It's easy to forget the simple sometimes when you get involved in troubleshooting when it's not something you do on a daily basis that's for sure.  The Toshiba controls have been fine for the life of the Toshiba laptops we have had, but I always felt they were a little limited on options IMHO. 
    In this instance I needed to utilize some of the added XP options as this laptop actually had the hinge 'sprung' a little and didn't "shut down" or hibernate when you closed the lid.....changed hubby's "normal procedure" for utilizing this "shop laptop" so he didn't overheat and fry the hard drive which is what I believe happened originally to the system that had been working fine until the hard drive was fried.  Changed it out, reloaded everything for him only to have the system need to be reformatted again within a week as windows took over.  As I was investigating causes I realized the malfunction.  Not sure of the how or why, but now have automated shut down backups if he forgets to shut down when he shuts the lid and walks away.   So far so good

  • How do i configure a FOR loop to have the behavior of the step Loop Type: Pass/Fail count?

    Hello,
    I'm using the Pass/Fail count set to one Pass to capture an event generated by my DUT.  I originally used a numerical compare step with the Looping type of Pass/Fail count to accomplish this.  Unfortunately the implementation changed and now I need to execute a few steps that can not be combined within one code module as before. Nor can these steps be put into a subroutine.  One of the steps executes a .NET asembly and I haven't figured out how to pass the reference to the subroutine.  When the subroutine is intered the reference is lost and the methode does not execute correctly.
    I have an evaluation function the exits the loop when the expected conditions are met. Everything works except for the Overall Pass/Fail result of the For loop.  If the loop exits due to the first numerical compare test passing, I want the loop overall execution to report as "Passed".  If the loop reaches it's predetermined number of iterations, the overall result needs to report as "Failed".  It would also be nice to have the radio button functionality of "Record Result of Each iteration".  Some conditions require a wait over a minute for the event to occur and I don't want to generate needless data for the report.
    Currently I get the pass/fail status for each For loop iteration, but only "Done" for each loop iteration.  I don't want the initial few failures to cause the test to fail.
    Does anyone know how to do this? Suggestions?
    Thanks,

    I have 2 steps in the loop that can not be combined into one step. This forces me to implement the behavior in some form of loop.  A While Loop could be an option.  I would need to pass the Step.Result.Status from the Multiple Numerical compaire step to the condition of the While Loop.  I tried to use the Step.TS.ID without success.  Some form of reference to the numerical compare step would be needed. I'm using a For Loop as I do want to limit the number of iterations of the loop.  In the case where the loop iterations are reached, the event I am trying to detect did not occur at the correct time and a failure needs to be reported.
    I came up with something based on my comments in the second post:
    1) To start with I configured a Locals.ForLoop_5 variable.  This is used to set the limit on the loop iterations and for comparison after the loop has finished executing. More on that later.
    2) The first step inside the loop invokes a method within a .NET assembly that has been packed in a DLL This method gets the required data from the DUT and stores it to a text file.
    3) The next step is the Multiple Numeric Limit step.  This step invokes a VI that extracts the data from the text file.  This step has been customized in several ways.
      i)  In Run Options, the Results Recording Option was disabled.  This prevents recording of "Failed" while the loop executes when waiting for the event to happen.
      ii) In Run Options, the Step Failure Causes Sequence Failure is unchecked.  Same reasoning as i)  These steps are not true failures.
      iii) A Post Action is configured to go to the nexxt step after the For Loop End step On Condition True with the logic of Step.Result.Status == "Passed".  This causes the loop to exit when the first "Passed" is encountered which corrolates with the event I'm trying to detect. On Conditon Fail remains set to default.
    4)  The step after the For Loop End is an expression step with everythin set to default except for the Status Expression logic set to: Locals.Loopindex < Locals.ForLoop_5 ? (Step.Result.Status = "Passed") : (Step.Result.Status = "Failed"). This step performs the overall Pass/Fail reporting for the For Loop.  If the number of loop iterations is less than the maximum it could have only gotten there by the previous logic triggered by the numerical compare passing, therefore "Passed".  If the loop index has reached the limit, then the event was not detected, therefore Failed.
    I have tested this work around with success, it just a pain to now have to implement this on my 40 some odd For Loops.
    If there is a better way, I'd still like to hear it.

  • Magnetic debris stuck in the magsafe power adaptor port on Macbook Pro

    I searched and could not find any good advice on what to do if a magnetic particle is stuck in the magsafe power port. The Apple manual gives advice to use a cotton swab but this is futile for a magnetic or metal particle as they are held tightly in by the magnetic attraction of the power port.
    Interestingly, I see very little reference to this occurring for folks. For me it happened on both my older MacBook and my new one - 2-3 times on my older - this is the first on my 2010 model. Of course, I don't just perch my laptop on a desk and idolize it - I use it everywhere!
    I tried to "fight fire with fire" by using a strong magnet but even that was not strong enough to coax out the bit of metal.
    I finally found a good solution. I "sharpened" an old corner of a credit card using scissors so it had a slightly sharp edge (on an inside corner where I had cut the card in 4) - not too sharp so its easily bent as from what i find, you need a lot of force to pry the magnetic debris out. I had tried the credit card w/o sharpening but you need to "dig under" the debris and pop it out. Once I had my new CC fragment tool in hand - I was able to move the magnetic particle to the side, pry under it and pop it out.
    On my older macbook, the solution was not so elegant - I used a small flathead screewdriver - I don’t recommend that! It scratches up the inside of the magsafe power port - though it was still functional.

    Errr, its not like I'm on the floor of a steel mill!! Serious risk of fire?? If you believe that from small "magnetic" pebbles then I've got some swamp land in Florida I think you'd be interested in.
    Seriously, nothing that unusual; on the carpeted floor, on the buss, in my laptop bag -- I have no idea where I'm picking this stuff up from but as I've come to learn, its not that unusual for very small bits of magnetized debris to get picked up by this magsafe port. Not like every other day - something like once a year.

Maybe you are looking for

  • Using Accessibility in Solaris 10

    Hello, I've installed Solaris 10 03/05 and am attempting to use the included Accessibility (explicitly the gnopernicus screen reader with Gnome). I have followed the instructions in the Java Desktop System Release 3 Accessibility Guide (http://docs.s

  • Changing iTunes account on iphone

    I purchased a used iphone and did a restore to factory settings but when I still connect to the app store it brings up the previous owner's email address. I put the correct account in iTunes on the computer and synced. New apps were added on the sync

  • Full Backup

    Help me understand. What is considered a Whole backup? Is a Whole backup the same as a full backup... the same as a cold backup? If I have different drives, should I backup everything on each drive or should I only backup certain files? If only certa

  • Loading only interested columns to table

    Hi, I created an external table that includes all of the columns in the data file. I want to load only interested columns to external table instead of all of them. I looked at OTN documents, i saw position of columns can be choosen. But i want for ex

  • "install a printer"

    i am trying to print from adobe reader and it says i need to install a printer, but my printer is connected what do i do ?