Log in

View Full Version : sample code


johncap100
29-01-2010, 16:13
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

airnate
30-01-2010, 23:57
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.

johncap100
01-02-2010, 08:18
thanks much i will give this a try.
john