LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure vibration frequency with NI 9230 BNC?

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?

0 Kudos
Message 1 of 6
(602 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(598 Views)

@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 😉

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 6
(556 Views)

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

0 Kudos
Message 4 of 6
(526 Views)

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(522 Views)

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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 6
(501 Views)