Click or drag to resize

KM_ControllerCheckIsReady Method

Call this to check if a "Ready" response came back after a command was manually typed in and we don't know what the response will be if any Note:There is a possibility that other DSP threads are printing to the console screen First check if any input is available if not, return instantly (KMOTION_OK) if so, then a whole line might not be available but should be in transmission and be in very soon, so wait up to a short while to get in an entire line if the line doesn't come in for some reason return (KMOTION_TIMEOUT) check if the line should go to the console (esc) if so print it and repeat the above as long as there is still input available if the line is not console data, check for "Ready", if it is "Ready" send it to the console and return KMOTION_READY; otherwise send it to the console ///

Namespace: KMotion_dotNet
Assembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public KMOTION_CHECK_READY CheckIsReady()

Return Value

KMOTION_CHECK_READY
true if board has received "Ready"
See Also