Virtual Flex Pendant vs Actual Flex Pendant TPwrite
in RobotStudio
I have a semistatic task that checks to see if an io changes. When the io changes, it performs a tpwrite "IO changed" message. When I run it in RobotStudio and use a virtual flex pendant, it seems to work as desired. I trigger the io and then the message prints on the virtual pendant. When I run this on the actual IRC5 controller, I trigger the io and it doesn't show up on the flex pendant. If I click to a different window on the flex pendant (like program data) and then back to the message screen then the message is there.
It seems that everything in the code is working. I stepped through it. It just seems that the screen isn't refreshing the message until I go to a different screen and then back.
Any ideas on how to correct this?
0
Answers
-
I also triedUIMsgBox \Header:= "IO_change", "The IO changed." \Buttons:=btnNone \Icon:=iconInfo \MaxTime:=3 \BreakFlag:=err_varThis also worked on simulation in robotstudio. The robotstudio is running a backup of the IRC5 so it should be the same. However, it didn't pop up the msg box like it did on the virtual pendant. However, if I put the UIMsgBox command after a TPWrite. It writes the TPWrite to the messages on the pendant. So it looks like the UIMsgBox is forcing the print buffer to clear for the TPWrite. But I never see the UIMsgBox on the actual pendant.0
-
Try using TPShow instruction.Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 60 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 797 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings