Go to Post Has FIRST ever made a game that was easy to do? - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2010, 16:10
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Netbook Confusion

After finally installing all the updates to the new netbook and reconfiguring the cRIO, I attempted to send an example VI form Labview to our bench top robot. However after sending the VI I could not get the robot to respond. I know that I changed the IP address in the VI so that the code would be sent to the cRIO. I'm not exactly sure how to operate all aspects of the new netbook. I may have overlooked an important step somewhere. Can anyone help?
  #2   Spotlight this post!  
Unread 14-01-2010, 16:19
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Netbook Confusion

Assuming you've set the proper static IP etc, and that you've formatted the cRIO using the latest v19 using the updated utility that came with the Classmate, can you give us a little more information about what's happening? Are you getting an error, does it appear to download, etc?

One important note is that you actually reformat the cRIO after applying the LabVIEW v19 update.

Jacob

..
  #3   Spotlight this post!  
Unread 14-01-2010, 16:26
bobmonkey836's Avatar
bobmonkey836 bobmonkey836 is offline
BobMonkey07
AKA: Jeff Powers
FRC #0836 (Robobees)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: maryland
Posts: 39
bobmonkey836 is on a distinguished road
Re: Netbook Confusion

and what is the static ip?

we haven't seen it in the documentation.
__________________
Solution to life's problems: "CTRL", "ALT", "DELETE".
"CTRL"+"Z" Saved my life.
Approximately Normal
2007 Annapolis Regional at USNA!!

Management is doing things right; leadership is doing the right things.
- Peter Drucker
  #4   Spotlight this post!  
Unread 14-01-2010, 16:33
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Netbook Confusion

On the Classmate, you need to go to the Network Adapter's properties, select TCP/IP and instead of getting an IP using DHCP, you need to set a static IP.

It should be in this format

10.XX.YY.5
255.0.0.0

Where XX.YY is your team number
(examples)
FRC190 = 10.1.90.5
FRC3183 = 10.31.83.5

You would be
10.8.36.5

The .5 is the Driver Station. If you have a separate programming laptop, that will be .6

Your network adapter on the robot should be .1, your cRIO .2 and your router .4

All of these should be static IPs. Assuming at this point you aren't using your router (just a cable straight from the Classmate to the cRIO), your Classmate has no IP (it might have given itself one in the form of 169.254.zz.kk, which is just a self-assigned and doesnt mean anything), and therefore no way to communicate with the cRIO.

You can always PM me if you need faster help.

Jacob
  #5   Spotlight this post!  
Unread 14-01-2010, 16:41
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Re: Netbook Confusion

the ip addresses all seem to be correct. there is not a dialog box that appears describing an errror. could it be that i do not have the IO module attatched? if so, how do you set up the IO module, I am having trouble finding information about it.
  #6   Spotlight this post!  
Unread 14-01-2010, 16:46
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Netbook Confusion

Are you referring to the IO module on the Driver Station? This is not required to get your bot running.

I'm assuming that the IO module on the robot is hooked up to motors etc?

At this point, are you sure that the robot is enabled? From the driverstation, the robot is automatically disabled. To enable it, you simple need to click the teleop enable button on the driverstation.
  #7   Spotlight this post!  
Unread 14-01-2010, 16:50
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Re: Netbook Confusion

the IO module on the robot is in working order, i was questioning the need for the IO module on the driver's station. when you say i need to click enable on the driver's station, does that mean i have to send the VI as a start up to the cRIO, then switch from the developer to the driver on the netbook so that i can test out my program? if so, is there any way that i can test my programming while still in labview so that i do not have to switch back and forth between the developer and driver user accounts on the netbook?
  #8   Spotlight this post!  
Unread 14-01-2010, 16:55
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Netbook Confusion

Quote:
Originally Posted by furiousgeorge View Post
the IO module on the robot is in working order, i was questioning the need for the IO module on the driver's station. when you say i need to click enable on the driver's station, does that mean i have to send the VI as a start up to the cRIO, then switch from the developer to the driver on the netbook so that i can test out my program? if so, is there any way that i can test my programming while still in labview so that i do not have to switch back and forth between the developer and driver user accounts on the netbook?
To answer your first question, the IO module does not have to be hooked up to the driver station.

To answer your second question, at this point I'm assuming that you're also using your Classmate to program your robot in addition to using it as a driver station. While is this is possible, it's best to use a second laptop to do your development on.

That being said, it is possible to execute your code, and with LabVIEW still running, switch users and use the Driver account to enable the robot. I have run into issues with this, as when you try to switch back to the Developer account, the machine crashes. Switching users is not reccommended by FIRST.

You can also Deploy the code to the bot so that after the bot reboots, it retains the code. If you did this, then you could log out of the developer account, log in to the driver account, reboot the bot, and your code would still be loaded. Unfortunately I don't know how to deploy code from LabVIEW, so someone more versed in that should speak up. On that note, if anyone knows how to deploy code from the new java environment, I'm eager to find out. I've only done it using Windriver.

Hope this helps!
Jacob
  #9   Spotlight this post!  
Unread 15-01-2010, 18:00
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Netbook Confusion

To comment on using the Classmate for both development and the DS, I find it easiest to stay in Developer mode and launch the DS there from the Start menu. You will find that the screen is pretty cluttered, but other than that it works well. Note that this also works when the DS is installed on another laptop along with the dev tools.

Greg McKaskle
Closed Thread


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
NETBOOK HELP! phil-1302 FRC Control System 8 12-01-2010 23:01
2010 Driver Station Netbook Driver Account and Java joshholat FRC Control System 2 10-01-2010 15:04
Driver Station 2010 - Netbook? Greg Marra Control System 16 09-07-2009 19:48
Battery Confusion J15.5h Electrical 4 28-01-2005 17:10


All times are GMT -5. The time now is 01:59.

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