Go to Post I'll do my best, but I'm this --><-- close to telling our drivers they're NASCAR styling it this season..."Sorry boys and girls, left turns only!" - Mr. Lim [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 29-01-2012, 12:56
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Exclamation Re: COMPRESSOR PROGRAMMING HELP

We got our compressor working by this code however our solenoids dont work. Any suggestions or recommendations??
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 17:10
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: COMPRESSOR PROGRAMMING HELP

Quote:
Originally Posted by cilginbilgin View Post
We got our compressor working by this code however our solenoids dont work. Any suggestions or recommendations??
It is generally bad practice to use Open inside teleop. Instead, use Open in Begin, then insert to a RefNum Registry Set and give it a name. In Teleop, use Refnum Registry Get. Then give it a command. See how the default code has the joystick and RobotDrive. All you have to do is use the same palette as what you're working with.

Try the Compressor With Cylinder example, see if it works. Don't forget to change the RT CompactRIO Target IP address by changing its properties.
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 11:34.

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