RobotStudio event

UIShow error. TypeName incorrect.

Options
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:
image
 
Does anyone know what may be causing the error?.
 
Thanks in advance.  Wink
 
Jesus Gil.
jesus2010-12-15 20:54:45

Comments