Go to Post ...can I play a computer game during a competition, while i'm suppposed to operate the robot? - Gal Longin [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 10-09-2008, 20:10
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
[FTC]: First problem with FTC and LabView.....?

Hi

FTC 2818 just received their Kit of parts and I'm going through all the attached disks and software etc.

Keeping FLL, FTC and FRC Beta straight is getting difficult.

I sucessfully loaded Labview 8.5.1, updated the NXT firmware and went through the "Getting Started with Labview Toolkit for LEGO Mindstorms NXT" manual. (Located under the labview Program folder)

I was able to write several labview programs for the NXT, and ran them with debug mode and direct commands. I created some pretty cool realtime/logging displays. So I'm pretty sure all my software & drivers etc are GOOD !!!

Things went downhill when I started working on the "Getting started with the FIRST Tech Challenge Software" manual.

I just could NOT get the FTC Controller Station software to run.

The program loads, and I hit the Run Icon, but as soon as I try to type something in the "NXT" name box, I get a windows application error. Illegal instruction read..... I tried many times.

Since this is a pre-compiled (EXE) program, I went looking for the NI VI.
I found it (adjacent directory) and tried running that from inside LV8.5.1. Very simmilar results....

So now my question is.....

Who an I going to call? FIRST, NI, Pitsco

So I decided that THIS was the best place to start...... Any Ideas?
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 11-09-2008, 07:46
GeorgeTheEng's Avatar
GeorgeTheEng GeorgeTheEng is offline
Former Lord of the Vex
AKA: George Marchant
FRC #0087 (Red Devils)
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2000
Location: Mount Laurel, NJ
Posts: 166
GeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud ofGeorgeTheEng has much to be proud of
Send a message via AIM to GeorgeTheEng
Re: [FTC]: First problem with FTC and LabView.....?

While I'm not sure FIRST is going to be the one addressing the problem, they are probably the best place to start. Email ftc_teams@usfirst.org.

They will either forward that to the correct people or give you advice on who to talk to. I think this is probably an NI issue, but the FTC can probably get in contact with someone familiar with the software. Calling NI directly will probably put you in contact with first level tech support who may have no clue what FTC is.
__________________
George Marchant - Lockheed Martin Engineer & General Nut Case
FIRST Credentials: Team 87 Mentor | Former Director FIRST Vex Challenge
NJ FIRST Planning Committee Member & NJ FVC Committee Member
Philadelphia Alliance Regional Corporate Advisory Board Member |
FRC and FTC volunteer at too many places to list (NJ, VA, DE, PA, NY, Championship)|


"Hi my name is George and I'm a FIRST-aholic. I've been a FIRST-aholic since 2000..."

Last edited by GeorgeTheEng : 11-09-2008 at 07:47. Reason: too early to write good English... editorial...
Reply With Quote
  #3   Spotlight this post!  
Unread 11-09-2008, 12:09
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: First problem with FTC and LabView.....?

Thanks George....

I did send an email.... and after much more searching... I discovered the CMU FTC support site which is really good, and has it's own forum:

http://www.education.rec.ri.cmu.edu/...view/index.htm


However, I eventually figured out the problem the hard way... trial and error.

The caveat is that this might JUST be a problem on my PC.....

Ultimately I found that the FTC Controller program ran fine if I had the LT Game Controllers plugged directly into my PC's built-in USB connectors. Once I discovered this, I found several other combinations that did not work...

Interesting to note is that my PC has USB 1.1 ports onboard.

I also have a 4-port USB 2 card in my PC, and if I plugged the game controllers into this, the program failed.

I also have an external 4-port USB 2 hub on my desk, and if plug the game controllers into this device, the program doesn't run, regardeless of whether I have the hub plugged into the PC's USB 1 or 2 ports.

Interesting to note is that the PC was happy to recognize the game controllers on ANY of the ports, but not the FTC Controller program....

It's clear when I run the controller program that it just doesn't see the game controllers in any other location than the root USB node.... My only conclusion is that the Labview USB interface code is taking some shortcuts.....

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 11-09-2008, 22:04
dickswan dickswan is offline
Registered User
no team
 
Join Date: Feb 2006
Location: dallas, TX
Posts: 13
dickswan is an unknown quantity at this point
Re: [FTC]: First problem with FTC and LabView.....?

I'm the developer of ROBOTC -- one of the available programming solutions for the FTC -- and also reasonably familiar with the LabVIEW stuff as well.

I have forwarded a reference to this thread to the NI developer of the Controller Station.

I have no problem on my PC connecting game controllers via a USB hub.

I believe LabVIEW uses the Microsoft DirectX functions "wrapped" by the "LVInput.dll" file. You just might want to do a search on your PC disk and make sure that you only have one copy of it on your C-disk.

NOTE: The ROBOTC IDE (Integrated Development Environment) has "Controller Station" functionality built into the IDE. You might want to give it a try and see if it is working. Being built-in to the IDE you can easily switch between compile/edit/download program source and then try it out on the Controller Station without having to exit NXT-G / LabVIEW and entering the Controller Station.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-09-2008, 11:00
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Problem Solved...

I eventually solved my problem.

It turned out that it didn't matter where the controllers were plugged in, just what elese happened to be connected.

I have a Microchip PicKIT-2 programmer that is usb based.

If I have this plugged in, the Control Station software won't run.

I guess these is some incompatibility somewhere.
If you have a simmilar problem, remove stray USB devices.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #6   Spotlight this post!  
Unread 07-11-2008, 10:36
thief thief is offline
Registered User
no team
 
Join Date: Nov 2008
Location: india
Posts: 1
thief is an unknown quantity at this point
Re: [FTC]: First problem with FTC and LabView.....?

chut it was the same prob i faced when i was learning
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]: FTC and/or FRC Rick TYler FIRST Tech Challenge 3 25-03-2008 22:57
[FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) Mr. Lim FIRST Tech Challenge 2 03-03-2008 11:54
[FTC]: [FTC]: Ontario Provincial FTC Start/End Times cbhl FIRST Tech Challenge 8 16-12-2007 13:37
[FTC]: FTC/VEC First Practice Video Brandon Martus FIRST Tech Challenge 0 28-09-2007 09:47
[FTC]: Hey FTC teams, Vex and a chance to be on MTV? Rich Kressly FIRST Tech Challenge 1 12-09-2007 13:35


All times are GMT -5. The time now is 18:33.

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