|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Downloading code: Netbeans does not reset cRIO
When downloading code, Netbeans stops at "Setting up for RUN". When I reset the cRIO, the code then runs. In the past (before the official Java release, using Beta Java) Netbeans reset the cRIO for me. Additionally, I do not get a console to see the System.out.println's of my program, as I did in the past, when Netbeans reset the cRIO and stayed attached to the connection.
Both my computer and the cRIO have been updated (cRIO is at v19 and the computer has had the latest "Labview" update). Does anyone know how to fix this so that downloading and viewing println output work correctly? Thanks. |
|
#2
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
I've got the same problem on my personal laptop, although it works fine on the Classmate.
My laptop is running Ubuntu; I installed NetBeans and then used the plugin installer to get the FRC stuff. I also used the plugin installer to update NetBeans on the Classmate. Last edited by StevenB : 16-01-2010 at 16:12. |
|
#3
|
||||
|
||||
|
Re: Downloading code: Netbeans does not reset cRIO
I was having the same problem. What worked here was to go to Network Connections and use the default computer IP (10.6.10.6 in my case, 10.15.40.6 in yours) to connect. After that try running the program again.
Hope this helps! |
|
#4
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
Can you ping the cRIO?
The issue may be that the broadcast UDP packet info may not be making it to your machine. If your on Windows, then try running the NetConsole for LabView. If it does not work, then neither will ours. |
|
#5
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
Make sure that your netmask is set correctly. We had this problem also, changing the netmask to the correct 255.0.0.0 fixed it.
|
|
#6
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
Hmm...that might explain it. My team has found that any computer with a static IP will download, while a computer using DHCP will not. This doesn't make sense, unless you consider that the router suggests a subnet mask of 255.255.255.0 rather than 255.0.0.0.
|
|
#7
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
I have the same issue. When I hit the build and run button my output line hangs on "set up for Run" It works when I reboot via the cRIO but I still want debug code. Any other ideas other than resetting the IP and checking the subnet mask?
|
|
#8
|
|||
|
|||
|
Re: Downloading code: Netbeans does not reset cRIO
Okay, so after great searching of forums and googling, I have finally found one solution to the setting up for run issue. It turns out the windows firewall seems to have been blocking communication back from the cRIO resulting in the disruption. So, if you have this issue and setting a static IP didn't help, try turning off the windows firewall. It worked for us.
-2577 |
|
#9
|
||||
|
||||
|
Re: Downloading code: Netbeans does not reset cRIO
We are also seeing this issue, and we had to run a cable from the laptop to the router. I never had a issue before this build of squawk.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code deploys but does not save to cRIO | Bill Taylor | NI LabVIEW | 11 | 15-02-2012 20:30 |
| Imaging Tool does not find cRIO | aeasson | FRC Control System | 2 | 10-01-2010 20:39 |
| 0.00 Volts - Code Not Downloading - Randomly Works? | R.C. | Electrical | 7 | 26-08-2009 13:52 |
| downloading code to cRIO | mint564 | C/C++ | 6 | 10-02-2009 19:30 |
| Camera does not search in autonomous mode after reset | Keith Watson | Programming | 17 | 07-03-2006 00:42 |