Hello everybody
I am writing a FP app (SDK 5.14).
I’d need to get the MAC address (for an internal control) of the controller to which I connect from the controller-object , but I have problems:
- using a virtual controller it returns an null value, as I can expect
- using a real controller (RW 5.14.1032) that field (and some others) I have a “General exeption”: attaching to the process and debugging I can see (I paste what I see opening the field ‘MacAddress’ of my controller object)
- MacAddress ‘myController.MacAddress’ threw an exception of type ‘ABB.Robotics.GeneralException’ string {ABB.Robotics.GeneralException}
- base {"SYS_CTRL_E_FAIL: Unspecified error. "} ABB.Robotics.BaseException {ABB.Robotics.GeneralException}
+ base {"SYS_CTRL_E_FAIL: Unspecified error. "} System.ApplicationException {ABB.Robotics.GeneralException}
_extendedErrorInformation “SYS_CTRL_E_FAIL: Unspecified error. ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller” string
_validRetCode true bool
ExtendedErrorInformation “SYS_CTRL_E_FAIL: Unspecified error. ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller” string
HResult -1073414146 int
IsHResultValid true bool
Message "SYS_CTRL_E_FAIL: Unspecified error. " string
Name “ABB.Robotics.GeneralException” string
Name “ABB.Robotics.GeneralException” string
Anyone who faced this problem? any idea for reaching the mac-address??
Thanks in advance
BR