Display image with UIMsgBox RW6.09
Hi everyone
Can someone please give me some details on how to display a image on the TP Unit with UIMsgBox and UIMessageBox.
I have followed the manual Rapid Instruction, Functions and Data Types manual but no luck.
Here my system info:
Here the code I have tried:
Note. I have the image in png,gif and jpeg already in the Home Directory of the Controller.
I just want a simple image displayed of the Current Part selected before procedure start.
Thanks in advance.
Can someone please give me some details on how to display a image on the TP Unit with UIMsgBox and UIMessageBox.
I have followed the manual Rapid Instruction, Functions and Data Types manual but no luck.
Here my system info:
?xml version="1.0" encoding="UTF-8"?> -<SystemProperties> <SystemName>MMD_Africa_RW6.09</SystemName> <SerialNo>4600-101672</SerialNo> -<UsedMedia> <Media version="6.09.0154" name="RobotWare" path="C:\Users\john\AppData\Local\ABB\RobotWare\RobotWare_6.09.0154"> </Media> <Media version="6.09.0154" name="TrackMotion" path="C:\Users\john\AppData\Local\ABB\RobotWare\TrackMotion_6.09.0154"> </Media> </UsedMedia> -<ControlModule> <Option descr="RobotWare Base"> </Option> <Option descr="English"> </Option> <Option descr="709-1 DeviceNet Master/Slave"> </Option> <Option descr="608-1 World Zones"> </Option> <Option descr="613-1 Collision Detection"> </Option> <Option descr="617-1 FlexPendant Interface"> </Option> <Option descr="624-1 Continuous Application Platform"> </Option> <Option descr="628-1 Sensor Interface"> </Option> <Option descr="652-1 BullsEye"> </Option> <Option descr="653-3 ABB TSC 2013"> </Option> <Option descr="637-1 Production Screen"> </Option> </ControlModule> -<DriveModule> <Name>Robot1</Name> <Option descr="653-x Torch Service"> </Option> <Option descr="IRB 4600-20/2.50 Type C"> </Option> <Option descr="Drive System IRB 460/640/660/760/4600/66xx/6700"> </Option> <Option descr="ADU-790A in position X3"> </Option> <Option descr="633-4 Arc"> </Option> <Option descr="ESAB AristoMig integrated"> </Option> <Option descr="815-2 WeldGuide MultiPass"> </Option> <Option descr="657-1 SmarTac IO version"> </Option> </DriveModule> -<AdditionalOption> <Name>TrackMotion</Name> <Option descr="Track Motion x004 Base"> </Option> <Option descr="IRBT 4004 Type A 10.9 m"> </Option> <Option descr="Standard carriage In line"> </Option> </AdditionalOption> </SystemProperties>
Here the code I have tried:
Note. I have the image in png,gif and jpeg already in the Home Directory of the Controller.
VAR num nDummy; VAR string sRing_5051989_Rot_Speed:="Ring5051988"; CONST string btnAcknowledge{2}:=["OKAY",""]; nDummy:=UIMessageBox(\Header:="UIMessageBox Header"\Icon:=iconInfo\Image:=sRing_5051989_Rot_Speed); nDummy:=UIMessageBox(\Header:=""\BtnArray:=btnAcknowledge\Image:=sRing_5051989_Rot_Speed); UIMsgBox\Header:="",""\Image:="Home:/Ring5051988"\Result:=nDummy; UIMsgWrite "",""\Image:="Home/Ring5051988";
I just want a simple image displayed of the Current Part selected before procedure start.
Thanks in advance.
Tagged:
0
Best Answer
-
Hello,
VAR string sRing_5051989_Rot_Speed:="Ring5051988";
Should be:VAR string sRing_5051989_Rot_Speed:="Ring5051988.png";
1
Answers
-
Hello,Did you test:
nDummy:=UIMessageBox(\Header:="UIMessageBox Header","Some Text"\Image:=sRing_5051989_Rot_Speed);
0 -
DenisFR said:Hello,Did you test:
nDummy:=UIMessageBox(\Header:="UIMessageBox Header","Some Text"\Image:=sRing_5051989_Rot_Speed);
Just tested it and still not showing the picture.
I did make sure the picture is to recommended size (pixels).
Could this be because I am using it on the VC and not on the RC?
0 -
Cool it works thanks.
0 -
I had tried using UIListView in this way about two years ago, it did not work for me.Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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