Go to Post God bless the camera. That's all I gotta say. - Bharat Nain [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
  #5   Spotlight this post!  
Unread 29-01-2009, 23:12
starsROBOTICS starsROBOTICS is offline
Registered User
FRC #2276 (S.T.A.R.S)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2006
Location: texas, houston
Posts: 44
starsROBOTICS is on a distinguished road
Re: 2 Joysticks, 2 Triggers, 1 relay, 1 problem

Quote:
Originally Posted by a3aperez View Post
Make sure you are using the right constants.

From the Set Relay help:

RelayValue specifies whether the relay is configured to move the motor in a forward or reverse direction.

Off (0) (Default) Specifies that the motors are off.

On (1) Specifies that the motors are on.

Forward (2) Specifies that the relay moves the motors in a forward direction.

Reverse (3) Specifies that the relay moves the motors in a reverse direction.
Ok instead of specifying 1,0,2, or 3 i right clicked the left side of the relay terminal and created a constant. I put the constant to the left of the select and wired it to the true statement. Would that be okay or does it have to be a numeric value as in 1,2,3, or 0?
__________________
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
spike relay problem? Maxpower57 Electrical 15 09-04-2012 19:18
[OCCRA]: Problem with the compressor, pressure switch, or Bosch relay. BrittanyV OCCRA 3 16-10-2006 15:42
Joystick Triggers No Longer Work amateurrobotguy Technical Discussion 7 04-04-2006 13:58
Help! Programming question with triggers AsimC Programming 26 18-03-2004 11:00
AVB joysticks..and other analogue joysticks tml240 Kit & Additional Hardware 6 07-02-2004 12:45


All times are GMT -5. The time now is 12:01.

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