Spike Relay Instance in C++

Greetings,

I have been looking for a few days about how one would create an instance of the spike relay class. I have looked in the documentation to find out how one declares the direction of the relay to no avail. Does any one have any suggestions?

Thanks,
Thys Ballard, Programmer for the TeraViks

Have you looked at this? http://wpilib.screenstepslive.com/s/3120/m/7912/l/132406-on-off-control-of-motors-and-other-mechanisms-relays

If you still have this problem, the C++ WPILib documentation for Relay shows that you can pass Relay::kBothDirections, Relay::kForwardOnly, or Relay::kReverseOnly to specify the direction of the relay.