WriteEnd (FUN)ΒΆ
FUNCTION WriteEnd : DINT
- Finishes the writing of process data. Usually this is the point 
- when the pi is committed to the device. 
- @param deviceId The id of the device. 
- @param taskId The id of the task. 
- @return Returns 0 on success, -1 otherwise 
 
- InOut:
- Scope - Name - Type - Return - WriteEnd- DINT- Input - deviceId- DINT- taskId- UDINT
