Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   How to deploy code from wifi to crio (http://www.chiefdelphi.com/forums/showthread.php?t=132799)

Intern 13-01-2015 18:18

How to deploy code from wifi to crio
 
i can deploy code via usb but not the dlink
please and thanks

Mark McLeod 13-01-2015 18:36

Re: How to deploy code from wifi to crio
 
In the Project Explorer window is the Target listed as (roboRIO-3596.local) ?
That address switches automatically between USB and Ethernet.

If you use one of the LabVIEW example projects it will default to (172.22.11.2) which is USB only.

Can your Driver Station connect to the roboRIO over wireless?

Intern 13-01-2015 18:56

Re: How to deploy code from wifi to crio
 
It is listed as roboRIO-3596.local. i connected to the dlink and i am not getting communications.

Mark McLeod 13-01-2015 19:02

Re: How to deploy code from wifi to crio
 
Did you setup the DLink using the Bridge Configuration Utility?
That starts the DHCP service used in this year's networking and sets the SSID of the DLink to your team number.

When you installed the FRC Update the utility was installed at:
C"\Program Files\National Instruments\LabVIEW2014\project\Bridge Configuration Utility

Intern 13-01-2015 19:14

Re: How to deploy code from wifi to crio
 
ive tried using the tool but it can't change the ip "its a error".

Mark McLeod 13-01-2015 19:21

Re: How to deploy code from wifi to crio
 
To fix the DLink try:
  1. Power the DLink on
  2. Set the switch on the back of the DLink to 2.4GHz
  3. After the DLink is powered, use a paperclip to press the recessed white Reset button on the back of the DLink and hold it down for a slow count of 10
  4. Connect your laptop to the DLink with an Ethernet cable and try the Bridge Configuration Utility

Intern 13-01-2015 20:32

Re: How to deploy code from wifi to crio
 
Bridge configuration in the tool or dlink?

Mark McLeod 13-01-2015 20:51

Re: How to deploy code from wifi to crio
 
I reworded the steps a little to see if that answers your question.

Intern 14-01-2015 18:23

Re: How to deploy code from wifi to crio
 
I got it set up, i had to run as administrator, now how do i get my code to go to the roborio through the dlink?

Greg McKaskle 14-01-2015 21:04

Re: How to deploy code from wifi to crio
 
The USB, net, and wifi communications are interchangeable -- provided you are using mDNS. That means you named your roboRIO, turned on DHCP, and set the project target to point to your named roboRIO.

At that point, you can send the code to the roboRIO using the run button of RobotMain. This allows for debugging, probes, and quick edit and rerun.

Once your code is stable, you can open the Build Script, Build, and Run as Startup. This will deploy a built executable that will run as soon as the roboRIO boots.

Greg McKaskle


All times are GMT -5. The time now is 08:46.

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