View Single Post
  #2   Spotlight this post!  
Unread 24-06-2014, 10:50
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Help with Relay Code in Labview

You're getting a red dot becuase the data types do not match. you can fix this by using the enumerated type def the relay uses instead of floats.

(From memory, may be wrong on some things)
Step one: Delte wire to relay set port, the '0', and '2' on the T/F gate
Step two: Right click on the relay set port and click "create constant"
Step one: Delte wire to relay set (but not the new constant)
Step three: Copy this variable and wire up one each to the inputs of the T/F gate
Step four: Rewire T/F gate to relay set port
Step five: Left click on the constants to set them to the status you want. This should bring up a drop down menu giving "off/forward/revers/on" as options. This should not select the constant for movement around the screen.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.

Last edited by adciv : 24-06-2014 at 10:50. Reason: typo
Reply With Quote