I'm using the command CM.StraightFeed and I notice that can only hold 3 commands, when I add 4 it flush the buffer without the command CM.FlushSegments(); is this normal?
what I'm trying to do is read a file with coordinates(x,y,z) insert it in the buffer and then flush the buffer and I'm worried that it can cause a malfuncition (I haven't notice any so far)
C# KFlop Buffer
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: C# KFlop Buffer
Hi magergar,
Yes that is normal. It works based on time not the number of commands. Once the buffer contains more motion than your specified buffer time (TPLookahead) then the motion will automatically begin to execute. You must then add motion to keep the buffer from underflowing. Also when adding motion that would increase the amount of motion not yet executed into the buffer beyond the specified buffer time, the calls to add more motion will block, until more motion has been executed.
HTH
Yes that is normal. It works based on time not the number of commands. Once the buffer contains more motion than your specified buffer time (TPLookahead) then the motion will automatically begin to execute. You must then add motion to keep the buffer from underflowing. Also when adding motion that would increase the amount of motion not yet executed into the buffer beyond the specified buffer time, the calls to add more motion will block, until more motion has been executed.
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.