Breadcrumbs

CDRFLEx.set_on_monitoring_update_module

Features

This is a function to register a callback function to automatically check when the sw module of the controller is updated. This is useful when writing functions that should be executed automatically.

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnMonitoringUpdateModuleCB

-

Refer to definition of callback function

Return

None.

Example

Python
void OnMonitoringUpdateModuleCB (UPDATE_SW_MODULE_RESPONSE tUpdate)
{
//When sw module is updated
}

int main()
{
Drfl.set_on_monitoring_update_module(OnMonitoringUpdateModuleCB);
}