Normally, when you create a command, nomatter with datalayer, python, plc, motion will return you an unique command ID and you can check state of the command with this ID. ID is the input of the state check function. However, when you check command state with a random ID value, normally motion will return a "OUTDATED" since motion can not find any command infomation with this ID. If you indeed get other state e.g. "INBUFFER", I would say it is a bug and please create a bug infromation with your test code.
... View more