I've created a basic Sound Pressure Level Meter that does NOT need Sound and Vibration Toolkit. I've checked against some IEC-61672-1 test signals and looks ok (LAF continous tone and LAF&LAS 4kHz bursts).
I'ts a crude work, It will only work with 51,2ksps data. I only need to use 51,2ksps that's why. I need to implement bilinear transformation to calculate the filters for other data rates. It will work with data that is not at 51,2ksps but the time will be incorrect and the filters will give an incorrect result. I've used Christophe Couvreur's Octave Matlab code to generate the A and C filters coefficients.
The RMS is calculated in 25ms intervals (40Hz) as some standards for noise measurements demands for 30ms max.
I'm in the process of implementing 1/3rd octave visualization instead of the frequency spectrum, I have code working but I'm not shure if it's working ok. Do you know of some ready code to do this?
I should buy SVT in the future, but I'm not sure when, it can take a year or more, this is why I did it.
Labview 2015 Full development system
1. Open and run it with simulated signal, or point to a test signal (tdms file).
Does anybody found another example as mine? I've looked but I didn't find any in Labview (not using Matlab script).
Can someone with SVT compare results?
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi fardissone,
Thank you for taking the time to share this example code with the community! I've reviewed it and have some recommendations for it, so that it can meet the Community Example style guidelines. Most of these are minor stylistic changes that we ask for in order to keep the user experience consistent for Community Examples, and to ensure that the code can be implemented seamlessly into larger applications.
Once the following changes have been made, I'll go ahead and push the example live for all users of the community:
Best Regards,