16 #pragma pack(push,1) // for BCAP_VARIANT members alignment 28 #define BCAP_CONNECTION_UDP 30 #define SERIAL_BAUDRATE 115200 32 #define SERIAL_BAUDRATE 0x0000f 84 #define VT_ARRAY 0x2000 89 #define SUCCEEDED(Status) ((int)(Status) >= 0) 93 #define FAILED(Status) ((int)(Status) < 0) 119 u_char String[40 + 1];
120 float FloatArray[16];
121 double DoubleArray[16];
BCAP_HRESULT bCap_RobotExecuteSlaveMove(int iSockFd, u_int lhRobot, char *pStrCommand, float *pfOption, void *pResult)
BCAP_HRESULT bCap_ControllerGetVariable(int iSockFd, u_int lhController, char *pVarName, char *pstrOption, u_int *plhVar)
BCAP_HRESULT bCap_ServiceStart(int iSockFd)
BCAP_HRESULT
BCAP_HRESULT values.
BCAP_HRESULT bCap_ControllerExecute2(int iSockFd, u_int lhController, char *pStrCommand, BCAP_VARIANT *pVntOption, BCAP_VARIANT *pvntResult)
BCAP_HRESULT bCap_RobotGetVariable(int iSockFd, u_int lhRobot, char *pVarName, char *pStrOption, u_int *lhVarCurJnt)
BCAP_HRESULT bCap_ControllerConnect(int iSockFd, char *pStrCtrlname, char *pStrProvName, char *pStrPcName, char *pStrOption, u_int *plhController)
BCAP_HRESULT bCap_ControllerExecute(int iSockFd, u_int lhController, char *pStrCommand, char *pStrOption, void *plResult)
BCAP_HRESULT bCap_TaskStart(int iSockFd, u_int lhTask, long lMode, char *pStrOption)
BCAP_HRESULT bCap_VariableGetValue(int iSockFd, u_int lhVar, void *pVntValue)
BCAP_HRESULT bCap_RobotChange(int iSockFd, u_int lhRobot, char *pStrCommand)
BCAP_HRESULT bCap_RobotExecute(int iSockFd, u_int lhRobot, char *pStrCommand, char *pStrOption, void *plResult)
BCAP_HRESULT bCap_RobotExecute2(int iSockFd, u_int lhRobot, char *pStrCommand, BCAP_VARIANT *pVntOption, BCAP_VARIANT *pvntResult)
BCAP_HRESULT bCap_ControllerDisconnect(int iSockFd, u_int lhController)
BCAP_HRESULT bCap_ControllerGetTask(int iSockFd, u_int lhController, char *pTskName, char *pstrOption, u_int *plhVar)
BCAP_HRESULT bCap_ControllerGetRobot(int iSockFd, u_int lhController, char *pStrRobotName, char *pStrOption, u_int *lhRobot)
BCAP_HRESULT bCap_VariablePutValue(int iSockFd, u_int lhVar, u_short iType, u_int lArrays, void *pVntValue)
BCAP_HRESULT bCap_RobotRelease(int iSockFd, u_int lhRobot)
BCAP_HRESULT bCap_TaskRelease(int iSockFd, u_int lhTask)
BCAP_HRESULT bCap_TaskStop(int iSockFd, u_int lhTask, long lMode, char *pStrOption)
BCAP_HRESULT bCap_Open(const char *pIPStr, int iPort, int *piSockFd)
BCAP_HRESULT bCap_VariableRelease(int iSockFd, u_int lhVar)
BCAP_HRESULT bCap_TaskGetVariable(int iSockFd, u_int lhTask, char *pVarName, char *pstrOption, u_int *plhVar)
BCAP_HRESULT bCap_ServiceStop(int iSockFd)
BCAP_HRESULT bCap_RobotMove(int iSockFd, u_int lhRobot, long lComp, char *pStrPose, char *pStrOption)
BCAP_HRESULT bCap_Close(int iSockFd)