Quote:
Originally Posted by lori558
the photoswitch didn't pick up the 1 stripe at high RPMs. So we switch and put a piece of tape that covers the gap between 1 spoke to another. So it is a thick stripe...
|
OK, that is what I was concerned about. That photosensor isn't exactly a speed demon. It needs a wide stripe. The wider the better (up to 180 degrees of arc, no more).
Quote:
Currently it is set up according to a tachometer:
|
Yes, that's the "period" method (method2) that I was talking about in my previous post.
Quote:
Quote:
Ether:
With a low count-per-rev sensor, you want to use the 2nd method, not the first.
|
How exactly do I go about programming that?
|
If you're using
this, you're already doing it.
Quote:
|
The code thus far is attached!
|
The code doesn't look right to me, but I'm not a LabVIEW guru. It looks like you are converting the period to rpm, then subtracting the previous rpm value from it, then comparing it to a period. Bill or Mark, can you please jump in here and help him?