|
Re: Programming Help!
I'd like to help but that Elevator_Mechanism structure is crazy looking. It makes things hard to follow. Why did you not setup a class? I recommend you undeploy your code, reboot the cRio and use the "Debug Kernel Task" method to step through the code.
Does it really run for 5 seconds? If it runs for 5 seconds I doubt iyou have any memory or resource conflict errors. Are you petting the watchdog timer? Are your functions returning control where they should?
HTH
Last edited by wireties : 22-02-2011 at 18:39.
|