![]() |
FRC2014 problem deploying with UDP write
[cross-posting since this is a much more active forum than usfirst]
Our students are trying to use an AndyMark AM-2645 (link) LED lighting kit. They've programmed the Arduino to accept commands over UDP. Normally we have no problems with the robot. As soon as we add "UDP Write" to the robot project, build succeeds but deploy fails with an error that the cRIO closed the socket. It's during deploy; their code never actually runs. We've isolated it to adding this one VI. I didn't get a screenshot today, but will soon. Couple questions:
|
Re: FRC2014 problem deploying with UDP write
2 Attachment(s)
Adding two attachments:
begin.png: Shows the modification to a default arcade drive robot project. I just added two VIs. Adding UDP Open is no problem. Adding UDP Write exhibits the rpoblem. screenshot.jpeg: Shows the error message from Labview. The body of that says: Deploying RT CompactRIO Target(successfully deployed target settings) Deploying FRC Robot Boot-Up Deployment (failed to deploy) LabVIEW: The network connection was closed by the remote peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools >> Options >> VI Server on the server side. |
Re: FRC2014 problem deploying with UDP write
The error message is somewhat clumsily telling you that you should verify that the TCP interface to the VI Server is opened. I don't really think that is the problem, but it is worth a try.
Also, did your project build successfully? If you perform the smaller steps of build, connect, deploy, which steps work and which fail? Also, what is the IP address of the target in the project? Greg McKaskle |
Re: FRC2014 problem deploying with UDP write
After beating my head against the wall for a few hours, it "mysteriously started working". Right now I can't get it to fail. See some comments below
Quote:
Quote:
We tried various things like cycling the power, rebooting the laptop, multiple known good laptops, and trying to deploy multiple times. Quote:
Like I said it "mysteriously started working" after a couple hours of testing different things. What I'm monitoring right now:
I've got my fingers crossed right now that this keeps working. |
Re: FRC2014 problem deploying with UDP write
Is this an eight slot? They have less RAM, and we have seen teams run out and have odd behaviors. You may want to watch the memory count on the deploy dialog or in the DS Charts tab on the right side.
Greg McKaskle |
Re: FRC2014 problem deploying with UDP write
Yes it's an 8 slot, and thanks -- that is a great idea. We've never checked RAM or flash memory consumption in the past.
|
Re: FRC2014 problem deploying with UDP write
If you are indeed running out of memory, it is most likely corrupted by the time the VIs finish loading. The easiest solution is most likely to change the ini file to leave out vision processing libraries from the startup list.
Greg McKaskle |
| All times are GMT -5. The time now is 08:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi