sample code

Is there anyone that would be willing to share a vi of the arcade motor control with button and/or triggers set up to control two spikes? I am a neophyte with labview and any help would be greatly appreciated
thanks john

Here’s one example using a Select function. If you want do something a little more complicated you may want to use a Case structure instead of the Select.

Also, depending on what you want the Spike to do, you could change the On and Off constants to and of the available values (i.e. Forward, Reverse, On, Off) as desired.

Teleop.vi (20.9 KB)


Teleop.vi (20.9 KB)

thanks much i will give this a try.
john