# Store File

Saves the current job A job is a user-configured program in In-Sight Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight Spreadsheet interface, and load them on a vision system for deployment in a live environment. in the flash memory on the In-Sight vision system, the RAM Disk, or the SD card.

Note:

- The Store File command only works if you have not saved the current job yet.

- To save the current job file to the RAMDisk folder of the In-Sight vision system with the specified filename, the syntax is: TFRAMDisk/[Filename]. For example, to save the file Test.jobx to the RAMDisk folder of the vision system, issue the following command: TFRAMDisk/Test.jobx.
- To save the current job file to the SD card folder of the vision system with the specified filename, the syntax is TF SDCARD/[Filename]. For example, to save the file Test.jobx stored to the SD card folder of the vision system, perform the following command: TF SDCARD/Test.jobx.

## Store File Inputs

Syntax: TF<Filename>

Parameter | Description
--- | ---
Filename | The name of the job. The command executes with or without the .JOBX extension.

## Store File Outputs

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

Status Codes | Description
--- | ---
1 | The command executes successfully.
0 | Unrecognized command.
-1 | The filename is missing.
-2 | The job fails to save, the file is not found and therefore the command cannot execute.
-6 | User does not have Full Access to execute the command.

## Store File Example

To name the current job Test and save it in flash memory on the In-Sight vision system, issue the following command:

TFTest.jobx

The In-Sight vision system responds with 1, indicating that the save operation of the current job is successful.