LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tach pulse and time waveforms for balancing

I want to take two time waveforms and a tach pulse (1 per revolution) and have a vi that returns the phase lag from the tach pulse to the peak maximum for both channels.
 
0 Kudos
Message 1 of 5
(2,707 Views)
Hi Ronster,

Waveforms are basically arrays of integers.  You can access these arrays by using the "Get Waveform Compontent" function.  From that point, you can use basic array  and math operations to calculate your lag time (perhaps the Array Max and Min function would be useful?)

Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 2 of 5
(2,687 Views)

Eriquito,

Thanks for that.  I have been over-thinking this one, looking at all of the Sound and Vibration vi's.  It's much more basic than that. 

Ron Brook

Scarlet Knights of New Jersey (Rutgers - '78)

0 Kudos
Message 3 of 5
(2,679 Views)
Eriquito,
Success!  I have the vi working so that it finds the first peak and returns it's magnitude and time from t0.  From here it shouldn't be an issue to take two inputs that are triggered and then back out the time delay between the two.
Thanks for the initial help.
Ronster
0 Kudos
Message 4 of 5
(2,672 Views)
Glad to hear it!  You're very welcome.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 5 of 5
(2,651 Views)