LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use counter measure velocity

i want to measure velocity with PXI6070E,but i have not used counter,Is there any example for me to refer
to?
thanks!
0 Kudos
Message 1 of 2
(2,873 Views)
To measure velocity (for example rotational speed of a shaft) with a counter you must have a signal proportional to speed, squared and in TTL standard to input to the counter of 6070E. A good example of it is an encoder; for other devices you should consider adding some conditioning devices to achieve the correct shape and potential from your input signal.

Once the signal is suitable for 6070E inputs, you can look at Examples\Daq\Ctr\STCSinglePeriodMeasure or STCSingleBufPeriodMeasure projects for an example of how to measure the period of a signal.
Speed (in rpm) is obtained from period measure by the following formula:

TimeBase / PeriodMeasured * 60.0 / PulsesPerTurn

Where:
TimeBase is the timebase used to count period
PeriodMeasured is the
result of the counter measure
PulsesPerTurn is the number of pulses per round of the encoder or other transducer

In case you need to measure a different phenomenon (for example linear speed of an object) you still need a periodic signal proportional to speed, and must accomodate the preceding formula to the characteristics of the phenomenon.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,873 Views)