Go to Post but then again, isn't FIRST a sport? I mean come on now, our championship is nothing less than the super bowl. :) - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-10-2015, 20:52
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 320
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
No robot code without laptop

Our team is currently in the process of switching to labview and have been having some good success with it. However we have noticed that although the code is working fine, when we disconnect the laptop we are programming with from the robot and proceed to connect a separate laptop for a driver station we have no robot code. After a bit of troubleshooting we noticed it occurred the second we stopped the labview program. Does this mean we aren't actually pushing code but rather running it off of our laptop? Any suggestions/help appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-10-2015, 21:31
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 988
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: No robot code without laptop

Sounds like you are running and you are asking how to deploy: http://wpilib.screenstepslive.com/s/...p-test-program
Reply With Quote
  #3   Spotlight this post!  
Unread 02-10-2015, 05:39
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,748
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: No robot code without laptop

Just to add a bit to the answer; the way to debug code is to run the LabVIEW VIs directly. For the roboRIO, this means the computer and roboRIO compare notes to see what it already has versus what it needs, and the computer ensures that the latest edits are compiled, sent to the roboRIO, and loaded into memory. This allows for quick turn-around edits and runs.

When you want to make the code auto-run, you follow the screen steps to actually build an EXE and deploy that to the disk of the roboRIO.

Greg McKaskle
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


All times are GMT -5. The time now is 03:56.

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