UIShow error. TypeName incorrect.
Options
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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings