Skip to main content
Skip table of contents

TOnMonitoringDataExCB

Features

This is a callback function for checking robot operation data that is the same as the current location of the robot controller. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 100 msec) within the callback function should not be made.

Parameter

Parameter Name

Data Type

Default Value

Description

*pData

struct. MONITORING_DATA_EX

-

Refer to definition of structure

Return

None

Example

CPP
void OnMonitoringDataExCB(const LPMONITORING_DATA_EX pData)
{
cout << "joint data "
    << pData->_tCtrl._tJoint._fActualPos[0]
    << pData->_tCtrl._tJoint._fActualPos[1]
    << pData->_tCtrl._tJoint._fActualPos[2]
    << pData->_tCtrl._tJoint._fActualPos[3]
    << pData->_tCtrl._tJoint._fActualPos[4]
    << pData->_tCtrl._tJoint._fActualPos[5] << endl;
}

int main()
{
Drfl.SetOnMonitoringExData(OnMonitoringDataCB);
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.