Professional Documents
Culture Documents
Sequence Demo
Software folosit:
NI TestStand
Scop
Exemplul acesta simuleaza testarea placii de baza a unui calculator folosind pasi de
testare in LabVIEW Adapter.
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
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.
CVTC-HP
Serial Number
NONE
Date
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
Limits
Step
Status
Simulation Dialog
Done
Done
Powerup Test
Passed
Measurement
Units
Comparison Type
Done
If{True}
Limits
Step
Status
Passed
CPU Test
Measurement
Units
Comparison Type
Limits
Step
Status
Register Test
Passed
Passed
Cache Test
Passed
FPU Test
Passed
Measurement
Units
Comparison Type
Limits
Step
Status
Measurement
Units
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
0.003
Comparison Type
LT(<)
Skipped
Limits
Step
End(If)
Status
Measurement
Units
Comparison Type
Done
Limits
Step
Status
End(If)
Done
Done
Measurement
Units
Comparison Type