|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: [FTC]: Autonomous Deployment Error "1003"
Quote:
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. |
|
#2
|
|||
|
|||
|
Re: [FTC]: Autonomous Deployment Error "1003"
Thanks for the response!
The index array was the problem. We took out the array and it worked! (HOORAY!) Thanks again for the help! Now we can get moving because this little problem put us behind schedule. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |