12-07-2017 04:35 PM
I need some help in writing code in LabVIEW for 2 accelerometers using order analysis. I have been given a sound and vibration toolkit provided by my professor and it only seems to have tachometers. How would I use this to sense accelerometers or if there is another way please help. We need the code to display a Amplitude vs. Frequency and a Acceleration vs. Time. One per accelerometer.
This is what I have so far attached.
12-08-2017 03:10 AM
I don't understand to your question. There's a lot of subVIs in palette: Sound and Vibration which should be helpfull for you.
I'll need more informations to help you.
12-08-2017 10:06 AM
Not helpful sending a "broken" Project (before attaching a Project, open it and be sure all the referenced VIs are present, and haven't been renamed by adding FraserNewman_ before the Main or SubVI name).
You don't say anything about the accelerometers. Do you know how to read accelerometers into LabVIEW? Once you have sampled data, you should be able to use routines in either "vanilla LabVIEW" or in the Sound/Vibration Toolkit (which I haven't installed) to do the analysis your Professor wants.
Why don't you try to just write a VI that takes, say, a second of accelerometer data (how many axes does the accelerometer have? Are you supposed to get 1 number or a 3D vector?) and plot it. If you can plot it, you can analyze it (it seems to me) ...
Bob Schor
12-08-2017 01:45 PM - edited 12-08-2017 02:11 PM
Hi simyfren,
Thank you for your feedback. What other information do you need to know?
Thank You
12-08-2017 02:05 PM - edited 12-08-2017 02:10 PM
Hello Bob_Schor,
Thank you for your feedback. We have used accelerometers to display data. Using order analysis technique is the tricky part. I must have forgotten some pieces in the zip folder.
From what I have gathered we need to display a 1D array per graph on each PCB accelerometer sensor.
12-08-2017 02:51 PM
Here is my completed VI with all running SubVIs. Sorry for the confusion.
12-09-2017 01:04 PM
Thanks for attaching your VIs. I'm starting to look at MachineTest_1. Am I correct that you want to sample 2 channels of Analog signals (presumably corresponding to acceleration values from two accelerometers), reading 1000 samples at 1 KHz (which takes 1 second of time) and then doing some sort of processing of these data before taking another sample? I'm going to assume this is true and say the following:
Bob Schor