Delete File

Note:
  • The In-Sight vision system must be Offline.
  • To delete a job or .CXD file stored in the vision system's RAMDisk folder, the syntax is: DFRAMDisk/[Filename]. For example, to delete the file "Test.job" stored in the vision system's RAMDisk folder, issue the following command: "DFRAMDisk/Test.job".
  • To delete a job or .CXD file stored in the vision system's SD Card folder, the syntax is: DFSDCARD/[Filename]. For example, to delete the file "Test.job" stored in the vision system's SD Card folder, issue the following command: "DFSDCARD/Test.job".

Delete File Inputs

Syntax: DF[Filename]

Parameter Description

Filename

The name of the job or .CXD file. The file extension must be .JOB or .CXD.

Delete File Outputs

Returns a status code, followed by a line terminator. The status codes are:

Status Codes Description

1

The command was executed successfully.

0

Unrecognized command.

-1

The filename is missing.

-2

The file could not be deleted, the vision system is Online, a file does not exist with the given name, or the job data is invalid, therefore the command could not be executed.

-6

User does not have Full Access to execute the command.

Example: Delete a Job File

To delete the job "Test.job" from the In-Sight vision system, issue the following command: DFTest.job

The In-Sight vision system responds on the following line with the status code of 1, indicating that the job was successfully deleted.

Example: Delete a .CXD File

To delete the .CXD file "FindPatterns.cxd" from the In-Sight vision system's RAM Disk folder, issue the following command: DFRAMDisk/FindPatterns.cxd

The In-Sight vision system responds on the following line with the status code of 1, indicating that the .CXD file was successfully deleted.