Go to Post All this is sounding like gobbly-de-gook but it is important to understand this gobbly-de-gook. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #5   Spotlight this post!  
Unread 20-02-2010, 22:34
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: solenoid problems

After you import the solenoid class, you will have to create your solenoid objects in Java. You can do this using :

Solenoid kicker = new Solenoid ( slot, channel );

then in your program, you can check the status of the trigger using an "if" selection and use the set( boolean on ); method to turn the solenoid on.
__________________
=>"That hole you drilled is a little off."
=>"Don't panic, just make it bigger and put a washer on it!"

=>Eye ball once, and cut as many times as it takes

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
Solenoid actuation problems Alexandstein Pneumatics 4 17-02-2010 21:39
Solenoid not firing off Solenoid Breakout spooncwru Pneumatics 2 30-01-2010 17:46
single solenoid seanl Pneumatics 4 18-02-2007 02:32
Programming a Solenoid Brigander Pneumatics 4 17-02-2007 14:06
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07


All times are GMT -5. The time now is 09:26.

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