Go to Post The secret to this whole thing is that it's the robot that builds the team. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 31-01-2015, 09:42
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
SOLENOID

How do we program a double solenoid for recycle rush?

FRC 5215 <Steagles>
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2015, 09:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SOLENOID

Lots of possibilities. Here is only one.
The solenoid needs to be Open'ed in Begin.vi and given a name there.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2015, 09:52
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
Re: SOLENOID

Quote:
Originally Posted by Mark McLeod View Post
Lots of possibilities. Here is only one.
The solenoid needs to be Open'ed in Begin.vi and given a name there.
What does the begin.Vi look like??

FRC 5215 <Steagles>
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2015, 10:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SOLENOID

Here's another example showing the Open in Begin and it's use in Teleop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2015 at 10:11.
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2015, 10:43
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
Re: SOLENOID

Quote:
Originally Posted by Mark McLeod View Post
Here's another example showing the Open in Begin and it's use in Teleop.
We are having trouble connecting the Select function to the Solenoid set. VI
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2015, 10:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SOLENOID

Try these steps:
  1. Right-click on the input of the Solenoid Set and Create->Constant
  2. Copy/Paste the constant and attach two of them to the Select as shown
  3. Delete the constant attached directly to the Solenoid Set
  4. Wire the Select to the solenoid Set
That makes sure the enumerated constants used are the correct ones for Solenoid Set.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2015, 10:52
FrankenmuthK's Avatar
FrankenmuthK FrankenmuthK is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: United States
Posts: 34
FrankenmuthK is an unknown quantity at this point
Re: SOLENOID

Quote:
Originally Posted by Mark McLeod View Post
Try these steps:
  1. Right-click on the input of the Solenoid Set and Create->Constant
  2. Copy/Paste the constant and attach two of them to the Select as shown
  3. Delete the constant attached directly to the Solenoid Set
  4. Wire the Select to the solenoid Set
That makes sure the enumerated constants used are the correct ones for Solenoid Set.
Thank you so much for your help!!! sorry for all of the questions, but could you show us the finish.VI?

THank you so much again
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2015, 11:02
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SOLENOID

Finish isn't technically necessary, it's just good form.
Attached Thumbnails
Click image for larger version

Name:	FinishExample.png
Views:	19
Size:	33.0 KB
ID:	18069  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2015, 12:18
ale_jero ale_jero is offline
Registered User
FRC #5215
 
Join Date: Jan 2015
Location: Estados Unidos
Posts: 3
ale_jero is an unknown quantity at this point
Re: SOLENOID

Quote:
Originally Posted by Mark McLeod View Post
Here's another example showing the Open in Begin and it's use in Teleop.
Lastly, how do we program the compressor?
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2015, 12:24
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SOLENOID

Quote:
Originally Posted by ale_jero View Post
Lastly, how do we program the compressor?
By creating a solenoid, the compressor was automatically created too.
No explicit code is required for the compressor.

All this does assume that your PCM has a CAN ID of 0
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 03:52.

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