![]() |
Deploying code probleme
Hi we just created our new mecanum wheel programme and when we deploy it it does work all the ip and electric connection are right. The error that appears is that some vi are missing while the deployment sequence but all are vi are there.
Also we have a start-up programme in our crio. Is this the cause of error. Please help. |
Re: Deploying code probleme
Hi,
You just haven't posted enough info to help you yet. Firstly,
|
Re: Deploying code probleme
This sometimes happens when you have VIs like autonomous which are in a broken state. RobotMain doesn't directly call it, so RobotMain isn't broken, but during the build or debug/deploy, it is discovered.
Greg McKaskle |
Re: Deploying code probleme
I'm just guessing here, but this may cause your error or something like it. Is your copy of LabView registered?
Also, as the previous poster said, is your 'run' arrow white, or is it broken (which means there's a problem with one of the vi's) One more question: Are you able to download a fresh copy of the default code? This won't make your mechanum run, but it will test your ability to download code. |
Re: Deploying code probleme
Quote:
2) Labview 3) When deploying there a message that appears that say some vi are in conflits and need the be not run for the code to execute. |
Re: Deploying code probleme
Quote:
|
Re: Deploying code probleme
Quote:
|
Re: Deploying code probleme
Quote:
|
Re: Deploying code probleme
Quote:
|
Re: Deploying code probleme
A program that is set to run at start-up is separate from code deployed by clicking on the "run" button. The built code is loaded from Flash memory on every boot and executed immediately after booting completes. When you click the "run" arrow, it terminates and overwrites any code currently executing, with your new code. So any time you have code that you don't like, you can simply overwrite it with new and hopefully improved code. It doesn't however, do anything with your "start-up" program on the on board Flash. You can overwrite that code on the Flash memory by setting any new code to "run as start-up".
There is usually not much need to actually delete, without overwriting, the start-up code. You can disable it from running by using the dip switches on the older cRIO, or the configuration utility for the newer cRIO II. I would only use that option if mis-written is causing problems with the cRIO. Generally overwriting the start-up program is the best solution, even if that is only using the default code. (Or your last backup known to work.) |
Re: Deploying code probleme
Every thing is now working. We need to open the dashboard then it will run the startup programme, then we run the new programme and then it work. Before when we deploy a new programme theres no dashboard that appears. But there the fact that we manualy need to open a dashboard and the startup programme deploys everytime we open it. We also check the crio imaging tool we had console out check, is that normal?
|
Re: Deploying code probleme
Your terminology seems a bit confused. To help me understand what you are describing, can you tell me what the "dashboard" you're talking about looks like? What exactly do you mean by "the startup programme deploys"?
|
| All times are GMT -5. The time now is 02:09. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi