![]() |
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! |
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
|
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!
|
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. |
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 |
Re: HELP I'm Losing it! aka Labview deploy vs. run
Quote:
|
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
|
Re: HELP I'm Losing it! aka Labview deploy vs. run
Quote:
|
Re: HELP I'm Losing it! aka Labview deploy vs. run
Thanks all!
|
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 |
Re: HELP I'm Losing it! aka Labview deploy vs. run
Quote:
|
Re: HELP I'm Losing it! aka Labview deploy vs. run
Quote:
|
Re: HELP I'm Losing it! aka Labview deploy vs. run
Quote:
|
| All times are GMT -5. The time now is 11:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi