Go to Post Mentor: You must first learn patience... Student (impatiently): How long is that going to take? - kaszeta [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 26-02-2010, 11:22
rellimcire rellimcire is offline
Robolopes Software Advisor
AKA: Eric Miller
FRC #2339 (Robolopes)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Lancaster, CA
Posts: 11
rellimcire is an unknown quantity at this point
Re: Cannot deploy code

Kind of covered this, but thought I'd add a data point.

Our main code computer is a laptop running Windows Vista. We use LabVIEW. We also get sporadic disconnections and other network issues.

Particularly we get the stop waiting and disconnect panel while running or deploying. Usually it goes away after several minutes. Perhaps you need to wait longer.

Others have had good ideas, just thought I'd throw out a possibility.
Reply With Quote
  #17   Spotlight this post!  
Unread 28-02-2011, 23:02
BrianFarrell BrianFarrell is offline
Registered User
FRC #2062 (C.O.R.E. Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2005
Location: Milwaukee, WI
Posts: 4
BrianFarrell is an unknown quantity at this point
Re: Cannot deploy code

We have been having this problem a lot lately as well. We tried the following:

- power cycle power
- reset cRIO
- restart LabView
- reboot the computer

On a hunch we checked for services. We restarted the services and power cycled the robot. This seems to be an effective work around for the problem. I am attaching a simple batch file you can run to restart the services.

NOTE: You will need to rename the batch file to remove the .txt extension.

I hope this works for you as well.
Attached Files
File Type: txt restartlabview.bat.txt (373 Bytes, 51 views)
Reply With Quote
  #18   Spotlight this post!  
Unread 28-02-2011, 23:07
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Cannot deploy code

Quote:
Originally Posted by Noamr View Post
We had the exact same problem (it would get stuck deploying the lvproj).
At first we could solve it by building and deploying the code (after that it ran fine).
At some point that also stopped working. Someone told us it might be because our flash code gets stuck doing some process. Anyway, we formatted, re-imaged the controller, ran super-simple code on it and now it's fine.
I think it might have gotten stuck because the enable vision was on and the camera wasn't connected. If I find out more about this I will post it here.

Hope this helps...Good luck!
This sounds like it could be the problem I reported here: http://www.chiefdelphi.com/forums/sh...ad.php?t=92533
Reply With Quote
  #19   Spotlight this post!  
Unread 16-03-2013, 15:46
moc601 moc601 is offline
Registered User
FRC #0601 (Baybots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Hampton Bays, NY
Posts: 18
moc601 is an unknown quantity at this point
Re: Cannot deploy code

After working successfully for a few weeks, I could not deploy code.
I re-imaged the CRIO and it would deploy once and then the robot code would never load in the dashboard.

Using wireshark to capture packets I could see that all the CRIO would do was to send an RST (reset) packet back to the driver station.

Looking at the netconsole CRIO app (Must be selected when re-imaging CRIO)
I saw a whole bunch of memory allocation errors about 10 seconds after CRIO reboot.

Startup Application: /c/ni-rt/startup/startup.rtexe
0xb75698 (Main Application Thread): memPartAlloc: block too big 108 bytes (0x8 aligned) in partition 0x32ddf8
0xb75698 (Main Application Thread): memPartAlloc: block too big 580 bytes (0x8 aligned) in partition 0x32ddf8
0xb75698 (Main Application Thread): memPartAlloc: block too big 108 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 80 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 80 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 1024 bytes (0x8 aligned) in partition 0x32ddf8
0x80a7d8 (Exception Handler Thread): memPartAlloc: block too big 84 bytes (0x8 aligned) in partition 0x32ddf8


Turned out to be an FTP session that I started in the begin.vi was the issue.
It somehow used up the heap, still looking into it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Download Code mandalorethx C/C++ 5 15-01-2010 12:44
Cannot get Code to Download to cRIO greekgod8591 C/C++ 25 09-03-2009 22:10
unable to deploy SL8 NI LabVIEW 1 17-02-2009 21:02
Cannot Download Code to our Robot jcvd C/C++ 9 27-01-2009 13:09


All times are GMT -5. The time now is 21:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi