Timer test

Note: Not all of the sub-inspection test toolbar buttons are technically "tests." For simplicity, that term is used to describe all of the sub-inspection test toolbar buttons.

You can add a Timer to a sub-inspection.

 

Contents  [Hide]

 

Why you might want a Timer

Circumstances in which you may want to add a Timer test to a sub-inspection:

Adding a Timer test to a sub-inspection

  1. Click the Timer test toolbar button to add this test to the sub-inspection.

  2. After the test has been added to the sub-inspection, use the Properties panel to change any properties for this test:

Timer test Properties

Property

Default setting or default display

Allows

APPEARANCE

Label

[blank]

The label or instructions displayed for this test during data entry.

You can double-click on the Timer test to edit this property.

BEHAVIOR

TimerSeconds

0
Timer counts up from zero until operator stops it.

Enter a value greater than 0 (zero) and the timer counts down from that number in seconds.

DATA

ResultStorage

DoNotStore
Does not save any values associated with the timer.

The options SPCStandard and Traceability store the timer value in seconds using the selected SPC standard (or traceability) selected in either of those properties.

SPCStandard

[blank]

Select an SPC standard for which to store the timer value in seconds.

Traceability

[blank]

Select a traceability field in which to store the data.

MOBILE

TimerCode

[Mobile only]

[The LiveCode code that executes every second when counting up from zero]:

Put “Elapsed time = “&getTime(“m”)into me

Enter LiveCode code that determines how the number of seconds is displayed. This code will automatically display when the TimerSeconds property is set to a non-zero value:

Put “Remaining time = “&getTime(“s”) into me

Note: Using “m” displays “00:00“ (minutes:seconds) whereas “s” only displays the number of seconds.

PC

AutoStart

[PC only]

False
The inspector must click the Start and Stop buttons to start and stop the timer.

True
The timer automatically starts when the sub-inspection opens, and it automatically stops when the sub-inspection is submitted or cancelled or when the timer counts down to 0. The Start and Stop buttons for this test are not displayed.

TestID

[PC only]

A unique TestID number is automatically assigned to each test in the inspection, but you can change this number to a more meaningful name.

The TestID property is only used in Python scripts for PC Collect inspections.

For more information, see About the TestID property

Enter a name for the TestID.

TestSpecificTrace

[PC only]

[blank]

You can specify one or more traceability values that will be applied only to this Pass/Fail test on this sub-inspection.

These values will not be displayed to the inspector during data entry.

If you want to store this test's TestID property as a traceability value, enter [testid] .

Any traceability values you set here will override values set by Traceability tests, Inspection properties, Planned Inspection traceability values, etc.

VerticalSize

[PC only]

Regular. Test is full-sized.

Short. Helps you to fit more tests on the screen. Test may be shorter, and white space above and below this test may be reduced.

Executing a formula for a Timer test

You can optionally choose to execute a formula for a Timer test when certain conditions are met during a running inspection.

See the OnChange topic for specifics about conditions that trigger the execution when a Timer test is used in a sub-inspection with a formula.

Related topics