RobotStudio event

UIShow Launch Standard Application

Does anyone know the strings needed to launch the Jogging view from RAPID?

I tried the method from the Tech Ref manual:

CONST string Name:="tpsviewbackupandrestore.dll";

CONST string Type:="ABB.Robotics.Tps.Views.TpsViewBackupAndRestore";

...

UIShow Name,Type;

i.e.

CONST string Name:="tpsviewjogging.dll"; 

CONST string Type:="ABB.Robotics.Tps.Views.TpsViewJogging";

...

UIShow Name,Type;


 I have also tried the method from a post from 2010 (Lennart H)

CONST string Name:="tpsviewhotedit.dll"; 

CONST string Type:="ABB.Robotics.Tps.HotEdit.TpsViewHotEdit";

...

UIShow Name,Type;

i.e.

CONST string Name:="tpsviewjogging.dll"; 

CONST string Type:="ABB.Robotics.Tps.Jogging.TpsViewJogging";

...

UIShow Name,Type;


Neither, nor other combinations have been successful. All end with 

41664: The typename is invalid for this assembly Description

Task: T_PLP1 The inparameter TypeName is invalid. The typename does not match the assembly.

Status -5

Program Ref /Eax1/rPathAnalysis/UIShow/324


Backup & Restore, Hot Edit, RAPID Data, and others have been successfully launched via RAPID, but not the jogging view. There's even a demo project in the FP SDK App Manual on how to ScreenMaker to launch the jogging view - ... this._launchService.LaunchView(FpStandardView.Jogging,null,false,out this._cookieJog) ... - so I am hoping there's a viable answer.


Any suggestions are welcome!


Thank you,  



Best Answers

  • Micky
    Micky ✭✭✭
    Answer ✓
    Hi,

    below you will find an example to launch the jogging window:
    CONST string Name:="TpsViewJogging.dll";
    CONST string Type:="ABB.Robotics.Tps.Controls.TpsViewJogging";
    
    UIShow Name,Type; 
    Launching the editor:
    CONST string Name:="TpsViewProductionWnd.dll";
    CONST string Type:="ABB.Robotics.Tps.Production.TpsViewProductionWnd";
    </code>CONST string Name:="TpsViewRapid.dll";
    CONST string Type:="ABB.Robotics.Tps.Controls.TpsViewRapid";
    </pre>Launching the production view<br><pre class="CodeBlock"><code>
    The best way to get the required information is:
    • Open the control panel via the ABB menu on the FlexPendant
    • Select "FlexPendant"
    • Select "View on System Event"
    • Select the required view for the event "Switching to Manual"
    • Create a backup
    • Open the file "fpsystem.xml" in the folder "BackInfo" of the backup
    • Search for the tag "ViewinManual"
    • Use the values of the tags "dll" and "type" for UiShow
    See below:

    <DATA id="ViewInManual">
      <PROP name="text" value="ViewInManual" />
      <PROP name="dll" value="TpsViewProductionWnd.dll" />
      <PROP name="type" value="ABB.Robotics.Tps.Production.TpsViewProductionWnd" />
    </DATA>


    Best regards 
    Micky

Answers

  • Have you managed to find solution for this? I'm looking to launch production window or program editor, but haven't figured out correct parameters for name and type.

    It's a bit frustrating that RAPID instructions, functions and datatypes section UIShow says  "It is also possible to launch standard applications such as Backup and Restore", and only provided example is from backup & restore as well. Why there's no examples of launching other applications as well, since there's not so many standard applications to be launced?

    According to my research, i believe that at least following standard applications should be possible to open from UIShow:
    • Program editor

    • Program data

    • Jogging

    • Logoff

    • Backup/Restore

    • Hotedit
  • SomeTekk
    SomeTekk
    edited June 2019
    Hello,

    To date no success. The local ABB office was not able to provide guidance either.

    The dll file is not too difficult to determine & locate. It is the 'fully qualified namespace' value that is stumping me. It is hoped, someday someone with VisualStudio knowledge will have a suggestion as to how to proceed.

  • Micky,

    Thank you for the solution! Jogging window opening via UIShow was successful!

    On the systems I work with, all RW 5.15, there is no View on System Event in the FPU configuration properties edit window. 

    I did see in the fpsystem.xml file the dll & type for the Production Window.

    Again, thank you very much!
    SomeTekk