Clear Feedhold issue?
Posted: Tue Aug 16, 2022 4:17 pm
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"?
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"?