Go to Post Sorry [the easy button] does not exist in robotics :D - Arkorobotics [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 09-02-2017, 14:45
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 533
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Teleop Pausing Itself

As the title explains, when I enable tele-op, tele-op pauses itself. This hadn't been a problem before this and no change was made to the code between then and now. Is there an explanation for this and how do I fix it?
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2017, 15:18
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 88
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Teleop Pausing Itself

What exactly do you mean by pausing? Do the Driver Station Comm and Code LEDs stay green when TeleOp "pauses"? Are you running the code permanently or with the run arrow?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2017, 16:18
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 533
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by Jonathan L. View Post
What exactly do you mean by pausing? Do the Driver Station Comm and Code LEDs stay green when TeleOp "pauses"? Are you running the code permanently or with the run arrow?
I have comms and code still. I am running the code with the run arrow. By "pause" I mean the built-in LabVIEW pause button is activating itself.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2017, 16:36
BrennanB's Avatar
BrennanB BrennanB is offline
TBC is good at getting almost first
AKA: Brennan Bibic
FRC #4476 (W.A.F.F.L.E.S.)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Kingston
Posts: 1,303
BrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond repute
Re: Teleop Pausing Itself

Do you have a breakpoint in your code that you added by accident?
__________________

Brennan Bibic - @b_bibic - Eh-Nalysis
10 years of inspiration compilation - W.A.F.F.L.E.S. #4476 YouTube Channel - 64 events and counting!

FRC 2013-2017 (W.A.F.F.L.E.S. Community Robotics #4476) - FLL 2006-2017 (W.A.F.F.L.E.S. #105) - VRC 2010-2013, 2015-2016 (W.A.F.F.L.E.S. #4476)
FRC 2009-2012 (K-Botics #2809)

Fantasy First 2014-2017 (The Breakfast Company) #TBCWin
2014 Dean's List Finalist

"Work until your idols become your rivals."
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2017, 16:42
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 533
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by BrennanB View Post
Do you have a breakpoint in your code that you added by accident?
No. I did forget to mention that I had e-stopped the robot sometime around/before then. Could that have an effect?

I did cycle power and restart the code, driver station, etc. after that, though.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2017, 16:43
BrennanB's Avatar
BrennanB BrennanB is offline
TBC is good at getting almost first
AKA: Brennan Bibic
FRC #4476 (W.A.F.F.L.E.S.)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Kingston
Posts: 1,303
BrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by Hitchhiker 42 View Post
No. I did forget to mention that I had e-stopped the robot sometime around/before then. Could that have an effect?

I did cycle power and restart the code, driver station, etc. after that, though.
Estopping should be fine if you have rebooted everything. Are you getting any errors on the driver station?
__________________

Brennan Bibic - @b_bibic - Eh-Nalysis
10 years of inspiration compilation - W.A.F.F.L.E.S. #4476 YouTube Channel - 64 events and counting!

FRC 2013-2017 (W.A.F.F.L.E.S. Community Robotics #4476) - FLL 2006-2017 (W.A.F.F.L.E.S. #105) - VRC 2010-2013, 2015-2016 (W.A.F.F.L.E.S. #4476)
FRC 2009-2012 (K-Botics #2809)

Fantasy First 2014-2017 (The Breakfast Company) #TBCWin
2014 Dean's List Finalist

"Work until your idols become your rivals."
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2017, 17:05
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 533
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by BrennanB View Post
Estopping should be fine if you have rebooted everything. Are you getting any errors on the driver station?
Yes - lots. However, all of the ones I'm getting are related to having things in code that don't physically exist yet, and are the same as before.

I do want to note that I pulled the same version from github and ran that and it worked fine.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #8   Spotlight this post!  
Unread 09-02-2017, 17:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,945
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Teleop Pausing Itself

Open Robot Main and go to View->Breakpoint Manager and see what's listed there.
There might be two default breaks, but there shouldn't be any more.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2017 at 17:22.
Reply With Quote
  #9   Spotlight this post!  
Unread Yesterday, 14:21
Unexas Unexas is online now
Lead Programmer
AKA: Douglas Byrd
FRC #3753 (BulahBots)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Baton Rouge
Posts: 25
Unexas is just really niceUnexas is just really niceUnexas is just really niceUnexas is just really niceUnexas is just really nice
Re: Teleop Pausing Itself

You shouldn't be running the program by the arrow build it then deploy it and run it from the driver station.
Reply With Quote
  #10   Spotlight this post!  
Unread Yesterday, 14:24
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 149
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Teleop Pausing Itself

Quote:
Originally Posted by Unexas View Post
You shouldn't be running the program by the arrow build it then deploy it and run it from the driver station.
He's probably just debugging the program, as an actual build/run as startup takes several minutes.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
  #11   Spotlight this post!  
Unread Yesterday, 14:27
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,569
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by Unexas View Post
You shouldn't be running the program by the arrow build it then deploy it and run it from the driver station.
This is not true. LabVIEW is meant to be able to run without a full deploy. If you have a slow laptop or packet loss, that can cause the behavior you are seeing. In addition, any errors showing in the diagnostic window can potentially cause issues.
Reply With Quote
  #12   Spotlight this post!  
Unread Yesterday, 15:03
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 88
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Teleop Pausing Itself

Quote:
Originally Posted by Tom Line View Post
This is not true. LabVIEW is meant to be able to run without a full deploy. If you have a slow laptop or packet loss, that can cause the behavior you are seeing. In addition, any errors showing in the diagnostic window can potentially cause issues.
A slow wifi connection to the programming computer should not cause the robot to do anything out of the ordinary but it may cause indicators on the computer to be delayed. A slow wifi connection to the DS could cause some hiccups, however.



Are you seeing the pause button near the run arrow turn red? If so, what happens when you click the red pause button to un-pause?
Reply With Quote
  #13   Spotlight this post!  
Unread Yesterday, 15:04
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,766
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: Teleop Pausing Itself

Just to pile on, ... err ... , I mean clarify, LabVIEW debugging involves running the VI interactively by pressing the run button

Each VI's compiled code is downloaded to memory, connections are established so that you can see panels, probe, breakpoint, change some values on panels, etc.

Once the code is working well, you build an exe and deploy it. There happens to be a way to compile debugging into an exe, but that is not used as often as the interactive case.

Greg McKaskle
Reply With Quote
  #14   Spotlight this post!  
Unread Yesterday, 15:07
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 88
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Teleop Pausing Itself

Does deploying as startup produce the same pausing behavior?
Reply With Quote
  #15   Spotlight this post!  
Unread Yesterday, 15:50
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 533
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Teleop Pausing Itself

Quote:
Originally Posted by Jonathan L. View Post
Are you seeing the pause button near the run arrow turn red? If so, what happens when you click the red pause button to un-pause?
Yes, the pause button turns red. When I un-pause it, it finishes that iteration of the teleop loop, and pauses on the next iteration.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
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 19:50.

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