Go to Post 22 motors? Challenge Accepted. - gyroscopeRaptor [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 21-12-2009, 11: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: 753
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]: Autonomous Deployment Error "1003"

Quote:
Originally Posted by neblixsaber View Post
Hi there, everyone.

When I'm deploying auton code to the robot, it has an error called Error 1003.
I can tell you generally why this hapens, but not exactly how to fix it.
However, It shouldn't be hapenning on any of the (latest) templates as these were tested prior to release. Have you modified them?

Anyway....

That error occurs when you use a VI that isn't supported by the NXT.

This problem usually occurs for 1 of 2 reasons...

1) You possibly built your VI when LABVIEW was targetd to the "Computer" and not the "NXT". In this mode, the pallettes will let you add any old VI because it assumes you are going to run the VI on the PC and not the NXT. If you "Target to NXT" while writing your code, LabVIEW will only show you VI's that will work on the NXT. I Know.... not very helpfull, but it's a good coding tip if you are trying something new.

2) SOME VI's only support SOME of their full capabilities when Targeted to the NXT. So, they will still show up on the NXT pallett, but they will cause that error if you use an "unsupported feature" of the VI.

Let me give you an example that catched me up every time....

The IndexArray VI is used to strip individual elements out of an array.
On the PC you can use this to extract one OR MORE elements from an array simply by dragging it to make it bigger.

However, if you target this to the NXT, you can only get ONE element from the array. If you want two elements, you need to use two copies of the VI. LabVIEW lets you make the VI bigger, but if you do, it just won't work

It's annoying, plus if you forget, you don't get any real help... you just get that error.

So, it's really important to know what VI's are fully supported by the NXT...
You need to read the "NXT Advanced Programming Guide" that's in the manuals folder on your hard disk:

C:\Program Files\National Instruments\LabVIEW 2009\manuals\NXT_Advanced_Programming_Guide.pdf

In particular the "LabVIEW Basics" section, which details the features that ARE and ARE NOT supported on the NXT.

If the templates that come as part of the FTC toolkit give this error, I'd make sure you have the latest version of the toolkit (it was updated once).

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
 


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]: Issue with POV on LabVIEW "FTC Read Controler.vi" MattSr FIRST Tech Challenge 0 01-11-2009 18:56
error : "There were linking errors!"....help please ProgrammerMike Programming 3 21-02-2008 08:59
MPLAB 8.0 error "Can not fit section" billbo911 Programming 7 20-02-2008 15:26
Screenshot of "code not understood" or similar error needed! Elgin Clock Programming 3 17-02-2006 22:06
Program error - "can not fit the section" miketwalker Programming 9 20-02-2005 01:21


All times are GMT -5. The time now is 08:16.

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