UIShow error. TypeName incorrect.

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. :stuck_out_tongue_winking_eye:

Jesus Gil.

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 ScreenMaker

http://forums.robotstudio.com/forum_posts.asp?TID=3700

Thanks

:clap:

Is perfect.

Thank you very much for the prompt assistance and solution to my problem.

Thanks.
Jesus Gil.

:wink::wink::wink: