ControlThink Forums

Share ideas. Get peer support. Meet new friends.
Welcome to ControlThink Forums Sign in | Join | Help
in Search

Problem removing a failed controller

Last post 09-26-2009 3:03 PM by o0JoeCool0o. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-24-2009 2:28 PM

    Problem removing a failed controller

    I am having trouble removing a failed controller from my network.  I have tried device.RemoveFailedDevice(), but that always returns false.  I am able to remove other failed devices with that call, but not a controller.  Is there a special way I should be trying to remove a failed controller?

  • 05-26-2009 9:03 AM In reply to

    Re: Problem removing a failed controller

    When removing a failed device, it's sometimes necessary to attempt communication with it first before calling RemoveFailedDevice.  Try something like:

    try
    {
           device.Level++;
    }
    catch
    {
    }
    bool result = controller.RemoveFailedDevice(device);

     The device.Level++ operation should time out and throw an exception.  However, afterwards you should successfully be able to remove the failed device.

     Let us know whether or not this helps.

    Scott
    SE/ControlThink
  • 05-26-2009 1:42 PM In reply to

    Re: Problem removing a failed controller

     Thank you for the response.  I tried your suggestion and it worked.  Why is this neccessary?  It seems to me that the RemoveFailedDevice method would attempt communication.

  • 09-26-2009 3:03 PM In reply to

    Re: Problem removing a failed controller

     just came accross this same issue, I hope there will eb a fix for this in a future version

Page 1 of 1 (4 items)