Hi,
I made a app to read main processor temperature from the controller,it works well for robotware R5.xx (6600,1600)and R6.03(1200) below,but failed for robotware R6.03+ version.The below is the code :
try
{
Controller controllers = entrance();
for (int i = 0; i < controllers.Count(); i++)
{
int ram = controllers[i].MainComputerServiceInfo.RamSize;
float ran = controllers[i].MainComputerServiceInfo.Temperature;
Console.WriteLine(“RAM :” + ram);
Console.WriteLine(“TEM:” + ran);
}
}
catch (Exception e)
{
Is anyone met such kind of problem?I have checked the new PC SDK document ,the method is the same.Hope someone can give me any supports, really appreciate!
I have never encountered such a problem myself, but I did find this thread which described the same error. They seemed to resolve it by creating a new virtual system.
Do you use the same code and Robotware?What’s your OS to run the app.
Would you please send me the compiled program which can read the temperature above the RobotWare 6.03, I want to try running on my Robot.
Thanks a lot.
I don’t know how iss the new virtual system used for.The error occured when the app connect a real controller.It runs well with the virtual robot what ever the robotware version is.It runs well with the real controllers which robotware version is 6.03 below.
Can you give me an example code which reads the temperature successfully?
Thanks a lot..orz
I have tried the code toward a VC with RW6.08.01 and I am not getting any exceptions.
Perhaps the error emerges due to the loop?
Have you verified that you’re getting the exception if you try to get MainComputerServiceInfo.Temperature and/or MainComputerServiceInfo.RamSize from one single RC/VC?
Dear Maxim Riabichev,
I confirmed that it runs OK on a VC,but not OK on a RC.For example , I tried to read temperature on a 6700 robot which RobotWare is 6.7.0.0 (logon with: username:Default User, psw:robotics), it threw the exceptions as below:
First, try to replicate this issue toward a controller running the latest RobotWare.
If the issue persists, please contact your local ABB and provide as much information as you can regarding this issue. Send them a sample program that they can test.
If it can be confirmed as a bug, it will be sent to R&D for investigation.
haha, true and clear.
But the problem is that I’m also not getting any temperature feedback from the real robot. I’m trying to read temperature from single-arm YuMi but just getting:
“error downloading file form RC ABB.Robotics.GenericControllerException: C0048416 : The URL used to initialize the helper does not resolve to a valid object.”