LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tracking a ramping signal and checking for range thresholds

Solved!
Go to solution

I have a signal which ramps at 0.05 volts/second.  During this state, there is a possibility that the ramp rate

exceeds the 0.05 v/sec. operation (runaway condition).  Does anyone have any ideas about how to track this and

respond to the runaway condition? 

0 Kudos
Message 1 of 5
(2,716 Views)

How is the signal being generated?  How are you sampling it?

 

You could just take the difference between two samples and if their rate is out of a certain range, take care of it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,715 Views)

100ms/sample and a 20 sample moving average for smoothing.

0 Kudos
Message 3 of 5
(2,712 Views)
Solution
Accepted by PokeChop

Are you using point by point sample generation or generating the samples as an array. Any case Tim's solution is the simplest and would work good.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 5
(2,708 Views)

I would suggest you to mark crossrulz reply as a solution. 🙂

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 5
(2,688 Views)