Best Of
Re: POST to array of pos via WebServices
Hello,
The 415 response is sent when the content-type header is wrong or missing. Information on headers can be found under Introduction-->Mime type in the web service manuals which can be found in this link:
Re: Virtual controller not found
Do you have a backup of your physical controller? You can restore this backup to your virtual one in Robot Studio

5
Re: Multitasking
If your task is NORMAL, then I suppose it might have the same effect as the main task, but usually a background task will be SEMI-STATIC or STATIC and they would just run continuously regardless.
Re: Multitasking In ABB Robotstudio
Hi,
Check out the application manual attached here in the post.
Best regards,
Daniel
Check out the application manual attached here in the post.
Best regards,
Daniel

6
Re: MULTITASKING
I see nothing changing the value of i, j, or k. Main will be caught in infinite loop of WHILE DO.
Re: Adding to existing subscriptions via Web API
Ok, sorry for my sloppy reading.
Here's an example of doing that with the use of postman instead so that you don't have to read python this time.
Here's the curl:
curl --digest -u "Default User":robotics -d "resources=1&1=/rw/panel/ctrlstate&1-p=0" -X POST "http://localhost/subscription"
Here's thea snippet from the response for POST sub (Unfortunatly the forum itself don't allow me to send the xml respons and keeps blocking me so I had to cut out the relevant parts):
<code>
What you want to do now is to extract the subscription group from the response and save that, since it is needed in the PUT request.
Here's the curl for the PUT request:
curl --digest -u "Default User":robotics -d "resources=2&1=/rw/panel/opmode;state&1-p=0" -X PUT "http://localhost/subscription/10"
Lastly we send the get request for Get subscription group:
curl --digest -u "Default User":robotics "http://localhost/subscription/1?action=show"
Which gives us the following in the response:
<code>
Here's an example of doing that with the use of postman instead so that you don't have to read python this time.
Here's the curl:
curl --digest -u "Default User":robotics -d "resources=1&1=/rw/panel/ctrlstate&1-p=0" -X POST "http://localhost/subscription"
Here's thea snippet from the response for POST sub (Unfortunatly the forum itself don't allow me to send the xml respons and keeps blocking me so I had to cut out the relevant parts):
<code>
<a href="subscription/10" rel="group"></a>
</code>
What you want to do now is to extract the subscription group from the response and save that, since it is needed in the PUT request.
Here's the curl for the PUT request:
curl --digest -u "Default User":robotics -d "resources=2&1=/rw/panel/opmode;state&1-p=0" -X PUT "http://localhost/subscription/10"
Lastly we send the get request for Get subscription group:
curl --digest -u "Default User":robotics "http://localhost/subscription/1?action=show"
Which gives us the following in the response:
<code>
<form method="delete" action="10" id="unsubscribe-group"></form>
<form method="delete" action="10/rw/panel/ctrlstate" id="unsubscribe-resource"></form>
<form method="delete" action="10/rw/panel/opmode" id="unsubscribe-resource"></form>
</code>
With that we have confirmed that we successfully subscribed to TWO resources by first initiate a subscription and then add an additional resource by using the PUT request.
Hope this clarifies the procedure for you!
Best regards,
Daniel
With that we have confirmed that we successfully subscribed to TWO resources by first initiate a subscription and then add an additional resource by using the PUT request.
Hope this clarifies the procedure for you!
Best regards,
Daniel

5
Re: Is it possible to start a virtual controller from command line?
Try this:
1. Add the dependencies RobotStudio.Services.RobApi and RobotStudio.Services.RobApi.Desktop
2. RobVcFactory.StartVC("PathToVC",VCStartType.WarmStart,VcStartOptions.Default);
Re: Is it possible to start a virtual controller from command line?
Most likely as its ran as a process using the communication server so an educated guess would be that you could call it parsing through arguments. You can create a console app which you can call from the command line with the following to start a controller;Markus Näslund said:I have a machine that is constatnly running a virtual controller for various test purposes. I would like it to start the virtual machine automatically after a restart.
So, is it possible to start a virtual machine from commandline or by other means possible to schedule at startup of windows?
Best regards
Markus
using ABB.Robotics.RobotStudio.Stations;
RsIrc5Controller irc5= new RsIrc5Controller(directoryOfTheController);
await irc5Controller.StartAsync(VirtualControllerRestartMode.WarmStart, mechanisms, false);
Re: How to make a Robot do an overhead manoeuvre
As best as I can understand what your problem is, you are seeing a singularity of the type in which the wrist center is directly over the center of axis one. This results in the base, axis one, pivoting to and fro. Use a MoveAbsJ.
Re: How to select the testsignal you want to read using of EGM system?
Hi, It was considered that EGM would implement testsignals but it is not implemented. Sorry not to be able to give any other suggestions...