Skip to content

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.

  1. Navigate to the Inspection list.
  2. Press the Add button. An image showing the location of the Add button on the Inspection list
  3. Fill in the Name field with Inspection with Images.
  4. Press the Save button. An image showing the Inspection create form
  5. Add a Pass/Fail Test and select a Defect for it.
  6. Add an SPC Test and select a Characteristic for it. An image showing the Inspection with a single Pass/Fail and SPC Test

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.

An image showing the location of the inspection settings button

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:

  1. Select the Pass/Fail test.
  2. 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.

An image showing the Pass/Fail test with the Attached Files and Attachment method set

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:

  1. Open the Sub-Inspection settings. An image showing the location of the Sub-Inspection settings button
  2. Change the Attached Files setting to Optional.
  3. Change the Attachment Method to Attach Files.
  4. Press Confirm. An image showing the Sub-Inspection settings overlay

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.

An image showing the image capture overlay

Use the Sub-Inspection Note button to attach a file from your device.

An image showing the location of the Sub-Inspection note button

An image showing the file upload overlay

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

  1. Navigate to Quick Chart.
  2. Press Add Retreival. An image showing the location of the Add Retrieval button on the Dashboard
  3. Fill in the Name field with Data Attachment Retrieval.
  4. Leave the Date field as Current Day. An image showing the date field
  5. Select the Process which you entered data for. If you did not explicitly select a Process, select Final Inspection. An image showing the process field
  6. Press Confirm. An image showing the confirm button

Add Data Tables

  1. Press the DMS Data button. An image showing the dms data button
  2. Select the Retrieval you created. An image showing the retrieval button

Repeat these steps to add an SPC Data Table.

An image showing the data tables

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.

An image showing the attached files

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.

See Also