View Single Post
  #5   Spotlight this post!  
Unread 13-02-2013, 14:47
Coin3's Avatar
Coin3 Coin3 is offline
Registered User
AKA: Griffin Cerva
FRC #4110 (Deep Space Niners)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Brookings, OR
Posts: 47
Coin3 is an unknown quantity at this point
Re: Shooter Lifting Code

Hello, same team as OP here. (4110)

I apologize for the lack of thorough information. We posted this last night in a rush to get home, thinking that we would get more responses over night than to wait until this morning to post it.

Quote:
Originally Posted by RyanN View Post
5th, in RED... what are you trying to do here? Are you trying to selectively get the reference to your DIO input? Don't you already know what desired level you want because of the case structure that was particularly circled in PINK a moment ago? Why complicate your code like this?
Attachment 13964
In my begin.vi, I have the reference name for each touch sensor as "1","2", etc. I convert the value from DesiredLevel into a string so that it would pull the info from the touch sensor located at the desired level, and use that value to stop the motor when the that specific sensor is pressed.

I will redo the invalid parts of the code today. How would I substitute the while loop for something not-destructive to the teleop vi.

Thanks again, in a rush again, sorry. haha
Reply With Quote