Clear Feedhold issue?

Moderators: TomKerekes, dynomotion

Post Reply
SamMarrocco
Posts: 85
Joined: Fri Apr 27, 2018 12:44 pm

Clear Feedhold issue?

Post by SamMarrocco » 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"?

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Clear Feedhold issue?

Post by TomKerekes » Tue Aug 16, 2022 10:39 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

SamMarrocco
Posts: 85
Joined: Fri Apr 27, 2018 12:44 pm

Re: Clear Feedhold issue?

Post by SamMarrocco » Tue Aug 16, 2022 11:55 pm

Thanks for the confirmation....I'll go with the writeline() method for now, thanks!

Post Reply