Collecting Data With Images
When collecting data, it is often beneficial to have an image that accompanies a specific Defect or measurement. GS supports capturing images from an on-device camera as well as uploading local files. These files may be attached to an individual test, or to the entire Sub-Inspection.
In this guide, you will create an Inspection which requires an operator to capture an image when a Defect is found, and may optionally upload other files to the Sub-Inspection.
This guide assumes you have already set up Parts, Characteristics, and Defects.
Create the Inspection
Begin by creating a new Inspection which will collect data with files attached.
- Navigate to the Inspection list.
- Press the Add button.

- Fill in the Name field with Inspection with Images.
- Press the Save button.

- Add a Pass/Fail Test and select a Defect for it.
- Add an SPC Test and select a Characteristic for it.

If you have created more than one Process, you will need to select the Process. To allow the user to select the Process when running the Inspection, add a Process Test. Otherwise, you can select the Process from the Inspection Settings overlay.
Require an Image
Next we will make the Pass/Fail test require an attached image when there is a failure. By default, attaching files is disabled. In order to enable attaching files:
- Select the Pass/Fail test.
- Change the Attached Files property to Require an attached file if there is a Real Time Failure or Defect.
In order to ensure that the attached file is an image that was captured from the on-device camera, change the Attachment Method to Capture Image.
Warning
Only devices which have a camera will be able to utilize the Capture Image attachment method. If an attachment is required and the Attachment Method is set to Capture Image, devices without a camera will be unable to submit the Inspection. If there is a chance that an Inspection will be run by a device without a camera, the Attachment Method should always be set to Attach Files or Both.
Allow an Optional File
In order to allow Users to optionally attach files which will apply to the Sub-Inspection:
- Open the Sub-Inspection settings.

- Change the Attached Files setting to Optional.
- Change the Attachment Method to Attach Files.
- Press Confirm.

Submit Data
Press Save and Run to run the Inspection. Fill out the Inspection, and note that the Note button turns red when Fail is selected on the Pass/Fail test. Clicking this button will open an overlay which allows you to capture images.
Information
On desktop devices with an attached webcam, you must provide permission for GS to access the camera. Mobile devices with a built-in camera do not require extra permissions.
Use the Sub-Inspection Note button to attach a file from your device.
Press Submit to save the data and files.
View Attached Files
You may view the files attached to a Data Record by viewing that record in a Dashboard.
Add a Retrieval
- Navigate to Quick Chart.
- Press Add Retreival.

- Fill in the Name field with Data Attachment Retrieval.
- Leave the Date field as Current Day.

- Select the Process which you entered data for. If you did not explicitly select a Process, select Final Inspection.

- Press Confirm.

Add Data Tables
Repeat these steps to add an SPC Data Table.
View the Attachments
Click on one of the records in a table. Note that the DMS records have both the captured image and the file attached to the Sub-Inspection, while the SPC Data only has the data attached to the Sub-Inspection.
Danger
Deleting a file that is attached via to the Sub-Inspection will permanently delete that file from all data records it is attached to.








