# Get File

Returns the filename of the active job on the In-Sight vision system.

Note:

The active job must be saved before this command can be executed successfully.

## Get File Inputs

Syntax: GF

## Get File Outputs

Returns a status code, followed by the name of the file. The status codes are:

Status Codes | Description
--- | ---
1 | The command was executed successfully.
0 | Unrecognized command.
-2 | The active job has not been saved, therefore the command could not be executed.

## Get File Example

Assume that the active, saved job on an In-Sight vision system is named "2job.jobx". To return the filename of the active job, issue the following command: GF

The In-Sight vision system responds with 1, indicating that the command executed successfully. On the following line, the active job filename (2job.jobx) is displayed.