Problems packing a Robot Studio Add-In
Wessel
✭
Hi guys,
I justed started to create add-ins for Robot Studio.
For my first add-in (in C#) I'm trying to create an add-in that converts coordinates from CSV to rob targets.
Everthing works fine when I test it from Visual Studio, but I can't get it to work on another pc however.
I followed all the steps from "Packing an Add-In" (http://developercenter.robotstudio.com/robotstudio/api_reference).
1. I have a folder called "RobTargetCreatorCSV"
2. In the folder are the folders "Documentation", "Information", "Robotstudio", manifest.xml and thumbnail.png.
3. In the robotstudio is an folder Add-In that contains the created dll file and rsaddin file.
4. I zipped the complete folder and changed the extension to .rsaddin
Running the add-in on another computer results in the following error:
My manifest file looks like the example file.
Maybe the problem could be in the rsaddin file from the robotstudio/add-in folder.
I changed the path to the location of the add-in, but I'm not sure that is necessary? The path is:
The complete rsaddin file:
In my plugin I also added an image to a button. Do I need to place that image somewhere in the folder structure before packing the add-in?
What steps am I missing here? Any ideas?
Thanks in advance.
cheers,
Wessel
I justed started to create add-ins for Robot Studio.
For my first add-in (in C#) I'm trying to create an add-in that converts coordinates from CSV to rob targets.
Everthing works fine when I test it from Visual Studio, but I can't get it to work on another pc however.
I followed all the steps from "Packing an Add-In" (http://developercenter.robotstudio.com/robotstudio/api_reference).
1. I have a folder called "RobTargetCreatorCSV"
2. In the folder are the folders "Documentation", "Information", "Robotstudio", manifest.xml and thumbnail.png.
3. In the robotstudio is an folder Add-In that contains the created dll file and rsaddin file.
4. I zipped the complete folder and changed the extension to .rsaddin
Running the add-in on another computer results in the following error:
RobotStudio .NET exception: Data at the root level is invalid. Line 1, position 1. ============================================ Base exception: XmlException Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XsdValidatingReader.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at RobotStudio.ExtensionManagement.AddinManager.TryAddRsAddin(String rsaddinPath)
My manifest file looks like the example file.
Maybe the problem could be in the rsaddin file from the robotstudio/add-in folder.
I changed the path to the location of the add-in, but I'm not sure that is necessary? The path is:
<Path>c:\Program Files (x86)\ABB Industrial IT\Robotics IT\RobotStudio 6.05\Bin\Addins</Path>
The complete rsaddin file:
<?xml version="1.0" encoding="utf-8" ?><br><RobotStudioAddIn xmlns="urn:abb-robotics-robotstudio-addin"<br> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br> xsi:schemaLocation="urn:abb-robotics-robotstudio-addin file:///C:\Program%20Files%20(x86)\ABB%20Industrial%20IT\Robotics%20IT\SDK\RobotStudio%20SDK%206.05\RobotStudioAddin.xsd"<br> autoLoad="false"><br><br> <!-- Make sure the ApplicationId is unique --><br> <ApplicationId>com.mycompany.RobTargetCreatorCSV</ApplicationId><br> <!--DisplayName>RobTargetCreatorCSV</DisplayName--><br> <!--DisplayVersion>1.0.0.1</DisplayVersion--><br> <!--Description>RobTargetCreatorCSV description</Description--><br> <br> <AddInType>General</AddInType><br><br> <Assembly><br> <FileName>RobTargetCreatorCSV.dll</FileName><br> <!-- In a production scenario, change Path to the directory where your add-in is installed --><br> <Path>c:\Program Files (x86)\ABB Industrial IT\Robotics IT\RobotStudio 6.05\Bin\Addins</Path><br> </Assembly><br><br> <!-- By default, the minimum host version is equal to the SDK version --><br> <!-- You can change this if your add-in supports older RobotStudio versions --><br> <MinimumHostVersion>6.05</MinimumHostVersion><br> <Dependencies>Station</Dependencies><br> <!-- Change Platform to x86 if your add-in uses any native x86 components --><br> <Platform>Any</Platform><br><br></RobotStudioAddIn><br>
In my plugin I also added an image to a button. Do I need to place that image somewhere in the folder structure before packing the add-in?
What steps am I missing here? Any ideas?
Thanks in advance.
cheers,
Wessel
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