5.04-5.05 App. Migration Issues-updated
Update-from my experience, it may be easier to start over from scratch with a new 5.05-based app generated by the AppWizard. The problem below was the first of several additional issues that developed.
It would be nice if someone could publish an upgrade guide that describes fixes for all of the new errors that arise during a migration.
***************************************************
The TpsView attribute now specifies two specific icons for an application, stABBMenuImagePath and stABBTaskbarImagePath, rather than the 5.04's single imageName value.
If you open an existing 5.04 project after upgrading,you will recieve an error message stating that the "Overload resolution failed because no accessible 'New' accepts this number of arguments".
If you add the value "tpu-Operator32.gif" (the default that is added by the Wizard) immediately after the Application Name parameter, the error should go away.
Example:
Old:
Assembly: ABB.Robotics.Tps.Taf.TpsView("TpsViewIRC5App1 application", "tpu-Operator16.gif", "TpsViewIRC5App1.dll", _
"TpsViewIRC5App1.TpsViewIRC5App1", StartPanelLocation.Left, TpsViewType.Dynamic)
New:
<Assembly: ABB.Robotics.Tps.Taf.TpsView("TpsViewIRC5App1 application", "tpu-Operator32.gif","tpu-Operator16.gif", "TpsViewIRC5App1.dll", _
"TpsViewIRC5App1.TpsViewIRC5App1", StartPanelLocation.Left, TpsViewType.Dynamic)>
RussD38383,8106712963
Comments
-
Hi Russ,
yes, this change is not mentioned in the readme (for some reason), only mentioned in the documentation. But if you have a "big" FP application build on 5.04, I wouldn't start from scratch. You have to rename some of the classes and thier methods/properties (as described in the readme). One of our partners has quite a big application and he was up and running within maybe an hour after upgrading...
best regards
Ren?
0 -
That makes sense, but it really needs to be documented by someone. I've spent way too much time trying to get these applications to run to hack my way through.
Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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