Forum Migration Notice
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

PCSDK 5.15 - ControllerBufferOverflowException

Good morning everybody,

I'm working on an application with the PC SDK (Version 5.15) and VS 2010, and i ran into a problem i cannot resolve. 
The idea of this application is to get RAPID data and display it to the user, which works well if standard data types are involved. 
The problem begins when i try to get a UserDefined that is quite big(~40 pos objects), then i get this message:

ABB.Robotics.Controllers.ControllerBufferOverflowException - The amount of data is to large to fulfill the request.


The exception occurs in this piece of code:

..
using (Mastership m = Mastership.Request(controller.Rapid))
{
   RapidData CurrentRapidObject = controller.Rapid.GetRapidData(new string[] { "T_ROB1", "WELDING", "ErrorTestShape" });
   //Getting the value gives the error
   UserDefined RapidValue =  (UserDefined) CurrentRapidObject.Value;
}
..


What should i do to fix this, is it at all possible? And if yes, what should i do next?

Greetings, Aad