|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Relay
Well we had it in Slot 8 and yes it is supposed to be there BUT whenever I try to run the button for the Spike Relay the output is telling me "Module in slot 2 is not a solenoid. Isn't that strange?
|
|
#2
|
|||||
|
|||||
|
Re: Relay
Yes it is strange, but then again I'm not a programmer. Someone with some programming skills should chime in for your problem soon.
-RC |
|
#3
|
||||
|
||||
|
Re: Relay
Quote:
If you're trying to control a Spike, you should be using the Relay class, not the Solenoid class. Note that the Spike should be connected to the relay ports on the Digital Sidecar, not the Solenoid breakout board. |
|
#4
|
||||
|
||||
|
Re: Relay
also you could Creating it wrong...
This Correct Solenoid S1 = Solenoid(1); //Port 1 / Module 8 This Correct Solenoid S1 = Solenoid(8,1); //Port 1 / Module 8 Incorrect because slot 2 is not valid for the solenoid module Solenoid S1 = Solenoid(2,1); //Port 1 / Module 2 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ Relay Code? | Happyisgood | C/C++ | 10 | 16-07-2009 14:54 |
| Programming a relay in C++ | Kage | C/C++ | 2 | 10-01-2009 17:51 |
| Relay Commands | Matt Krass | Programming | 6 | 18-02-2006 23:03 |
| Relay Assignments | MulletFish | Programming | 9 | 27-01-2005 14:15 |