LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting a case for each particular case

Good day all,

I am acquiring signal from an accelerometer attached to a building model. The frequency of excitation would be changed to three cases. Case 1 (5.5Hz), Case 2 (17Hz) and Case 3(27Hz). I have been able to detect this frequencies using Sound and Vibration Toolkit. Next I want a motor to be moved based on each frequency. Please what function in programming can I used to select the frequency obtained at a time and then turn a motor to a position based on each frequency. I  have read the Case structure and If loop, but still does not know what to use. Thanks all.

0 Kudos
Message 1 of 3
(2,071 Views)

So, you are acquiring the data from accelerometer. Do you decide the frequencies based on this acquired data or not?

How you are communicating with motor?

 

         If you decide the frequencies based on the acquired data from sensor, put that result i.e.. Case 1 (5.5Hz), Case 2 (17Hz) and Case 3(27Hz) to case selector terminal and give the input to motor from each case.

0 Kudos
Message 2 of 3
(2,070 Views)

Thanks for your urgent response.

Yes, the frequencies is determined based on the reading. The next step is just to run the motor to a particular position based on each case. Like you said I should use the case structure function, I will look at this but if you have a simple Vi that actually perfoms certain operation based on acquired signal like mine, Kindly show me the link.

One again Thanks a lot.

0 Kudos
Message 3 of 3
(2,065 Views)