Intercept TPWrite in FP app
jeroen
✭
Hi all,
I wonder if it is possible to intercept the TP output (TPWrite) in my C# FP application, so that I can display it in a listview in a controlled way and the output view doesn't pop in front.
The only option I found to suppress the TP output view is call the
ABB.Robotics.WinCore.TPAppFwkRuntime.TafReflector.CloseAnyTafForms()
function in a timer. I don't fancy it that way, and I don't have access to the output lines that way. Anyone any suggestions?
0
Comments
-
There's nothing in the public api to do that. Maybe you should just write your messages to a PERS RAPID string or string array instead of using TPWrite and subscribe to that variable's change event, or just use data binding to display the values in your app as they are updated. You can also use the RAPID command TPShow TP_LATEST to return focus back to your application after you write to the operator console.
Russell Drown0
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