Chief Delphi

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

katsauga 19-01-2013 09:45

Labview Help
 
could someone post a sample VI for a four CIM motor system? We need it in tank drive, but i dont know where to start:]

katsauga 19-01-2013 09:47

Re: Labview Help
 
it uses talons, four of them

Mark McLeod 19-01-2013 10:12

Re: Labview Help
 
1 Attachment(s)
Here's one:

katsauga 19-01-2013 10:45

Re: Labview Help
 
which VI do i build this in?

Mark McLeod 19-01-2013 11:09

Re: Labview Help
 
You should have created a default robot project, and there will be default code already in the vi's. The vi's you want to modify are under the CompactRIO Target -> Team Code

There are three parts:
  • The code labeled Begin.vi goes in Begin.vi
  • The code labeled Teleop.vi goes in Teleop.vi
  • The code labeled Finish,vi goes in Finish.vi
You also have to add a second Joystick 2 in Begin.vi, but you can highlight and copy/paste the default code for Joystick 1, then change the USB and the name.

For the drive code there will be conflicting default code, so remove that or at least make sure the PWMs referenced in Begin.vi are different than the ones you are using.

katsauga 19-01-2013 11:14

Re: Labview Help
 
which template is the default robot project? when i go in, in asks what architecture i want. i dont remember that last year

Mark McLeod 19-01-2013 11:30

Re: Labview Help
 
That's new this year.

I'd suggest choosing Arcade Drive Robot - hardware or simulation


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

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