Sound Level Pressure with several channel

Hello,
I met a problem with the VI "SVL Exp Avg Sound Level.vi". It works perfectly if I make a measurement with a single microphone, but with more microphones I have some computation error with discontinuity depending on the buffer size.
The following message is given in Labview Help :
"The SVL Exp Avg Sound Level VI requires a continuous input data stream. An
internal mechanism automatically detects any sampling discontinuity and resets
the filters. "
I suppose that there is a link with my problem, but I have no idea to correct it.
Here is my VI which is composed of a producer/consumer pattern. The consumer loop computes the sound level pressure during the measurement and stores the measured data in a TDMS file.
I am not expert with enqueue and dequeue function, so maybe it is bad programmed and I have some discontinuity in my data stream coming from the dequeue function.
Thanks for your help,
Mathieu

Based on your screenshot, it looks as though your code may be computing the weighted sound level for each channel in a single For Loop. The Weighting VIs and the Sound Level VIs maintain state, so it is not correct to use it in a For Loop to process multiple channels. Instead, wire the entire array of sound pressure channels to the input of the weighting and sound level VIs. The polymorphic VIs will adapt to the input type, and if the input data is continuous, the warning will not be returned.
Interestingly, you may be able to simplify your code if you specify the read order to group measurement types. Here is some code that I was looking at when evaluating performance for some different approaches to grouping waveforms. The Group by measurement type case was the fastest.
Doug
NI Sound and Vibration
Attachments:
performance_read by meas type.vi ‏79 KB
Get Channel Names by Measurement Type.vi ‏23 KB

Similar Messages

  • How can I record several channels of data at different rates with the same card?

    I am building an application in which I need to record several channels of DC voltage data to disk at different rates, for example, Channel 1 at 40 Hz, Channels 3-5 at 10 Hz, Channels 6-8 at 1 Hz, etc.
    All these channels are time-referenced, so I need to make sure data for channels recorded at slower rates line up with their correct time stamp.
    Currently, I am building all data into a 2D array one row per loop iteration.

    Hello;
    At this time, the NI DAQ boards have only one scan clock, so, you can only define one valid scan rate for all of your channels.
    The better approach for you is to sample all channels at the highest rate you will need, and then discard the samples you don't need to save.
    Hope this helps.
    Filipe

  • Playing with loopback: sound level doubled.

    I've already bought Mainstage (version 2.2) and the loopback plugin is great! I've just one issue: when I record using loopback there are 2 signals in the output so the volume is higher, but when the loopback is playing there's only 1 output and so the sound level is lower.
    This is my situation:
    In one channel strip there's EVP88
    In another auxiliary channel strip there's the loopback plugin assigned to the Bus1.
    In the first channel strip I put a send to the bus1 in which there's the loopback. The "send level" is 0.0. The channel strip levels are all on 0 dB.
    The problem is that doing in this way the level of the evp88 is doubled when it pass through the loopback.
    Because in the Output I have the evp88 (at -6dB for example), then the sound goes through the bus1 in which there's the loopback channel strip who sends again the sound to the output (again at -6dB).
    So the result is that when I play something during recording on loopback the sound I hear is for example at 0dB (because in the output there are 2 signals). When i stop playing and the loopback is playing the recorder track, the sound is less than 0dB (Because there's only the signal from the loopback).
    How can i solve this issue?
    Thanks guys

    Hi
    Within the Loopback GUI, there is an option for Monitoring
    CCT

  • Having trouble with iPhone 5 sound level changing.

    When I touch the edges of the side of my iPhone 5, the phone vibrates and the sound level goes to zero.  I have to press the sound level button to change it back to whatever setting I had it at in the first place.  Any suggestions to solve or is this normal?

    Hello Wildcat74
    There are some steps to try out that I have highlighted for you in the article below for iPhone hardware troubleshooting.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Camera is not functioning
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tapping Settings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Third-party cases can interfere with the autofocus/exposure feature and the flash (iPhone 4 only); try removing the case if you have image-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center. Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. After recording begins, you cannot readjust focus until you stop recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll. Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Sound level with exported slideshow

    After I exported the slideshow I used iDVD to create a show. When viewed with my TV and dvd player the sound is extremely high. I must set volume so that it is maybe a third our our normal setting and even then some distrotion is taking place during some portions of the various tracks.
    Is there a way to set the sound level when exporting a slide show to be used in iDVD?
    I opened on show in FCE and the level is set to the highest.
    Any ideas?
    Tim

    nomorewindows wrote:I just have it show up in my wibox using vicious widget.  If you use naughty, then you have to clear the messages.
    The point is that I DO NOT want to use vicious widgets to accomplish this task

  • When watching movies on my iPad with headphones (they're Bose so good quality) on an airplane I can barely hear the sound with everything turned up--any suggestions to increase sound level outside of normal volume adjustments?  thanks for the help

    When watching a movie on my iPad 2 with headphones (they're Bose so good quality) on a plane I can barely hear even with volume at highest level--any suggestions on how to increase sound level outside of normal settings-sound level even lower when using a splitter--thanks

    Same problem with all headphones and earbuds--just checked settings and Volume Limit was already off--starting to think it's a volume system flaw tied to videos and related sound.   No problem getting plenty of sound volume for music, only videos. 

  • We have a new iPod  Classic and would like some help in choosing "Import Settings" (under Peferences) when loading the iPod from the Mac.  We want to be sure that we can maintain a constant sound level.  Used with Bose sound dock. OS 10.6.8 iTunes 10.6.1.

    Using an iPod Classic on a Bose sound dock....when loading the iPod from the Mac, what  "Import Settings" (under iTune "Preferences"),  should be used to maintain a constant sound level when playing music?  Mac OS 10.6.8, iTunes 10.6.1.
    There are many Import Settings available and it is somewhat confusing.  Any suggestions?

    Go to iTunes>Preferences>Playback. Tick "Sound Check."
    iTunes: About Sound Check

  • Mac pro with vista 32 installed on a second HD; problem with sound level

    its good when i log on the mac os HD,
    but on the vista hd, the sound is too low.
    in device manager the "sound, video and game controllers" displays: High Definition Audio Device.
    amd if i try to update it it will say that its got the latest drivers for it.
    I tried all 3 jacks on the tower(2 at the back, and one the one in the front), always got tthe same sound level. I also tried disabling the sound jacks and left one activated, same thing.
    on the Mac OS, the sound driver is "INTEL HIGH DEFINITION AUDIO DEVICE"
    and on Vsta its "HIGH DEFINITION AUDIO DEVICE" is that the problem?

    You want to be here:
    http://support.microsoft.com/ph/11732

  • IEPE Mic Sound Level Error

    Hi All,
    I have recently purchase the Sound and Vibration tool kit for LV8.6 for making (surprise, surprise) sound pressure and vibration measurements on an enclosure that houses a variable speed pump. I use a cDAQ chassis with the 9233 IEPE module and an ACO mic/pre (model 7052SYS). The mic is IEPE, of course, with a specsheet sensitivity of 20mv/Pa.
    I am getting started using the S&V example vi named DAQmx Sound Level Meter. When I set up the AI mic channel to the 20mV/Pa sensitivity, I am still seeing large error in my measurement as compared to calibrated handheld sound meter. In specific, the room ambient noise is ~32.9dBA as measured with the Extech handheld meter. The VI and IEPE mic set-up reports this as ~39dBA.  The error when noise is introduce sometimes gets a little closer, but the two do not agree.
    What have I overlooked? The IEPE mic is new and has factory cal certs so let's assume this is not the issue.
    Thanks for the help!
    -JD

    JD:
    That indeed could be a potential source of the difference between the readings. To know for sure, you would need to do a spectal analysis fo find the energy content across the frequency bands.
    If you have a quiet chamber, you could possibly generate a single tone frequency (at multiple freqeuncies within the range of both meters) and then compare the meter readings.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Sound Level adjustment causes sound bumps in video

    Hi, When I adjust the sound level on an MP3 track two sound bumps/thuds/heart beats are magically inserted into the center of the main video's audio. They do not show up at the point of the adjustment handles, nor at the transitions. In fact, when zoomed in a lot, they seem to be on each side of the video icon for the particular video segment. They come in pairs and are about a second apart. This isn't the sound glitches at the transitions about which many write. Anyone else experience this?
    Thanks, Jim

    I've tried that slider on iDVD with no effect. Not sure what it is for, in fact. Maybe someone else can help. David Pogue's Missing Manual book on iMovie and iDVD doesn't mention that control.
    But I do know that to adjust the sound within the project, you need to be in iMovie. There are several editing tools to add sounds, adjust levels, etc. I have in fact found this to be the most time consuming part - not technically, but to produce a project where the sounds are not too loud or too soft, insert the appropriate background music, edit out peaks, etc. Techincally easy to do each piece but a lot of work to really get the audio to match and enhance the project.

  • Microphone calibration for a sound level meter

    Hi I need an application for measure sound level by using the sound and vibration toolkit and severl microphones as input, but I don´t get the same values as a portable Phonic portable meter. I´m using a 60db gain preamplifier but when i use this value in the pregain scale voltaje to EU block I don´t get any value, but if I use -60 it works! is that correct?  on the other hand, I´ve seen a calibrate microphone block for the traditional daqmx  but I dont understand how to use it and I cant find examples. Do you have one? I have a cDAQ with 9205 A-input card.   Also, if I use the PC microphone input to get the data do I have to put an pregain value for the scale voltaje to EU block?
    I need dome help please. Thanks a lot.

    ¡Hi mario_rojas!
    I checked the documentation and SVL Calibrate Microphone (DAQmx) VI if you run it with the proper configuration it will measure the sensitivity of the microphone connected to the channel you specify.  Can you tell me what version of the Sound and Vibration Toolkit you are using? There are some specific inputs that you need to configure, but I need to know the version to tell you the values you need.
    About the -60dB gain, it should work with +60. When I have the version of the toolkit I can check this out for you.
    About the question for the PC microphone, you should not have to input a pregain value, since you do not have an intermediate amplifier between the microphone and the daq board, you just need to find the sensor sensitivity. We can use the SVL Calibrate Microphone (DAQmx) VI to find out if we don’t have that data in the specs.
    I think we are dealing with the same problem in this forum:
    http://forums.ni.com/ni/board/message?board.id=250&message.id=36845
     I think it’s better if we continue working in one forum. Please let me know if this is the same issue, and if it is, in what forum would you prefer to keep posting.
    Kind greetings,
    Tania Lozoya | National Instruments
    Mensaje editado por Tania Lozoya

  • LAFMax Sound Level

    We are trying to get LAFMax (the maximum A-weighted noise level measured with a fast time weighting) from recorded sound pressure measurements.  We sampled two different ways. One set was taken in one second blocks at 25.6KS/s and the other method was to get a single 20 second block at the same sample rate. 
    My thought was to run through a loop that picks off 3200 samples each time, gets Leq, and keeps track of the maximum value found until the entire block has been parsed.  For the one second sample blocks I would have to use the maximum from all of the 20 blocks.
    My problem is that I am very new to LabVIEW programming and have very little time to devote to learning before I need these results.  So any pointers would be greatly appreciated.
    Thanks
    Solved!
    Go to Solution.

    Hi arathbun,
    Just to make sure I understand, you are or have already acquired all of your data. You now want to set up a simple program that will go through all of it and track the max value found from it all. This will ultimately yield the max value of all the data, including all twenty blocks correct?
    Also, I believe this is actually going to all be developed in LabVIEW? SignalExpress does not provide a whole lot of data control, it is great for simple signal acquisition but more complex applications it is a bit beyond its capabilities.
    Though you are new to LabVIEW it would be worth some time reading through some of the simple tutorials to get you familiar with the environment and tools.
    http://www.ni.com/academic/students/learnlabview/
    From a high level perspective, it sounds like you need a for loop to run through your sets of data, and use a shift register to store an integer value for the max. Your internal loop would take a new number value and compare it to the current max, and select whichever is bigger as the new max. You could also store your information in an array and use the min/max properties to get similar information and faster results.
    Hopefully that will get you pointed in the right direction. If you are indeed using LabVIEW I would recommend that you post in the LabVIEW forums as you will get better support more applicable to your questions.
    Regards,
    James W.
    Applications Engineer
    National Instruments

  • Low sound levels in Photo Booth and Imovie

    I am a new Mac user and I am trying to record a short video to email using the built-in Isight camera. I have tried to use Photo Booth and Imovie and both of them produce videos with very, very low sound levels. You can barely hear it even when turned up to the max. I have checked the Sound preferences, and it is set to the built-in microphone, about mid-level. I've tried cranking it up to the max and with and without Use ambient noise reduction checked. It has no effect. How do I get a decent sound level? It is unusable at this point. I've updated my Software and repaired permissions, and still no luck. Any help would be greatly appreciated. Thanks.
    daomun

    Thanks for the response. I checked my midi audio settings and they are at the suggested rate. I called up an Apple support tech, and after trying a few things he basically said the internal mics are junk and go buy an external one. In the mean time, I've cranked up the sound levels to max, so I can hear it a little, but there is a ton of background hiss. I've done a web search and several people have reported this problem. so I think it might be something besides junk mics. Why do they install them if they are completely unusable? Thanks again. I'll try trashing the sound pref's too.
    daomun

  • Is it possible to trim a video layer according to sound levels found in its audio spectrum?

    Hi There,
    I'm interested to know if there is any way via a script or an existing plugin that would allow me to trim down a video layer based on the sound levels in it audio track?  For example, if I wanted to set the in point for a source footage element to where sound started.  Is that possible with scripting?  If not, is there a plugin that analyzes the audio spectrum so that a script could possibly determine that point?
    Thanks for your time and help!

    This example uses the "Convert Audio to Keyframes" menu command to find the first frame where the selected layer's audio level is above the value specified in variable "threshold" (0.1 in this example). It then sets the selected layer's in point to that frame.
        var threshold = .1;
        function main(){
            var myComp = app.project.activeItem;
            if (myComp == null || ! (myComp instanceof CompItem)){
                alert("No comp active.");
                return;
            if (myComp.selectedLayers.length == 0){
                alert("No layer selected.");
                return;
            if (myComp.selectedLayers.length > 1){
                alert("More that one layer selected.");
                return;
            var myLayer = myComp.selectedLayers[0];
            if (! myLayer.hasAudio){
                alert("Selected layer doesn't have audio.");
                return;
            app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"));
            var myAudioLayer = myComp.layer(1);
            var myProp = myAudioLayer.effect("Both Channels")("Slider")
            audioFound = false;
            for (var i = 1; i <= myProp.numKeys; i++){
                if (myProp.keyValue(i) > threshold){
                    audioFound = true;
                    myLayer.inPoint = myProp.keyTime(i);
                    break;
            myAudioLayer.remove();
            if (! audioFound){
                alert("No audio above threshold found.");
                return;
        main();
    Dan

  • Scanning Access Points configured with JAPAN Channels

    Hi,
    I have configured the below mentioned configuration for my Access Point. These wireless networks are not appearing in windows client network list. I have tried explicit scan also. Still it is not showing networks with 184,188 channels. But it is showing all remaining networks.
    Country code: JAPAN
    SSID for WLAN 1: Wireless Network1
    WLAN 1 mode: 5 GHz 54Mbps (802.11a)
    WLAN 1 auto channel: Enabled
    WLAN 1 channel: 184 (4920MHz)
    WLAN 1 alt. channel: 188 (4940MHz)
    SSID for WLAN 2: Wireless Network2
    WLAN 2 mode: 5 GHz 54Mbps (802.11a)
    WLAN 2 auto channel: Enabled
    WLAN 2 channel: 188 (4940MHz)
    I am using CISCO AIRONET 802.11a/b/g WIRELESS ADAPTER. This problem can occur due to the following reasons.
    (1) Do I need to set any region settings at Adapter?
    (2) Does adapter firmware depends upon
    country? How do I check the adapter firware?
    (3) Is there anything wrong with adapter vendor driver? Do I need to set anything in driver level for supporting JAPAN channels.
    Anyone please help me to identify and resolve the above problem.
    Thanks

    What channels are available? The 802.11b standard defines a total of 14 frequency channels. The FCC allows channels 1 through 11 within the U.S.; whereas, most of Europe can use channels 1 through 13. In Japan, you have only one choice: channel 14.
    An important concept to note regarding channel assignments is that the channel actually represents the center frequency that the transceiver within the radio and access point uses (e.g., 2.412 GHz for channel 1 and 2.417 GHz for channel 2). There is only 5 MHz separation between the cente frequencies, and an 802.11b signal occupies approximately 30 MHz of the frequency spectrum. The signal falls within about 15 MHz of each side of the center frequency. As a result, an 802.11b signal overlaps with several adjacent channel frequencies. This leaves you with only three channels (channels 1, 6, and 11 for the U.S.) that you can use without causing interference between access points.
    http://www.cisco.com/en/US/prod/collateral/wireless/ps7183/ps469/product_data_sheet09186a008008883b.html

Maybe you are looking for

  • Use ALSM_EXCEL_TO_INTENAL_TABLE in Application server

    Hi Experts, How can I use the Function Module ALSM_EXCEL_TO_INTENAL_TABLE to copy files from the APPLICATION SERVER into an internal table. Remember APPLICATION SERVER Please help Ankit

  • DML_FETCH_ROW with flashback?

    I love the ability to query tables using flashback and select * from TABLE as of pre-bonehead, but using a Form on Report, I can't have that flashback apply to a form that uses automatic row processing.<p> I even dug through the apex scripts a bit to

  • Stopping loop when output = 0

    Hi, I was wondering if anyone knew how to stop a loop when the final output is 0.  I'm doing battery life testing with a agilent multimeter and want to loop the reading of the voltage until the output = 0 so that the timer can stop at that point.  Ho

  • Parallels users... How many MB RAM do you give to Windows?

    I gave 604, but MAC OSX was so slow.. thanx

  • IC Eliminations and Org by Period

    My metadata includes a company Co.A which in common with Co.B is a child of Co.X in 2006. In 2007 Co.A is inactive under Co.X but active in a new branch under a parent Co.Y. When I consolidate in 2007 I find an intercompany elimination entry in Co.B.