
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
107
4.1.19 DP_disable_event
Purpose
With this function, an earlier DP_enable_event call can be canceled. This ends the
previous ready to receive state without the relevant event having occurred.
The result of the terminating call must be fetched with DP_get_result. Following
this, DP_enable_event, for example, can be called again with changed conditions.
Syntax
DPR_DWORD DP_disable_event (DPR_DWORD user_handle,// in
DP_ERROR_T *error ); // out
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
error Address of a structure provided by the user program of the
type DP_ERROR_T. If an error occurred, the structure
contains details for troubleshooting (see Section 4.4).
Return Value
Name Description
DP_OK Execution of the function was executed successfully.
other Unsuccessful completion of the function
Comentarios a estos manuales