|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
0 = 1, but 1 = 1 as well?
so a day before the robot shipped i went to do a final diagnostic on the robot to make sure that everything that was plugged in worked. Our team has 3 solenoids labeled in labview 1, 2, 3 respectively (see picture if needed). I know that 1 = 0 and 2 = 1 etc. however, lately 1 would trigger 1 on the cRio (not 0), and 2 would trigger 2 (not 1). I have neither an idea on what to do, nor an idea of how to fix this.
PS, when debugging, does light on = true or false? I assume that on = true. |
|
#2
|
|||||
|
|||||
|
Re: 0 = 1, but 1 = 1 as well?
I don't see the "0" you're talking about.
For that matter, I don't see the "1" or "2" or "3" -- your solenoids are registered with the names "S1" and "S2" and "S3". Can you ask your question with details that match the code you're using? It would also help to see the part of the code that isn't doing what you want it to. I don't know what debugging light you are talking about either. |
|
#3
|
|||
|
|||
|
Re: 0 = 1, but 1 = 1 as well?
Quote:
Most of the time, counting starts at zero, but in this specific case... one is one, and two is two... etc. Also, yes, true means it's on or open. |
|
#4
|
||||
|
||||
|
Re: 0 = 1, but 1 = 1 as well?
O.K., 1 = 1 in this case. Thank You
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera did not work for well at the regionals, but worked great at home. | Alan Ing | Programming | 12 | 17-04-2006 17:43 |
| Aim Well | Alekat | General Forum | 19 | 14-02-2006 12:46 |
| Well done 388.... | Useless member | Regional Competitions | 4 | 10-03-2003 00:00 |
| well lets see... | archiver | 2001 | 0 | 23-06-2002 22:08 |
| So, well, um, what now? | Joe Matt | General Forum | 23 | 14-06-2002 08:27 |