Go to Post One wondered why they couldn't practice in the gym that day - because the robotics team had it reserved was the answer. "Oh, we have a robotics team?" Sigh. This is a team with a low number. They've been around for at least a dozen years. There's still a lot more culture-changing to do. - GaryVoshol [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 08-02-2010, 22:41
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Exclamation HELP I'm Losing it! aka Labview deploy vs. run

Okay everyone,

So today I had a bad day and I really need some answers, so instead of my customary comfort of bedtime Game Manual reading, I have resorted to bedtime CD Posting.

Anyway, today team 2064 finally started to program (yes, I know it's a bit late). Anyway, Classmate was set up correctly. cRio was imaged. In short everything was connected as it should have been. So there was no hardware issue.

We used sample software, so there should have been no software issue.

My question pertains to the two accounts on the Classmate. My teamates and I were used to always clicking "run" last year, as deploying took ages. When we attempted clicking run while in the developer account, everything would be loaded properly onto the cRio, but there seemed to be a disconnect between the driver station and the robot (which were hard-wired)- specifically the stop button. The robot was in a consistent disabled state.

But upon deploying in the developer account, then logging off and going into the driver account, the robot would function perfectly.

So yes, we got our program to work, but frankly, all this switching seems a ridiculous inconvenience. I mean we could use one laptop to program, and always use the classmate for the ds, but even then we would still need to deploy. So I have come to the conclusion that there must be a quicker way to test our programs. I just don't know what it is!

I am well aware that somewhere in the depths of the programming forum there must be an answer to this question; in fact it seems to be that type of question that close to everyone asks. Yet right now I need to do a bazillion things and I know this is a really lame excuse and I know that everyone hates repeated answers, so....

If anyone could write a really quick response or point me to the right thread I'd be a very happy programmer (an oxymoron, indeed!).

And yes I know I ramble!
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2010, 23:02
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking Re: HELP I'm Losing it! aka Labview deploy vs. run

ok go to the programs and the driver station that is pulled up in the drivers account will be there so you can "run" your code on the developer as well as operate it by opening this program
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2010, 23:07
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Re: HELP I'm Losing it! aka Labview deploy vs. run

I'm confused (which is easy to do). Which account can access which account? Thanks for a quick reply!
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2010, 23:09
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: HELP I'm Losing it! aka Labview deploy vs. run

You have to have the Driver Station open to enable the robot.

It sounds like what you want to do is log onto the Developer account (make sure the Driver Station is not open on the Driver account!) and open Labview and Run your code. Then open the Driver Station from the Start Menu and enable the robot.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2010, 23:15
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: HELP I'm Losing it! aka Labview deploy vs. run

ok their are two ways to get the code running on the robot
1.Build then run as startup (which is long and permanent meaning that you can reboot and it will still be there)
2.Run off of robot main(Faster but not permanent) and open the driver-station located in all programs from the start menu
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2010, 23:15
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Re: HELP I'm Losing it! aka Labview deploy vs. run

Quote:
Originally Posted by Vikesrock View Post
Then open the Driver Station from the Start Menu and enable the robot.
You can open the driver station from the start menu? Does it run just like any other windows application? Or do I need to switch users?
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2010, 23:16
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: HELP I'm Losing it! aka Labview deploy vs. run

it runs just like a regular application on windows no need to switch users open it in developer and you're set

Last edited by bladetech932 : 08-02-2010 at 23:19.
Reply With Quote
  #8   Spotlight this post!  
Unread 08-02-2010, 23:19
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Re: HELP I'm Losing it! aka Labview deploy vs. run

Quote:
Originally Posted by bladetech932 View Post
open the driver-station located in all programs from the start menu
Is driver station located under the Labview subfolder?
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #9   Spotlight this post!  
Unread 08-02-2010, 23:21
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Re: HELP I'm Losing it! aka Labview deploy vs. run

Thanks all!
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2010, 19:24
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: HELP I'm Losing it! aka Labview deploy vs. run

Here's what we do to test.
1. Open Developer
2.Make sure Robot is on and connected (wired or wireless)
3. Open your program
4. Open robot main
5. Click Run arrow
6. Wait.
7. Open Driver Station (we made a shortcut onto the desktop can be done by opening start menu finding the program holding down right click and dragging on to the desktop)
8. 3 green lights Enable
9. Disable
10. Stop Robot Main
11. Edit code
12. Start from step 4 and repeat
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #11   Spotlight this post!  
Unread 10-02-2010, 19:40
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Lightbulb Re: HELP I'm Losing it! aka Labview deploy vs. run

Quote:
Originally Posted by j.cole View Post
11. Edit code
12. Start from step 4 and repeat
We do these two steps a lot ! Thanks- you left out the pulling-out-your-hair-when-you-don't-know-what's-wrong part, though . That step is critical!
__________________
-Ed C.

VP & Senior Programmer
Team 2064
2007 Rookie Inspiration Award
Reply With Quote
  #12   Spotlight this post!  
Unread 20-02-2011, 23:22
buck buck is offline
Junior Member
FRC #7777
Team Role: Tactician
 
Join Date: Feb 2011
Rookie Year: 1900
Location: USA, Backwoods
Posts: 7
buck is an unknown quantity at this point
Re: HELP I'm Losing it! aka Labview deploy vs. run

Quote:
Originally Posted by bladetech932 View Post
ok their are two ways to get the code running on the robot
1.Build then run as startup (which is long and permanent meaning that you can reboot and it will still be there)
2.Run off of robot main(Faster but not permanent) and open the driver-station located in all programs from the start menu
How would I go about ruining it as a startup?
Reply With Quote
  #13   Spotlight this post!  
Unread 20-02-2011, 23:41
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: HELP I'm Losing it! aka Labview deploy vs. run

Quote:
Originally Posted by buck View Post
How would I go about ruining it as a startup?
While you're in the project explorer (the small window that shows all of your vi s), click the + next to build specifications, then right click on FRC boot-up Development and click build. When it's done building, right click on it again and select run as startup. (You might have to reboot the robot here, I forget.) Then open up the driver account, and you should get the robot code light green a few seconds after communications.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview programming help - Deploy mode not working ferc Programming 3 20-10-2009 18:32
Robot will Run but Not deploy 663.keith NI LabVIEW 8 14-02-2009 17:52
Run works but build&deploy doesn't program1 NI LabVIEW 3 03-02-2009 22:32
cRio losing connection when "run as startup" mgurgol Programming 2 12-01-2009 12:18
Help to Deploy a Program in Labview. Delian NI LabVIEW 7 10-12-2008 21:13


All times are GMT -5. The time now is 22:41.

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