Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Labview issues (http://www.chiefdelphi.com/forums/showthread.php?t=112255)

katsauga 28-01-2013 17:06

Labview issues
 
I cannot remember how to use a button on a joystick for a set of motors, could someone send me a diagram?

bhumudar 28-01-2013 17:30

Re: Labview issues
 
You should start by looking though the LabVIEW FRC examples. They are extremely helpful, and easy to read through. To answer your question, what you need to do is open up your teleop block diagram VI and inside, there should be a joystick already opened. Right click on any white space, go to programming and look for "unbundle by name" in the cluster palette. Finally just wire the "button" node from the joystick to the input of the "unbundle by name". Once you've done this you will be able to see all the buttons available to you. If you want to control a motor with it just call the motor inside of a case structure and make any button the Boolean input to the case structure. Good luck with your season!

katsauga 28-01-2013 17:33

Re: Labview issues
 
I know where to get buttons, I mean, I don't know how to wire them to the drive, what VI do I use?

bhumudar 28-01-2013 17:45

Re: Labview issues
 
1 Attachment(s)
I've attached an example VI.


All times are GMT -5. The time now is 02:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi