View Single Post
  #4   Spotlight this post!  
Unread 23-02-2016, 03:26
thatnameistaken thatnameistaken is offline
Registered User
AKA: Joshua Johnston
FRC #2191 (Flux Core)
Team Role: College Student
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Hamilton, NJ
Posts: 59
thatnameistaken is on a distinguished road
Re: Help programming pneumatics

Quote:
Originally Posted by itwasntme455 View Post
How about in LabVIEW?
Like so:


In the false state of the case structure in Teleop, the solenoid must be set to reverse instead of forward. Additionally, in Begin, make sure your PCM ID and solenoid channels match how you wired your robot; the forward channel is the channel wired to the end of the solenoid connected to the part of the piston further from the rod, while the reverse channel should be set to the closer end. If you're unsure, just guess and switch it if it's backwards.

Last edited by thatnameistaken : 23-02-2016 at 03:35. Reason: Reworded to flow better