When is output of a TPWrite updated in the `Operator Window` ?
pollux
✭
in RobotStudio
Hi,
I'm using to `TPWrite` to debug my code and write some verbose messages to follow the application flow. Though they time when the messages actually appear on screen in the `Operator Window` is a bit unclear to me. For example, I have two tasks one which accepts a new socket connection. When I connect to this listening socket with my application I log some information using `TPWrite` then I show some info when I receive data on this socket. But only when I close the remote socket or when I press the `Stop` button in the `RAPID` all messages appear at one (which can be a lot).
Maybe this is the way it works but if there is a way to directly show messages I write using `TPWrite` that would be great!
pollux
0
Comments
-
Are you using TPErase first to clear the teach pendant screen?
0 -
Hey Neil,No I'm only using `TPWrite`. I'm not sending just a couple of messages though and using the operator windows to inspect the messages (not the virtual flex pendant).Should I use `TPErase` ?Thanks0
-
Does the Virtual FlexPendant behave in the same way as RobotStudio, or do you get the messages directly?Henrik Berlin
ABB0 -
Hi Henrik,Both had the same behavior, but I think it's related to using multiple tasks and `WaitUntil`. When I write -a lot- using TPWrite the messages are coming in; it feels like the output wants to fill it's buffer before actually showing it. But after changing my code structure a bit it seems to work fine.So I think it was my code if this is not expected behavior.Thankspollux0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings