Buffered drive
Buffered drive
I have 2 questions about buffered drive commands:
[*] Is there any way (including officially non-documented to get from the buffer which command is being executed right now? I know I can get the number of commands in the buffer that are waiting for execution, but that is not what I need...
[*] Am I correct that if I mix buffered and non-buffered drive commands then issuing any non-buffered command will immediately terminate any buffered command being executed and clears the buffer?
[*] Is there any way (including officially non-documented to get from the buffer which command is being executed right now? I know I can get the number of commands in the buffer that are waiting for execution, but that is not what I need...
[*] Am I correct that if I mix buffered and non-buffered drive commands then issuing any non-buffered command will immediately terminate any buffered command being executed and clears the buffer?
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Buffered drive
1. No, there is no way to get the actual command that is executing. You have to keep track of what commands you buffered and then you can use the current number from the GetBuffers command to determine what command is executing.
2. Yes. non-buffered commands will immediately clear that motors buffer and start executing the new command.
2. Yes. non-buffered commands will immediately clear that motors buffer and start executing the new command.