05-24-2011 03:57 AM
Hi!
I'm doing a program which measures sound and engine speed and then displays it in a colormap.
Im having problems becose i want to display the data like so: x-axis RPM, y-axis Frequency, z-axis (color) [dB].
But it seems imposible to display all three data togheter, always there is one dimension time. Can i change this somehow, is there some way to do this?
Point is, i would like to see at which RPM, the sound is loudest, and at which frequency its loudest. So i cant miss any of those three.
The other problem im facing is, that the color map displays onli 0,1s of data, and i have no option to see into history to see the whole data (if you are in-car doing analysis, the real-time 0,1s data is usless).
I would appreshiate your help.
My vi is in the attachment.
05-24-2011 05:22 AM
Anyone?
05-24-2011 08:01 AM
It sounds like you have four variables
RPM
Frequency
Amplitude
Time
How about a 4D graph created using a 3D graph with color as the forth.
X -> Time
Y-> RPM
Z-> Frequncy
W-> Color
Modify the example I posted here for your data and I suspect we will see a colorful ribbon ?
If you go that route please post an image of the results to help inspire others.
Ben
05-25-2011 06:23 AM
Thanks Ben, but I found a different way. Yours is very good example, but its quite difficult to read the values from it, for my prupose of the program.
I did some deeper research on the internet and did it with help of SVT STFT vs RPM.vi which does some transformations of two waveforms (in my case RPM analog wave, and sound wave), and then indicates a nice colormap with RPM on x-axis, Frequency on y-axis, and color of amplitude on z-axis, just how i wanted. This way it is way easier to read the data from the graph.
There is a picture in the attachment of colormap and the code.
Thanks for the response, and a nice day!