Go to Post Glue it, screw it, bolt it, rivet it, weld it. If the design is flawed it will fail. - Gdeaver [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2017, 21:34
WalnutsAndBolts WalnutsAndBolts is offline
Registered User
FRC #6643 (Walnuts and Bolts)
 
Join Date: Jan 2017
Rookie Year: 2017
Location: Racine Wisconsin
Posts: 32
WalnutsAndBolts is an unknown quantity at this point
Exclamation Please Help With Pneumatic Programming

Hi,
I have been working for the last 3 days to program the solenoids on my teams robot. I have asked a few different times how to do this, but nothing seems to work. Would anyone be willing to share images of there Labview solenoid/pneumatic code? It would also be helpful if someone could help us work out this bump in the road, if we still get stuck.

Thank you all so far, and please help me get through my rookie year with my sanity ,

Walnuts and Bolts Robotics Team
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2017, 21:46
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 532
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Please Help With Pneumatic Programming

The snippet attached should show the basics of using solenoids. If you have a single solenoid, you want to use the "On" and "Off" values of the enum constant, and if you have a double, use "Forward" and "Reverse".

The example will turn on a single solenoid on the press of button 0 (and turn it off when released). Button 1 controls the forward/reverse state of the double solenoid. If you want to toggle, then read through this thread.
Attached Thumbnails
Click image for larger version

Name:	snip.PNG
Views:	54
Size:	26.5 KB
ID:	21737  
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2017, 14:38
Hess1113's Avatar
Hess1113 Hess1113 is offline
Grab a computer and code it up!
AKA: Christopher Hess
FRC #0291 (Creativity In Action)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2017
Location: Erie, PA
Posts: 23
Hess1113 is an unknown quantity at this point
Re: Please Help With Pneumatic Programming

Use the solenoids to open in the begin.VI like how you would a motor
Then Hitchhiker had a good example as above but for the global variables you could use True or False, One and Zero, Or On and Off. If you have any questions just DM
__________________
Christopher Hess
Co-Lead Programmer
Webmaster
FRC-Team 291 CIA
www.team291.com
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2017, 14:52
Robomarfa Robomarfa is offline
Registered User
FRC #5771 (Robohorns)
Team Role: Teacher
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Marfa, Texas
Posts: 40
Robomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to behold
Re: Please Help With Pneumatic Programming

Make sure you have programmed the CAN address of the pneumatics module to be unique. Use the RoboRio web viewer to see/change CAN addresses.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi