You are on page 1of 8

TestStand Computer Motherboard

Sequence Demo
Software folosit:
NI TestStand
Scop
Exemplul acesta simuleaza testarea placii de baza a unui calculator folosind pasi de
testare in LabVIEW Adapter.

Instructiuni pentru folosirea acestui exemplu:

Complete the following steps to use this example.


1.

2.

3.
4.
5.
6.
7.
8.

On the Steps pane of the MainSequence, review the steps in the Setup step group.

The Simulation Dialog step calls a VI that launches a dialog box to prompt you to select a test or tests
you want to simulate to fail.

The Turn Vacuum Table On step, which is an Action step, simulates the activation of a vacuum table.
In the Cleanup step group, the Turn Vacuum Table Off step deactivates the vacuum table.
On the Steps pane, review the steps in the Main step group.

The Powerup Test step, which is a Pass/Fail Test step, simulates a power-up test, and the results of the
step determine whether the following If/Else structure continues testing or executes the Powerup
Diagnostics step.

The CPU Test step, which is a Sequence Call step, calls the CPU Test subsequence to simulate CPU
tests.

The ROM Test, RAM Test, Video Test, and Keyboard Test steps simulate tests, and if any test fails,
the following If structure executes.

Each step in the If structure specifies a precondition expression that executes the step only when the
corresponding test step fails.
Select ExecuteSingle Pass to run the sequence.
In the Test Simulator dialog box, select the Power On test to fail.
When execution completes, review the report on the Report pane. The report indicates that the test steps after
the Powerup Test step did not execute, but the Powerup Diagnostics step did execute.
Select ExecuteRestart to run the sequence again.
In the Test Simulator dialog box, select any test other than the Power On test to fail.
When execution completes, review the report. The report indicates that the Powerup Test step passes and
TestStand ran the remaining tests, and that TestStand ran diagnostic steps for any failed test steps but skipped
diagnostic steps for any passed test steps.

In Panoul Steps:
- se pot vedea pasii de testare
-testarea este alcatuit din 3 grupuri:
1. Setup grup
2. Main grup
3. Cleanup grup
Setup Grup:
-are doi pasi de test: - simulation dialog
- turn vacuum table ON

Simulation Dialog apeleaza un VI care deschide o fereasta de unde ai optiunea sa alegi


care componenta a placi de baza va esua la testare.
In imaginea de mai jos nu am ales nimic sa esueze deci testarea a avut succes.

In imaginea de mai jos am ales partea de video sa esueze deci testarea nu a avut succes.

Turn Vacuum Table On simuleaza activarea unui vacuum table,in cleanup grup turn
vacuum table off dezactiveaza simularea.

Main grup
Are mai multe pasi:
1.
2.
3.
4.
5.
6.
7.

Powerup test
CPU test
ROM test
RAM test
Video test
Keyboard Test
Powerup Diagnostics

Testul Powerup este un test PASS/FAIL dupa care este un if si daca testul nu esueaza
atunci intra in if daca esueaza atunci sare direct la Powerup Diagnostics.
Dup acesta intra in if si primul test care face este CPU test care este un Sequence call
step. Acesta simuleaza un CPU pentru test.
ROM test, RAM test, Video test si Keyboard Test simuleaza teste la care daca esueaza
una trec la urmatoarul if.
Pentru a rula o singura secventa de teste mergem in execute si alegem Single Pass.

UUT Report-raportul de test


Station ID

CVTC-HP

Serial Number

NONE

Date

Wednesday, April 29, 2015

Time

11:25:22 AM

Operator

administrator

Execution Time

20.39 seconds

Number of Results

22

UUT Result

Failed

Failure Chain

Step

Video Test

Sequence

Sequence File

MainSequence

Computer Motherboard Test Sequence.seq

Limits

Step

Status

Simulation Dialog

Done

Turn Vacuum Table On

Done

Powerup Test

Passed

Measurement

Units

Low Limit High Limit

Comparison Type

Done
If{True}

Limits

Step

Status

Passed
CPU Test

Measurement

Units

Low Limit High Limit

Comparison Type

Limits

Step

Status

Register Test

Passed

Instruction Set Test

Passed

Cache Test

Passed

FPU Test

Passed

Measurement

Units

Low Limit High Limit

Comparison Type

Limits

Step

Status

Measurement

Units

Low Limit High Limit

ROM Test

Passed

RAM Test

Passed

Video Test

Failed

15

Keyboard Test

Passed

Done
If{True}

10

Comparison Type

GTLT(> <)

GT(>)

Limits

Step

Status

CPU Diagnostics

Skipped

ROM Diagnostics

Skipped

RAM Diagnostics

Skipped

Video Diagnostics

Failed

Keyboard Diagnostics

Measurement

Units

Low Limit High Limit

0.003

Comparison Type

LT(<)

Skipped

Limits

Step

End(If)

Status

Measurement

Units

Low Limit High Limit

Comparison Type

Done

Limits

Step

End UUT Report

Status

End(If)

Done

Turn Vacuum Table Off

Done

Measurement

Units

Low Limit High Limit

Comparison Type

You might also like