| KM_ControllerKMotionLock Method |
Prevents outside access to the board
This function is similar to the WaitToken function, except that it returns immediately (instead of waiting) if the board is already locked
Namespace: KMotion_dotNetAssembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax Public Function KMotionLock As Integer
public:
int KMotionLock()
Return Value
Int32
KMOTION_LOCKED=0, // (and token is locked) if KMotion is available for use
KMOTION_IN_USE=1, // if already in use
KMOTION_NOT_CONNECTED=2, // if error or not able to connect
See Also