RobotStudio event

"No response from controller" exception

Occasionally when I get the PCSDK Controller objects OperatingMode I get the following exception.  Do I need to recheck the controller connection before every call to OperatingMode?  This is a real controller, not virtual.  What would cause this particular error?  It seems like once this error comes up the Controller object dies, but I never get a connection changed event.  Any ideas would be helpful.  Thanks.


An exception has occurred.
Message:  No response from controller.
Source: ABB.Robotics.Adapters.IRC5
StackTrace:    at Adapters.Controller.GetOperatingMode()
   at ABB.Robotics.Controllers.Internal.Controller.get_OperatingMode()
   at ABB.Robotics.Controllers.Controller.get_OperatingMode()