# Filmstrip Controls

Playing back frames in the Filmstrip window is useful to simulate image acquisition while the job is offline. Playback and frame management is performed with the following Filmstrip window controls:

Icon | Control | Description
--- | --- | ---
| Configure the Record and Playback Directory | Opens the Configure the Record and Playback Directory dialog that is used to configure the location of the folder where the frames will be saved and read. If you do not select any folder, then In-Sight ViDi saves the recorded frames to the following directory by default: <X>:\Documents\In-Sight Vision Suite\In-Sight ViDi\Filmstrip\[Date]_[Time] The folder, by default, is named after the date and time of the frame recording. For example, if the first recording has been created on July 16 2020 at 12:47:37, then the Filmstrip folder will be automatically named 20200716_124737 If you select a Filmstrip folder that already contains image and/or frame files, In-Sight ViDi will automatically add them to the Filmstrip window once you click Select Folder. If the folder contains both frame files and images, the images will be added after the existing frames.
| Import a Filmstrip | Opens the Filmstrip Import window that is used to load a compressed frame (or set of frames) into the Filmstrip that you previously exported with the Save All Images to a ZIP file or Save Selected Images to a ZIP file option (see below).
| Save All Images to a ZIP File | Exports all frames in the Filmstrip into a ZIP archive, and opens a dialog that you can use to browse the location where the archive will be saved. The ZIP file is named in the following format by default: [JobName]_Filmstrip_Export_[Date]_[Time].zip In the above format, JobName is the name of the currently loaded job (as seen on the active tab of at the top of the screen), while Date and Time are the exact date and time of the export.
| Save Selected Images to a ZIP File | Exports the frame(s) selected on the Filmstrip into a ZIP archive, and opens a dialog that you can use to browse the location where the archive will be saved. The ZIP file is named in the same format as in case of the (Save All Images to a ZIP File) option.
| Record | A toggle button that starts/stops recording. When record mode is on, the button is blinking (), indicating that it is awaiting image acquisition. Press the Record button again to turn off recording mode.
| New | Creates an empty frame, indicated as shown below. Tip: You can drag and drop an existing image stored on the PC into an empty frame. This is useful when you create a new image database that you want to import into the In-Sight ViDi editor.
| Play First | Runs the configured Spreadsheet task using the first (leftmost) frame on the Filmstrip.
| Play Previous | Runs the configured Spreadsheet task using the frame preceding the previously-executed frame.
| Play / Pause | Begins playing back all the frames automatically. When active, the button is replaced with a (Pause) button. Click this Pause button to stop automatic playback. Note: While playback is active, all other Filmstrip controls are disabled.
| Play Next | Runs the job in the Spreadsheet using the frame following the previously-executed frame.
| Play Last | Runs the job in the Spreadsheet using the last (rightmost) frame on the Filmstrip window.
| Replay the Frame | Replays the frame that was played back the last time in the Filmstrip window.
| Loop Playback | A toggle button that enables looped playback. When enabled, pressing the button will play back the frames of the Filmstrip in a loop (that is, when the playback reaches the last frame, it automatically restarts from the first frame afterwards). This setting is disabled by default.
| Preview | Opens the Filmstrip Preview Window and shows the currently selected frame.
| Name | Specifies the name of the next frame to record. To set a new frame name, either type in a new name into the Name drop-down box, or (if you already have multiple specified names), expand the drop-down box to select an existing one. Newly-recorded frames will be using the newly-configured string as their name. The default value is Frame. Note: Typing an existing frame name automatically selects that frame name in the drop-down list. The Name setting and the Rename selected frames context menu does not affect the frame's sequence number. Use the Counter setting to modify that. Tip: You can also change the name of a single frame by left-clicking on the name above the frame's thumbnail, and then typing in a new name. The specified name will also be added to the Name drop-down list.
| Counter | Defines the sequence number of the next frame to record. The Filmstrip automatically fills this field (using 1 if no frames have been recorded yet, and increasing the value by 1 after each recording), but you can also overwrite the default value either by typing in a new number, or increasing/decreasing the current value with the combobox stepper buttons. For example, if the last recorded frame has a number of 0020, but you set the Counter control to 40, then the next recorded frame will have a number of 0040. At the same time, the value of the Counter control is stepped to 41. Numbering starts from 0 by default. Tip: Similarly to changing the frame name, you can also change the sequence number of a single frame by left-clicking on the number above the frame's thumbnail, and then either typing in a different sequence number, or using the stepper buttons that appear. However, this does not affect the number of subsequent frames or the value of the Counter control.