02-19-2024 08:27 AM
Hi there!
with NI-max it was easy to see the Vibration sensor readings live in a diagram. The vibrations i create with a vibration generator are between 20 to 2000 Hz. I would like to measure and show the actual frequency of the vibration sensor in Labview ( more or less like an oscilloscope). How can i do that?
02-19-2024 08:31 AM
Hi Robin,
@Robin90 wrote:
I would like to measure and show the actual frequency of the vibration sensor in Labview ( more or less like an oscilloscope). How can i do that?
Well, a typical scope doesn't show the frequency of a signal…
You can use DAQmx function to read your signal and FFT functions to determine the frequencies/spectrum…
LabVIEW comes with a huge example library: what have you tried and where are you stuck?
02-19-2024 10:38 AM
@GerdW wrote:
Hi Robin,
@Robin90 wrote:
I would like to measure and show the actual frequency of the vibration sensor in Labview ( more or less like an oscilloscope). How can i do that?
Well, a typical scope doesn't show the frequency of a signal…
You can use DAQmx function to read your signal and FFT functions to determine the frequencies/spectrum…
LabVIEW comes with a huge example library: what have you tried and where are you stuck?
Gerd, typical scopes, even the cheapest, can measure and display the frequency today. 😄
(unless you look for a second hand boat anchor)
Robin, start with the examples (Help...Find examples) .. add a extract single tone information vi (signal processing/ wfrm measure) with an indicator for the frequency
bonus add-on: after you know the frequency, you can scale the diagram to show the number of periodes you like 🙂
(just like the auto-set funktion on the scope 😉
02-20-2024 04:30 AM
Hi Henrik,
thank you for your reply.
I added the single tone info.vi to my NI daq max.vi. But i have problems to connect the Vibration sensor data from DAQ to the input of "Extract single tone Information.vi" . The Data i get is a 1D-Array of Waveform(double) which should be fine but many errors accure.
Maybe someone can help? Main.vi attached.
kind regards
Robin
02-20-2024 04:44 AM
Hi Henrik,
@Henrik_Volkers wrote:Gerd, typical scopes, even the cheapest, can measure and display the frequency today. 😄
Well, I know.
My point is: when you switch on a typical scope then it will display a signal over time.
You need to configure the scope to also measure/display frequencies/spectrum - and the OP also needs to measure a signal over time and calculate the spectrum afterwards...
02-20-2024 10:04 AM
Try the DSA soft front panel - https://www.ni.com/en/support/downloads/drivers/download.dsa-soft-front-panels.html#479535
https://forums.ni.com/t5/NI-Labs-Toolkits/Dynamic-Signal-Analysis-HW-Soft-Front-Panels/ta-p/3497079
These are designed with sound and vibration measurement in mind and come with an FFT display.