View Single Post
  #1   Spotlight this post!  
Unread 16-02-2012, 22:38
zero118 zero118 is offline
Registered User
FRC #2410
 
Join Date: Feb 2012
Location: United States
Posts: 5
zero118 is an unknown quantity at this point
Using Proxy Switch to Calculate RPM

Hello,

Our team is currently attempting to calculate the rpm of a wheel by utilizing a proxy switch. We will then use this calculated rpm with a PID loop do acquire a desired rpm; however, I am struggling to calculate the rpm in labVIEW.

I first tried to use the counter VI, a sequence structure, and a timer delay function, but I ran into problems (all these calculations are occurring in the teleop VI)

Here is the program i am using to calculate the rpm



Apparently the wait function I have in there makes the entire robot inactive.

How do I approach this problem?

Thanks!