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.6K RobotStudio
 - 401 UpFeed
 - 21 Tutorials
 - 15 RobotApps
 - 306 PowerPacs
 - 407 RobotStudio S4
 - 1.8K Developer Tools
 - 250 ScreenMaker
 - 2.9K Robot Controller
 - 363 IRC5
 - 81 OmniCore
 - 8 RCS (Realistic Controller Simulation)
 - 853 RAPID Programming
 - 31 AppStudio
 - 4 RobotStudio AR Viewer
 - 19 Wizard Easy Programming
 - 110 Collaborative Robots
 - 5 Job listings