Page 1 of 1

Clear Feedhold issue?

Posted: Tue Aug 16, 2022 4:17 pm
by SamMarrocco
I have not been able to clear a feedhold that has been set with controller.ClearFeedhold() using the dotnet libraries. Controller.FeedHold and Controller.ResumeFeedhold seem to work fine.

I dug into the KFlop dotnet library code a bit, and noticed this in file KM_Controller.cs....

public void Feedhold()
{
WriteLine(String.Format("StopImmediate0"));
}

/// <summary>
/// Resumes Feedhold (Performs Console Command StopImmediate1)
/// </summary>
public void ResumeFeedhold()
{
WriteLine(String.Format("StopImmediate1"));
}

/// <summary>
/// Clears Feedhold without Resuming(Performs Console Command StopImmediate2)
/// </summary>
public void ClearFeedhold()
{
WriteLine(String.Format("StopImmediate0"));
}


Unless I'm mistaken, shouldn't the dotnet ClearFeedhold() method perform a "StopImmediate2", instead of the current "StopImmediate0"?

Re: Clear Feedhold issue?

Posted: Tue Aug 16, 2022 10:39 pm
by TomKerekes
Hi Sam,

You are correct. We will fix this in the next Version. For now you can either fix it yourself and rebuild the libraries or issue the corrected WriteLine from your App.

Re: Clear Feedhold issue?

Posted: Tue Aug 16, 2022 11:55 pm
by SamMarrocco
Thanks for the confirmation....I'll go with the writeline() method for now, thanks!