Quote:
Originally Posted by smcmahon
--------------------
I can get the code from the Programmer a little later on today, but that's basically exactly what we have Mr. Anderson. We have code that sets the relay(s) to FORWARD if Button 1 is true, and OFF if button 1 is false. And then I think they're REVERSE if Button 2 is true, and OFF if button 1 is false.
We've never programmed Spikes like this before. The only one we ever used was "always Forward" and it was for a harvester brush in 2009.
What's the proper way to program the Spike relays to accomplish what I described above?
[should I move this to Programming/LabVIEW, or start a new thread there?]
|
You need to use nested Case sttructures or multiple Select VIs to get down to a single Relay Set VI. The multiple Relay Sets are conflicting, sometimes one is in control and sometimes the other is so sometimes your Spike gets set forward and sometimes it gets set to off. It's likely just sheer luck that is preventing you from seeing the same behavior in the forward direction.