navGPIProgressReceive (Functionblock) |
Top Previous Next |
This function block returns information about the status and progress of a file transfer. Note that the progress is only valid after a "File progress" event is raised; the event will be removed when this function block is called. Note: this function block is not supported on the NMP.
Input: None.
Output: status : INT The status of the transfer.
progress : SINT The progress of the transfer in percent.
type : SINT The type of file being transferred. Available starting with Firmware v4.70 / 1.30.00.
error : INT The detailed error for the file transfer. Available starting with Firmware v4.70 / 1.30.00. The error code depends on the file type. Common error codes:
In addition to the common error codes, most file types have detailed error codes that can be found in the documentation of the function that started the transfer:
ready : BOOL
Declaration: FUNCTION_BLOCK navGPIProgressReceive;
Example: INCLUDE rtcu.inc |