|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
[FTC]: Error on downloading sample codes in Labview
I am starting working with LabView and the NXT. I loaded labview 8.5 (from the FTC kit), loaded the labview and lego addons, updated the nxt and lego software, update the nxt firmware. The NXT Module recognizes the NXT attachment when attempting to download a program (even the play a sound initial program) I recieve the following error:
================================================== ================= Error 1003 occurred at Invoke Node in XTToolkit.CompileOrCancel.vi->NXTToolkit.TargetAgent.vi Possible reason(s): LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is runnable. Method Name: Run VI VI Path: C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\NXTToolkit\gcompiler\Backend.LEG O\NXT.Compiler.Core.vi ================================================== ================= and a dialog box arises with continue and stop options: (1) selecting Stop brings up the following dialog NXTToolkit.TargetAgent.vi is password-protected. Enter the password to access the block diagram. (2) Selecting Continue makes the nxt beep twice but the program is not downloaded Any assistance you can provide will be greatly appreciated. Mike |
|
#2
|
|||
|
|||
|
Re: [FTC]: Error on downloading sample codes in Labview
A couple questions:
Does the NXT connect up to Labview? Are you conecting with the USB cable or Bluetooth. You should see either USB or a diamond (for Bluetooth) on the NXT. What sample codes are you trying to download? |
|
#3
|
|||
|
|||
|
Re: [FTC]: Error on downloading sample codes in Labview
When you say you loaded the LabVIEW and LEGO addons, what do you mean? The FTC software on the CD comes with the FTC Toolkit and NXT Toolkit built-in already. If you used a separate installer for the NXT Toolkit, that might explain the error you're seeing.
|
|
#4
|
||||
|
||||
|
Re: [FTC]: Error on downloading sample codes in Labview
The connection to the NXT is USB. I can rename the NXT and run stored programs from the NXT Terminal as well as update the firmware. The connection to the NXT from LabVIEW is working. The addons I mentioned were from the supplied CD in the kit. I have updated the three patches from NI (two controller, Encoder, sketch and example), Additionally I have gone through the 'repair' process for the installation. The repair process is available through the Add/Remove Programs in the Control Panel. The only time I get the error listed is when I try to compile/download/run to the NXT using the NXT Terminal. I have also tried the compile/download without the run from the NXT Terminal. Same error.
I did have an interesting thought. I uploaded a sample program from the NXT to the laptop, renamed it and then downloaded it to the NXT. This works. It must be the compilation process failing. I'll rename my original post to reflecdt the status. Mike |
|
#5
|
|||
|
|||
|
Re: [FTC]: Error on downloading sample codes in Labview
It looks like you have a broken VI in your compiler. Try opening the VI in the error message:
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\NXTToolkit\gcompiler\Backend.LEG O\NXT.Compiler.Core.vi If the run arrow is broken, hit it and see what it tells you. Post it back here for us and we'll go from there. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: LabVIEW Programming Template for FTC | Team 288 | FIRST Tech Challenge | 30 | 06-02-2010 17:49 |
| Downloading LabView Programs onto Old Controllers | Charlie | NI LabVIEW | 1 | 07-11-2008 16: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 |
| Downloading LabVIEW Apps | kevindur | National Instruments LabVIEW and Data Acquisition | 6 | 01-02-2006 02:50 |