UIShow error. TypeName incorrect.
jesus
✭✭
in ScreenMaker
Hello.
I have a small problem with an application and the instruction ScreenMaker RAPID UIShow.
I created a simple application in FlexPendant generated whith ScreenMaker. This application works perfectly and runs perfectly from the ABB menu.
The problem comes when try to run this application from a UIShow RAPID instruction. The FlexPendant shows the event message 41664 "The typename is invalid for this assembly." The example 1 in the RAPID reference manual is used for testing. The TypeName "ABB.Robotics.SDK.Views.TpsViewderechoCorto" use in the routine down, which I believe is causing the error.
!*****************************
PERS string Name:="TpsViewderechoCorto.gtpu.dll";
PERS string Type:="ABB.Robotics.SDK.Views.TpsViewderechoCorto";
PERS string Cmd1:="Init data string passed to the view";
PERS string Cmd2:="New init data string passed to the view";
PERS uishownum myinstance:=0;
VAR num mystatus:=0;
PROC SDK_visible()
! Launch one view of my application "derechoCorto"
UIShow Name, Type InitCmd:=Cmd1 InstanceID:=myinstance Status:=mystatus;
! Update the view with new init command
! UIShow Name, Type InitCmd:=Cmd2 InstanceID:=myinstance Status:=mystatus;
ENDPROC
!*******************************
This is the image that shows the FlexPendant when the error occurs:
Does anyone know what may be causing the error?.
Thanks in advance.
Jesus Gil.jesus2010-12-15 20:54:45
I have a small problem with an application and the instruction ScreenMaker RAPID UIShow.
I created a simple application in FlexPendant generated whith ScreenMaker. This application works perfectly and runs perfectly from the ABB menu.
The problem comes when try to run this application from a UIShow RAPID instruction. The FlexPendant shows the event message 41664 "The typename is invalid for this assembly." The example 1 in the RAPID reference manual is used for testing. The TypeName "ABB.Robotics.SDK.Views.TpsViewderechoCorto" use in the routine down, which I believe is causing the error.
!*****************************
PERS string Name:="TpsViewderechoCorto.gtpu.dll";
PERS string Type:="ABB.Robotics.SDK.Views.TpsViewderechoCorto";
PERS string Cmd1:="Init data string passed to the view";
PERS string Cmd2:="New init data string passed to the view";
PERS uishownum myinstance:=0;
VAR num mystatus:=0;
PROC SDK_visible()
! Launch one view of my application "derechoCorto"
UIShow Name, Type InitCmd:=Cmd1 InstanceID:=myinstance Status:=mystatus;
! Update the view with new init command
! UIShow Name, Type InitCmd:=Cmd2 InstanceID:=myinstance Status:=mystatus;
ENDPROC
!*******************************
This is the image that shows the FlexPendant when the error occurs:
Does anyone know what may be causing the error?.
Thanks in advance.
Jesus Gil.jesus2010-12-15 20:54:45
0
Comments
-
Hello jesus,Kindly take a look at this post which provides you with information as to how the type should be defined for screens created using ScreenMakerThanks0
-
Is perfect.
Thank you very much for the prompt assistance and solution to my problem.
Thanks.
Jesus Gil.
0
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
- 312 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 793 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings