I constantly get an exception when reading from a dummy controller…
My code looks like this ( boiled down to the very basics )
var bDirect = c.Rapid.GetRapidData(“T_ROB1”, “MainModule”, “aBool”);
string sDirect = bDirect.StringValue;
I have tried using IRapidData as well, but I keep getting
“Can not evaluate because thread is not at a safe point”
I have a feeling that it is related to developing inside SharpDevelop, however, I have NEVER seen this exception before.
Is the ABB library doing something that breaks some thread safe rule in the .NET environment?
The stacktrace points to the exception originating from inside the ABB domain:
ABB.Robotics.GenericControllerException
at Adapters.Data.Get
at ABB.Robotics.Controllers.RapidDomain.RapidData.get_StringValue
at → HERE MY CODE COMES with its callstack
Any ideas about the origin of the problem…