Go to Post Instead of prototyping with plywood and machining metal for the final version, they make their prototypes out of sheet metal and machine the final robot out of wood. :) - Chris is me [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2009, 20:48
dman14 dman14 is offline
Registered User
AKA: Darren Stahl
FRC #4783 (FRC #1305 Alumni)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Ontario, Canada
Posts: 43
dman14 will become famous soon enoughdman14 will become famous soon enough
[FTC]: Labview can't use two controllers

I can get all the code running on one controller, but as soon as i add a second controller, it all stops working, I have installed all the patches, and have the latest firmware on my NXT.

I have tested the two joystick code on www.ftctraining.com and it did not work , when i use both controllers motors don't work, but i can get a display of true vs. false from a button read. When I try to access only controller two it does not work.

Any suggestions would be appreciated.

Thanks,
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2009, 22:53
Michael Coleman's Avatar
Michael Coleman Michael Coleman is offline
Registered User
no team
 
Join Date: Nov 2006
Rookie Year: 2001
Location: Orlando, Florida
Posts: 82
Michael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of light
Re: [FTC]: Labview can't use two controllers

Your post stated that you installed all of the patches from the www.ftctraining.com web site. This site has a pointer to three LabVIEW updates to on the National Instruments web site: zone.ni.com/devzone/cda/tut/p/id/7956

These updates are:
- Motor and Encoder Update
- Dual Controller Update
- Sketch Example Update

Are these the updates you installed? Try re-installing the updates. The installation requires several steps and perhaps one was skipped. A copy of the installation instructions for the Dual Controller Update are at the end of this post.

Be careful when downloading the updates, this web page contains updates for both NXT-G and LabVIEW.

Michael

-----------------------------
lv_ftc_2controllersfix Installation Instructions:

1. Make sure LabVIEW is not running.
2. In Windows Explorer, navigate to the folder where you installed LabVIEW 8.5.1. This is usually C:\Program Files\National Instruments\LabVIEW 8.5.
3. Navigate to the ..\vi.lib\addons\NXTToolkit\gcompiler\Backend.LEGO \Transformations\Register folder.
4. Drag the LEGO.Register.GetSimpleFPLocalsRegisterSets.vi you extracted from lv_ftc_2controllersfix.zip into the
..\vi.lib\addons\NXTToolkit\gcompiler\Backend.LEGO \Transformations\Register folder.
5. Click "Yes" on the popup dialog asking if you want to replace the existing file.
6. Now you will be able to use two controllers to control your robot. You will need to recompile your VIs to your NXT.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2009, 23:11
dman14 dman14 is offline
Registered User
AKA: Darren Stahl
FRC #4783 (FRC #1305 Alumni)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Ontario, Canada
Posts: 43
dman14 will become famous soon enoughdman14 will become famous soon enough
Re: [FTC]: Labview can't use two controllers

thanks, but i re-instaled the patch multiple times, and triple checked each step, still not working
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2009, 06:39
emmell's Avatar
emmell emmell is offline
Murphy was an Optimist!
AKA: Mannie Lowe
no team (Radbotics, RoboKnights, CircuitRunners, Oscar, and more...)
Team Role: Coach
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Marietta, GA
Posts: 178
emmell is just really niceemmell is just really niceemmell is just really niceemmell is just really niceemmell is just really nice
Re: [FTC]: Labview can't use two controllers

Try installing the FMS from the www.ftctraining.com site as well and running your programs from the FMS. It should work the same as the FTC Controller Station.

Also, if you are using ROBOTC, make sure you check the Dual controller button in their debugging windows. If you don't then both controllers act like one (I believe).
__________________
Mannie Lowe
FIRST Program Manager - Center for Mathematics and Science Education - University of Mississippi
Mississippi FIRST Tech Challenge Affiliate Partner


Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2009, 17:10
dman14 dman14 is offline
Registered User
AKA: Darren Stahl
FRC #4783 (FRC #1305 Alumni)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Ontario, Canada
Posts: 43
dman14 will become famous soon enoughdman14 will become famous soon enough
Re: [FTC]: Labview can't use two controllers

sorry for taking so long to respond, but i just got to test the FMS, still no luck getting two controllers to work, im using labview so it can't be the problem with robotC, but thanks for the ideas.

and an update on the problem: i can get it all running fine on one controller, but when i use controller 2 it stops running motors, i can still get a print from an if statment useing buttons, but i cant run any motors or servos when running a second controller

thx for the help so far, any other ideas?
Reply With Quote
  #6   Spotlight this post!  
Unread 03-02-2009, 20:21
emmell's Avatar
emmell emmell is offline
Murphy was an Optimist!
AKA: Mannie Lowe
no team (Radbotics, RoboKnights, CircuitRunners, Oscar, and more...)
Team Role: Coach
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Marietta, GA
Posts: 178
emmell is just really niceemmell is just really niceemmell is just really niceemmell is just really niceemmell is just really nice
Re: [FTC]: Labview can't use two controllers

Can you post the .vi or a screen shot of the program. Maybe we can check that out for you.
__________________
Mannie Lowe
FIRST Program Manager - Center for Mathematics and Science Education - University of Mississippi
Mississippi FIRST Tech Challenge Affiliate Partner


Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2009, 19:55
dman14 dman14 is offline
Registered User
AKA: Darren Stahl
FRC #4783 (FRC #1305 Alumni)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Ontario, Canada
Posts: 43
dman14 will become famous soon enoughdman14 will become famous soon enough
Re: [FTC]: Labview can't use two controllers

This isn't my code, but even using the basic two controller program from www.ftctraining.com site (http://www.education.rec.ri.cmu.edu/..._with_servo.vi) i can't get the multiple controllers at the same time, i can run a single controller fine, even when all i do is re-wire the inputs that access controller two into controller one it runs fine. I did make sure that all of the servers and motors were accessing the proper port and controller. On my other program i am using the template and same thing, doesn't run with two controllers but works fine with one. Also i have tried with and without the sequence flow.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-02-2009, 20:30
dman14 dman14 is offline
Registered User
AKA: Darren Stahl
FRC #4783 (FRC #1305 Alumni)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Ontario, Canada
Posts: 43
dman14 will become famous soon enoughdman14 will become famous soon enough
Re: [FTC]: Labview can't use two controllers

Ok, its all good now, i re-installed the update again, and it replaced a different file than it had been replacing before, anyway its now running perfectly fine, thanks for all your help
Reply With Quote
  #9   Spotlight this post!  
Unread 04-02-2009, 21:09
bandit2511 bandit2511 is offline
Registered User
no team
 
Join Date: Feb 2009
Location: MA, Salem
Posts: 1
bandit2511 is an unknown quantity at this point
Re: [FTC]: Labview can't use two controllers

I am running into an issue trying to control 2 NXT bricks with one labview vi how do i split up the search NXT's to control each one independently?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Tips page on using FTC Encoders with LabVIEW PhilBot FIRST Tech Challenge 7 27-01-2009 14:00
[FTC]: Problem with two controller setup in Labview wilsonmw04 FIRST Tech Challenge 2 11-11-2008 19:58
[FTC]: First problem with FTC and LabView.....? PhilBot FIRST Tech Challenge 5 07-11-2008 10:36
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
[FTC]: Two Divisions at FTC World Championships! KathieK FIRST Tech Challenge 0 05-02-2008 15:31


All times are GMT -5. The time now is 14:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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