|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: C-Rio cant connect -error
Sorry I've taken so long. I got distracted by weekend guests.
When you removed the default framework gyro from your code, you missed a spot where the gyro was used in Disabled.vi. The processing of that error soaked up 25-30% of your available CPU time (on top of the normal load). Take the references to Gyro out of there and you should be fine. This message on the Driver Station shows the cause of your issue: Code:
ERROR <Code> -44007 occurred at Gyro.lvlib:RefNum Registry Get.vi>>Disabled.vi>>Robot Main.vi <time>20:49:59 12/12/2010\par FRC: The RefNum you are trying to Get does not exist in this RefNum Registry. The robot was so busy it didn't have time to process your code download. --- Here's a tool that tells you how much CPU time your program is chewing up on the cRIO ONLY when you're using the "Run" button. In your case where you couldn't use the Run button, you'd keep the downloaded program from running on the cRIO by using the No App DIP switch on the cRIO and resetting. Then when there is no code running on the cRIO your Run button would work. On any of the LabVIEW windows go to: Tools -> Real-Time Module -> System ManagerOn the System Manager pop-up:
In the photo below
You can use this tool to figure out what takes the most time in your code. The bottom line is to eliminate any and all errors whenever and wherever they occur... Last edited by Mark McLeod : 12-12-2010 at 19:59. |
|
#2
|
||||
|
||||
|
Re: C-Rio cant connect -error
Wow. I will definitely try this tomorrow when we meet and get back on the results. Thanks!
![]() |
|
#3
|
||||
|
||||
|
Re: C-Rio cant connect -error
Yes
it worked!! Thank you! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: C-Rio cant connect to target...again | whcirobotics | FIRST Tech Challenge | 3 | 15-12-2010 21:52 |
| Failed to connect to target Error | Rangel | C/C++ | 4 | 28-07-2010 17:04 |
| Cant Get C-Rio to talk to Sidecar | Megy698 | Electrical | 2 | 20-02-2010 15:16 |
| Error: "The NI-RIO software on the remote..." | ellisk | Programming | 1 | 05-02-2010 22:42 |
| cant get NXT to connect to controller station via bluetooth | cougarbotics | FIRST Tech Challenge | 5 | 04-12-2008 00:19 |