UIShow Launch Standard Application
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;
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
-
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
<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
2 -
Hello SomeTekk,
for RW5.15 the menu has another name but the function is the same:Workflow:- Open the control panel via the ABB menu on the FlexPendant
- Select "FlexPendant"
- Select "View on Operating Mode Change"
- Select the required view for the event "Switching to Manual" or another
- Create a backup
- Open the file "fpsystem.xml" in the folder "BackInfo" of the backup
- Search for the tag "ViewInManual" or "ViewInAuto"
- Use the values of the tags "dll" and "type" for UiShow.
<DATA id="ViewInManual"><PROP name="text" value="ViewInManual" /><PROP name="dll" value="TpsViewHotEdit.dll" /><PROP name="type" value="ABB.Robotics.Tps.HotEdit.TpsViewHotEdit" /></DATA>
BR
Micky5
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
0 -
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.
0 -
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
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings