Scripting in inspections

Scripts can be used with inspections to execute formulas for most test types in a running inspection. The type of scripting program used for inspections depends on whether the inspection is being used in GS Collect for mobile devices or PC Collect for inspections conducted on traditional computers.

 

Contents  [Hide]

 

Writing scripts for PC Collect inspections

Scripts for PC Collect inspections are written using Python scripting with GainSeeker. They are added to inspections using the PythonScript property for the Formula test in the Inspection Editor

Python and GainSeeker

Python is an accessible scripting language that gives you access to greater functionality in GainSeeker. It allows you to automate customized data entry and analytics in a readable syntax. People who are familiar working with other programming or scripting languages are encouraged to explore the use of Python with GainSeeker.

Writing scripts for GS Collect inspections

Scripts can be written using LiveCode for GS Collect inspections. They are added using the FormulaMobile property for the Formula test in the Inspection Editor

When a formula executes in GS Collect and PC Collect

The formula executes based on how the FormulaMode property for the Formula test is set.

Related topics