|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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?
|
|
#2
|
||||
|
||||
|
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?
|
|
#3
|
||||
|
||||
|
Re: Teleop Pausing Itself
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.
|
|
#4
|
||||
|
||||
|
Re: Teleop Pausing Itself
Do you have a breakpoint in your code that you added by accident?
|
|
#5
|
||||
|
||||
|
Re: Teleop Pausing Itself
Quote:
I did cycle power and restart the code, driver station, etc. after that, though. |
|
#6
|
||||
|
||||
|
Re: Teleop Pausing Itself
Estopping should be fine if you have rebooted everything. Are you getting any errors on the driver station?
|
|
#7
|
||||
|
||||
|
Re: Teleop Pausing Itself
Quote:
I do want to note that I pulled the same version from github and ran that and it worked fine. |
|
#8
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 09-02-2017 at 17:22. |
|
#9
|
|||
|
|||
|
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.
|
|
#10
|
||||
|
||||
|
Re: Teleop Pausing Itself
He's probably just debugging the program, as an actual build/run as startup takes several minutes.
|
|
#11
|
||||
|
||||
|
Re: Teleop Pausing Itself
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.
|
|
#12
|
||||
|
||||
|
Re: Teleop Pausing Itself
Quote:
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? |
|
#13
|
|||
|
|||
|
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 |
|
#14
|
||||
|
||||
|
Re: Teleop Pausing Itself
Does deploying as startup produce the same pausing behavior?
|
|
#15
|
||||
|
||||
|
Re: Teleop Pausing Itself
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|