![]() |
Code dowloading doesn't work
Currenly I can run code from windriver and it works perfectly. However when I download/reply code the crio doesn't run the new code; instead it runs some other code... This code also takes a very long time to start after it is enabled nd behaves unpredictably, skipping printfs... The weird thing is that the code executes perfectly when I only "run" the code.
|
Re: Code dowloading doesn't work
Make sure you Undeploy before downloading the new code.
Also, one thing I've noticed is that if it seems to be slow downloading the code, then it typically doesn't actually download it. Weird, but that's what happens. We've sometimes had to restart Workbench - not sure why, but sometimes it seems to get a little tripped up after downloading a few times, or even just switching workspaces to import one of the sample programs. If all else fails, re-flash the cRIO. We did this last night, as it was getting unreliable. We would run some code successfully, make a change, wouldn't run, back out the code change back to the original working code, download, and it wouldn't work! Why? Who knows.. But re-flashing it seems to have fixed our issues on more than one occasion. |
| All times are GMT -5. The time now is 10:43 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi