Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   SOLENOID (http://www.chiefdelphi.com/forums/showthread.php?t=133752)

FrankenmuthK 31-01-2015 09:42

SOLENOID
 
How do we program a double solenoid for recycle rush?

FRC 5215 <Steagles>
:yikes:

Mark McLeod 31-01-2015 09:49

Re: SOLENOID
 
Lots of possibilities. Here is only one.
The solenoid needs to be Open'ed in Begin.vi and given a name there.

FrankenmuthK 31-01-2015 09:52

Re: SOLENOID
 
Quote:

Originally Posted by Mark McLeod (Post 1436488)
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>

Mark McLeod 31-01-2015 10:09

Re: SOLENOID
 
Here's another example showing the Open in Begin and it's use in Teleop.

FrankenmuthK 31-01-2015 10:43

Re: SOLENOID
 
Quote:

Originally Posted by Mark McLeod (Post 1436493)
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

Mark McLeod 31-01-2015 10:46

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.

FrankenmuthK 31-01-2015 10:52

Re: SOLENOID
 
Quote:

Originally Posted by Mark McLeod (Post 1436499)
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

Mark McLeod 31-01-2015 11:02

Re: SOLENOID
 
1 Attachment(s)
Finish isn't technically necessary, it's just good form.

ale_jero 31-01-2015 12:18

Re: SOLENOID
 
Quote:

Originally Posted by Mark McLeod (Post 1436493)
Here's another example showing the Open in Begin and it's use in Teleop.

Lastly, how do we program the compressor?

Mark McLeod 31-01-2015 12:24

Re: SOLENOID
 
Quote:

Originally Posted by ale_jero (Post 1436535)
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


All times are GMT -5. The time now is 10:24.

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