[DobotDemo] Missig GetQueuedCmdLeftSpace function in DobotDll.h


#1

Hello.
At the end of the document Dobot-Communication-Protocol-V1.0.4 I can find a GetQueuedCmdLeftSpace function (2.19.8), but looks like it is missing in DobotDll.h:

// Queued command
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdStartExec(void);
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdStopExec(void);
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdForceStopExec(void);
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdStartDownload(uint32_t totalLoop, uint32_t linePerLoop);
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdStopDownload(void);
extern "C" DOBOTDLLSHARED_EXPORT int SetQueuedCmdClear(void);
extern "C" DOBOTDLLSHARED_EXPORT int GetQueuedCmdCurrentIndex(uint64_t *queuedCmdCurrentIndex);

#endif // DOBOTDLL_H

Can I use or find it somehow?


#2

Hello, the function about GetQueuedCmdLeftSpace() can’t be found because you didn’t add the SRV file to the SRV file. You need to add the corresponding SRV file to the format of the document and compile and generate GetQueuedCmdLeftSpace.h. use it.