Go to Post When you and your friend consider dressing up as a Potentiometer and “magic smoke” for Halloween! - BX MARK [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-02-2010, 13:45
ssmith2 ssmith2 is offline
Registered User
FRC #1737
 
Join Date: Feb 2010
Location: Excelsior Springs, MO
Posts: 7
ssmith2 is on a distinguished road
Solenoid code not working

Hi. I am hoping you all can help me. I have coded up a real simple solenoid for this year's robot and I did it just like I did last year and it just doesn't seem to work.

Details:
In the begin.vi I have code (see attachments) to open the solenoid and to assign it to the registry. I then get it from the registry in the teleop.vi and set the "value" of it based on joystick button value. When we deploy it and run it, it just does not trip the solenoid nor do any of the lights on the 9472 (the thing that plugs into the cRIO) come on. I have even tried removing the button value and just hard coded a boolean constant of "true" to the solenoid value input of the "solenoid set" but to no avail.

Any thoughts or help?

-Team 1737 programming mentor
Attached Thumbnails
Click image for larger version

Name:	solenoid_begin.JPG
Views:	69
Size:	50.6 KB
ID:	8461  Click image for larger version

Name:	solenoid_teleop.JPG
Views:	52
Size:	47.8 KB
ID:	8462  
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Sample Code not working... hm29168 CAN 5 27-01-2010 20:59
Solenoid Not Working professorX Pneumatics 7 15-02-2009 23:20
Camera Code not Working in Autonomous? Mikesername Programming 6 28-01-2009 10:14
Incrementation Code not working benhulett Programming 6 12-02-2007 17:39
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21


All times are GMT -5. The time now is 11:48.

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