![]() |
Failed to Deploy, File Permission Error
1 Attachment(s)
Over the past week or so, we have had some problems deploying with LabVIEW. At this point we are in a rush with a competition coming up this Saturday. There is no problem building the code, but every time I try to deploy the code it fails And shows;
Attachment 19344 LabVIEW: File permission error. You do not have the correct permissions for this file. However running the main vi works fine and we aren't having any connection issues. I've tried reformatting the Rio, using different cables like Ethernet and USB B, running LabVIEW as an administrator, and changing the build file location, but nothing has worked. If it helps any, I've attached a picture of the deployment window after its failed to deploy. Any help would be greatly appreciated. Thanks. |
Re: Failed to Deploy, File Permission Error
I don't recognize the error. Are you trying to "Deploy" the code? If so, don't do that. After you Build it, just "Run As Startup".
|
The same problem occurs when running as start up as well.
|
Re: Failed to Deploy, File Permission Error
Quote:
Code:
chown -R lvuser:ni /home/lvuser |
Changing the permissions results in the same problem. The code will build fine, but can not deploy or "run as startup". Is it possible to build the LabVIEW code to a binary that would be able to be put on the roborio manually?
|
Re: Failed to Deploy, File Permission Error
Are you sure that you changed ownership as Joe suggested? Can you ls -l the /home/lvuser directory and post the results?
Greg McKaskle |
We changed the ownership of the files by ssh into the roborio. The file permission error is gone, but it doesn't deploy all the code. It says it successfully has deployed the code but the robot code light in the driver station doesn't turn green, it stays red
UPDATE: One of the tech people here at the competition helped us out and we reformatted and updated the firmware on the roborio and now it magically works. Thank you Aaron, if you ever read this. |
Re: Failed to Deploy, File Permission Error
Quote:
|
No we didn't restart the code. That could have been the problem.
|
| All times are GMT -5. The time now is 03:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi