Go to Post Mentor: How is that held in place? CAD Lead: Go to the hardware store and buy a bag of constraints and put the constraints on the robot. - Kenyow [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 27-02-2009, 14:10
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
I can't build or deploy! Error 6?

Can anyone help? When I try to build or deploy our code we get the following error-

Error 6 occurred at Create Folder in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW: Generic file I/O error.

C:\Program Files\National Instruments\LabVIEW 8.5\resource\plugins\NewDialogFiles\ProjectWizards \FRC\FRC Templates\builds\FRC cRIO Project\RT CompactRIO Target (0.0.0.0)\FRC Basic Robot Deployment\c\ni-rt\startup\NI_FPGA_Interface.lvlib_NIFPGA System
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2009, 14:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: I can't build or deploy! Error 6?

Are you running Vista?
If so right click on the LabVIEW icon if you have it on your desktop, and choose to "Run as..." administrator.

It just looks like you don't have full administrator privileges.

It also looks like you need to set your cRIO's IP address correctly
RT CompactRIO Target (0.0.0.0)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-02-2009 at 14:21.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2009, 19:56
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: I can't build or deploy! Error 6?

Within our code the RT CompactRIO Target (10.21.47.02) is set to our team's IP address.

I did notice that part of the file name that is associated with the error message is RT CompactRIO Target (0.0.0.0).

C:\Program Files\National Instruments\LabVIEW 8.5\resource\plugins\NewDialogFiles\ProjectWizards \FRC\FRC Templates\build\FRCcRIOProject\RT CompactRIO Target (0.0.0.0)\FRC Basic Robot Deployment\c\ni-rt\startup\NI_FPGA_Interface.lvlib_NIFPGA System

Could this be part of the problem?
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2009, 20:05
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: I can't build or deploy! Error 6?

Are you using LabVIEW update 3? I think the build path you have is from an older version.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-02-2009, 20:13
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: I can't build or deploy! Error 6?

I think it may have something to do with file naming. The error message indicates that the file that is set in the "Local destination directory" from the FRC Basic Robot Deployment Properties is the cause. We did have earlier issues when we renamed and moved our original project.

What file path shoul the "Local destination directory" point to?

Last edited by grosh : 27-02-2009 at 21:06.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-02-2009, 21:13
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: I can't build or deploy! Error 6?

Don't blindly reinstall. If it's a pathname change issue, the fix is to find the spot in the build specification that points to the incorrect path and to modify it to point to the proper one.

Make a new project and look at its build spec for an example of what the existing project needs to look like. We had to do that when we moved our code from a Windows XP system to a Vista one, and the "My Documents" folder location is different.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-02-2009, 21:30
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: I can't build or deploy! Error 6?

I think I found the correct filepath. I made the change tried to build and got a lot of file collision warnings. I know from reading other threads that seems to be normal..right? At the end of the build it did say the build was complete.

Now, of course the robot shipped so I can't make sure it will deploy..but..when we get access to our robot again we will need to right click on "FRC Basic Robot Deploy Properties" then chose "run as startup"...right?
Reply With Quote
  #8   Spotlight this post!  
Unread 28-02-2009, 07:00
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: I can't build or deploy! Error 6?

I believe the 0.0.0.0 needs to be set in the properties dialog for the cRIO. Right click on the cRIO item in the project window and put the correct IP in. This normally gets filled in by the new project wizard, but this is how to change it later. It is also possible that this is the name of the cRIO in the project and in that case, you change it in the same place.

Greg McKaskle
Reply With Quote
  #9   Spotlight this post!  
Unread 28-02-2009, 10:54
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: I can't build or deploy! Error 6?

What version does it show when you got to help -> About FIRST Robotics Competition Software?
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
Run works but build&deploy doesn't program1 NI LabVIEW 3 03-02-2009 22:32
LabVIEW Woes: Build/Deploy time too long?! leftylink NI LabVIEW 7 27-01-2009 21:52
Can't Deploy All of Project to cRIO MachineSMMC NI LabVIEW 2 15-01-2009 18:41
Build Error S.O.S. TimeOut Programming 2 10-02-2006 00:10
Build Error Chris.Steimel Programming 13 26-01-2005 17:44


All times are GMT -5. The time now is 21:36.

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