Downl. retentive data to DEVICE

This function creates a file on external mass storage (MMD/SD or USB) containing the retentive data values.
The file created is named “applic.dat” and is the same as the file obtained by the “Save Data…” procedure in the QView development environment. The function can only be performed if there is a valid QCL application in the controller.

The procedure performs the following steps:

  • Check the presence of the MMC/SD or USB card.
    The “Check DEVICE presence” message is given.
    On DEVICE appears MMC or USB, depending on what is selected.
  • Mounting the MMC/SD or USB card.
    The “Mounting device…” message is given.
  • Check the presence of the QCL program
    The “Checking application presence…” message is given.
  • Check the validity of the retentive data
    The “Checking retentive data…” message is given.
  • Open the applic.dat destination file on the external MMC/SD or USB card
    The “Open destination file…” message is given.
  • Write the headers in the destination file
    The “Write headers to destination file” message is given.
  • Write the retentive data in the destination file
    The “Write data to destination file”.
    NOTE: the percentage progress of the operation is given during this step
  • Close the file and end the operation
  • Last modified: 2019/08/29 17:01