1. Introduction
1.1. Glossary
Sequence File:
Represent a TestStand file with .seq extension that can contain one ore many sequences.
Sequence:
Represent a sequence of steps. Sequences have three groups of steps (Setup, Main, Cleanup) and are always part of a Sequence File.
1.2. Graph Legend
1.2.2. Graph Edges
A black arrow is used in graphs to represent calling relations between components :
2. Workspace
2.1. Requirements
REQ_700, REQ_800
2.2. Workspace Hierarchy
This graph shows all Sequence Files in the workspace and their calling relationships.
2.3. Workspace Objects
| Object | Version |
|---|---|
|
|
|
|
|
|
|
1.0.1.3 |
|
2.0.0.0 |
|
|
|
0.3.1.0 |
|
1.0.6.0 |
|
1.1.0.0 |
3. Code Modules
3.1. Languages
|
Note
|
This graph only shows steps that are inside the documented Sequence Files. Other code modules may be called in child Sequence Files. |
4. Chapter1.seq
4.1. Requirements
REQ_567
4.2. File Properties
This sequence file contains all tests of chapter 1.
| Display Name | # of Sequences | Version | File Format |
|---|---|---|---|
Chapter1.seq |
3 |
1.0.1.3 |
Binary |
4.4. File Globals
No objects of this type.
4.5. Sequences Overview
The Sequence File contains the following 3 Sequences:
| Name | Type | Steps | Prototype |
|---|---|---|---|
|
Model Callback |
4 |
MainSequence () |
|
Normal |
2 |
Test 1 ( |
|
Normal |
2 |
Test 2 ( |
4.6. Sequence MainSequence
Executes all tests defined in Chapter 1 of Test Program.
4.6.1. Requirements
REQ_004, REQ_005
4.6.2. Parameters
No objects of this type.
4.6.3. Steps
| Step | Description |
|---|---|
|
// This step is here to add a calling relation between Chapter1.seq and Common2.seq |
|
Call Test 1(1, 2, Locals.Test1_Result) in <Current File> |
|
Call Test 2(8, 3, Locals.Test2_Result) in <Current File> |
|
Call Cleanup Instruments in Common1.seq |
4.6.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Test1_Result (Number) |
0 |
0x0 |
|
Test2_Result (Number) |
0 |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
|
LoginStatus (Boolean) |
False |
0x0 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
4.7. Sequence Test 1
Add A+B and return result
4.7.1. Requirements
REQ_006, REQ_007
4.7.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
A (Number) |
0 |
0x0 |
|
B (Number) |
0 |
0x0 |
|
Result (Number) |
0 |
The result of A + B |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
4.7.3. Steps
| Step | Description |
|---|---|
|
Parameters.Result=Parameters.A+Parameters.B |
|
Action, System.Data.CommandBehavior: CloseConnection Assembly: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 |
4.7.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
4.8. Sequence Test 2
Substract A-B and return result
4.8.1. Requirements
REQ_008, REQ_009
4.8.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
A (Number) |
0 |
0x0 |
|
B (Number) |
0 |
0x0 |
|
Result (Number) |
0 |
The result of A - B |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
4.8.3. Steps
| Step | Description |
|---|---|
|
Parameters.Result=Parameters.A-Parameters.B |
|
Action |
4.8.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
5. Chapter2.seq
5.1. Requirements
REQ_789, REQ_485
5.2. File Properties
This sequence file contains all tests of chapter 2.
| Display Name | # of Sequences | Version | File Format |
|---|---|---|---|
Chapter2.seq |
4 |
2.0.0.0 |
Binary |
5.4. File Globals
No objects of this type.
5.5. Sequences Overview
The Sequence File contains the following 4 Sequences:
| Name | Type | Steps | Prototype |
|---|---|---|---|
|
Model Callback |
3 |
MainSequence () |
|
Normal |
2 |
Test 3 () |
|
Normal |
2 |
Test 4 () |
|
Normal |
2 |
Test 5 () |
5.6. Sequence MainSequence
Executes all tests defined in Chapter 2 of Test Program.
5.6.1. Requirements
REQ_050
5.6.2. Parameters
No objects of this type.
5.6.3. Steps
| Step | Description |
|---|---|
|
Call Test 3 in <Current File> |
|
Call Test 4 in <Current File> |
|
Call Test 5 in <Current File> |
5.6.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
5.7. Sequence Test 3
Check a DMM measurement between limits
5.7.1. Requirements
REQ_006, REQ_007
5.7.2. Parameters
No objects of this type.
5.7.3. Steps
| Step | Description |
|---|---|
|
Locals.Measure = 3.14 |
|
Numeric Limit Test, 3 ⇐ x ⇐ 5, V |
5.7.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Measure (Number) |
0 |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
5.8. Sequence Test 4
Check a SCOPE measurement for InRush current test.
5.8.1. Requirements
REQ_011
5.8.2. Parameters
No objects of this type.
5.8.3. Steps
| Step | Description |
|---|---|
|
Locals.Measurements = {1.01, 1.23, 2.05, 4.5, 2.1, 0.1} |
|
5.8.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Measurements (Array of Numbers[0..empty]) |
… |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
5.9. Sequence Test 5
Visual inspection
5.9.1. Requirements
REQ_012
5.9.2. Parameters
No objects of this type.
5.9.3. Steps
| Step | Description |
|---|---|
|
NameOf(Step) |
|
Action |
5.9.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Measurements (Array of Numbers[0..empty]) |
… |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
6. Common1.seq
6.1. File Properties
No description found (add content in Sequence File description)
| Display Name | # of Sequences | Version | File Format |
|---|---|---|---|
Common1.seq |
2 |
0.3.1.0 |
Binary |
6.3. File Globals
No objects of this type.
6.4. Sequences Overview
The Sequence File contains the following 2 Sequences:
| Name | Type | Steps | Prototype |
|---|---|---|---|
|
Normal |
3 |
Get Bench Status ( |
|
Normal |
2 |
Cleanup Instruments () |
6.5. Sequence Get Bench Status
Get the bench status from all bench components.
6.5.1. Requirements
REQ_030
6.5.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
BenchStatus (Boolean) |
False |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
6.5.3. Steps
| Step | Description |
|---|---|
|
Call Get Login Status( , Locals.LoginStatus) in Common2.seq |
|
Call Get Power Status(Locals.PowerStatus) in Common2.seq |
|
Parameters.BenchStatus = Locals.LoginStatus && Locals.PowerStatus |
6.5.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
|
LoginStatus (Boolean) |
False |
0x0 |
|
PowerStatus (Boolean) |
False |
0x0 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
6.6. Sequence Cleanup Instruments
Set Bench to default state to be ready for further tests. Used this sequence to control inial conditions of next test.
6.6.1. Requirements
REQ_040
6.6.2. Parameters
No objects of this type.
6.6.3. Steps
| Step | Description |
|---|---|
|
Action, System.Data.CommandBehavior: CloseConnection Assembly: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 |
|
// Call code to cleanup bench |
6.6.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
7. Common2.seq
7.1. File Properties
No description found (add content in Sequence File description)
| Display Name | # of Sequences | Version | File Format |
|---|---|---|---|
Common2.seq |
3 |
1.0.6.0 |
Binary |
7.3. File Globals
The scope of the file globals is 'All Executions Share'.
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
String (String) |
"toto" |
0x0 |
|
StringArray (Array of Strings[0..1]) |
… |
0x0 |
|
└─ [0] (String) |
"element1" |
0x0 |
|
└─ [1] (String) |
"element2" |
0x0 |
|
Number (Number) |
22 |
0x0 |
|
NumberArray (Array of Numbers[0..1]) |
… |
0x0 |
|
└─ [0] (Number) |
1 |
0x0 |
|
└─ [1] (Number) |
2.6 |
0x0 |
|
Boolean (Boolean) |
False |
0x0 |
|
BooleanArray (Array of Booleans[0..1]) |
… |
0x0 |
|
└─ [0] (Boolean) |
False |
0x0 |
|
└─ [1] (Boolean) |
True |
0x0 |
|
Object (Object Reference) |
Nothing |
0x0 |
|
ObjectArray (Array of Object References[0..empty]) |
… |
0x0 |
|
ContainerLevel1 (ContainerLevel1 (Container)) |
… |
0x0 |
|
└─ ContainerLevel2 (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ NumberLevel1 (Number) |
1 |
0x0 |
|
└─ StringLevel1 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel1 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel1 (Object Reference) |
Nothing |
0x0 |
|
ContainerLevel1Array (Array of ContainerLevel2[0..1]) |
… |
0x0 |
|
└─ [0] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
1 |
0x0 |
|
└─ StringLevel2 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ [1] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
7.4. Sequences Overview
The Sequence File contains the following 3 Sequences:
| Name | Type | Steps | Prototype |
|---|---|---|---|
|
Normal |
2 |
Get Login Status ( |
|
Normal |
2 |
Get Power Status ( |
|
Normal |
1 |
DummySequence ( |
7.5. Sequence Get Login Status
Get login status from the bench login manager. It returns the status and the access rights of the current login user.
7.5.1. Requirements
REQ_010
7.5.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Access (Number) |
0 |
Represent the access level of current user (0 = not logged in, 1 = operator, 2 = maintainer, 3 = admin) |
0x4 |
Status (Boolean) |
False |
True if a user is logged in |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
7.5.3. Steps
| Step | Description |
|---|---|
|
// This step gets login status |
|
// Call login Manager |
7.5.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
7.6. Sequence Get Power Status
Get the power status of the test bench.
7.6.1. Requirements
REQ_020
7.6.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Status (Boolean) |
False |
True if 24V PSU and 40V PSU are running correctly |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
7.6.3. Steps
| Step | Description |
|---|---|
|
// This step gets power status |
|
Action |
7.6.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
7.7. Sequence DummySequence
This sequence is used to test that all types of variables are correctly managed in Locals and Parameters.
7.7.1. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
String (String) |
"toto" |
This parameter is used to pass string to the function |
0x0 |
StringArray (Array of Strings[0..1]) |
… |
0x0 |
|
└─ [0] (String) |
"element1" |
0x0 |
|
└─ [1] (String) |
"element2" |
0x0 |
|
Number (Number) |
22 |
This parameter is used to pass number to the function |
0x4 |
NumberArray (Array of Numbers[0..1]) |
… |
0x0 |
|
└─ [0] (Number) |
1 |
0x0 |
|
└─ [1] (Number) |
2.6 |
0x0 |
|
Boolean (Boolean) |
False |
This parameter is used to pass boolean to the function |
0x0 |
BooleanArray (Array of Booleans[0..1]) |
… |
0x4 |
|
└─ [0] (Boolean) |
False |
0x4 |
|
└─ [1] (Boolean) |
True |
0x4 |
|
Object (Object Reference) |
Nothing |
This parameter is used to pass container to the function |
0x4002000 |
ObjectArray (Array of Object References[0..empty]) |
… |
0x0 |
|
ContainerLevel1 (ContainerLevel1 (Container)) |
… |
This parameter is used to pass container to the function |
0x0 |
└─ ContainerLevel2 (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ NumberLevel1 (Number) |
1 |
0x0 |
|
└─ StringLevel1 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel1 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel1 (Object Reference) |
Nothing |
0x0 |
|
ContainerLevel1Array (Array of ContainerLevel2[0..1]) |
… |
0x0 |
|
└─ [0] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
1 |
0x0 |
|
└─ StringLevel2 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ [1] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
0x4002000 |
IncludeInReport (0x2000) - Set this flag on a property to specify that a report generator displays the property in the report. This flag affects only properties that are in a result list or that TestStand copies to a result list. Typically, a report generator considers that the IncludeInReport flag on a container property applies recursively to the subproperties of the container. Typically, a report generator does not recursively apply this flag from a property to its attributes. Set this flag on both the attribute and on the property that owns the top-level attribute for the attribute to appear in the report. NameNotEditable (0x4000000) - Set this flag to prevent the user from editing the name of the object in a sequence editor. |
7.7.2. Steps
| Step | Description |
|---|---|
|
// Call login Manager |
7.7.3. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
String (String) |
"toto" |
0x0 |
|
StringArray (Array of Strings[0..1]) |
… |
0x0 |
|
└─ [0] (String) |
"element1" |
0x0 |
|
└─ [1] (String) |
"element2" |
0x0 |
|
Number (Number) |
22 |
0x0 |
|
NumberArray (Array of Numbers[0..1]) |
… |
0x0 |
|
└─ [0] (Number) |
1 |
0x0 |
|
└─ [1] (Number) |
2.6 |
0x0 |
|
Boolean (Boolean) |
False |
0x0 |
|
BooleanArray (Array of Booleans[0..1]) |
… |
0x0 |
|
└─ [0] (Boolean) |
False |
0x0 |
|
└─ [1] (Boolean) |
True |
0x0 |
|
Object (Object Reference) |
Nothing |
0x0 |
|
ObjectArray (Array of Object References[0..empty]) |
… |
0x0 |
|
ContainerLevel1 (ContainerLevel1 (Container)) |
… |
0x0 |
|
└─ ContainerLevel2 (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ NumberLevel1 (Number) |
1 |
0x0 |
|
└─ StringLevel1 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel1 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel1 (Object Reference) |
Nothing |
0x0 |
|
ContainerLevel1Array (Array of ContainerLevel2[0..1]) |
… |
0x0 |
|
└─ [0] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
1 |
0x0 |
|
└─ StringLevel2 (String) |
"str1" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
True |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
└─ [1] (ContainerLevel2 (Container)) |
… |
0x0 |
|
└─ NumberLevel2 (Number) |
2 |
0x0 |
|
└─ StringLevel2 (String) |
"str2" |
0x0 |
|
└─ BooleanLevel2 (Boolean) |
False |
0x0 |
|
└─ ObjectLevel2 (Object Reference) |
Nothing |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
8. TestSequenceFile.seq
8.1. Requirements
REQ_493, REQ_448
8.2. File Properties
This sequence file is the top level file in the workspace used for unit tests. This file calls other sequence files to simulate a standard test program architecture.
| Display Name | # of Sequences | Version | File Format |
|---|---|---|---|
TestSequenceFile.seq |
4 |
1.1.0.0 |
Binary |
8.4. File Globals
No objects of this type.
8.5. Sequences Overview
The Sequence File contains the following 4 Sequences:
| Name | Type | Steps | Prototype |
|---|---|---|---|
|
Model Callback |
3 |
MainSequence () |
|
Normal |
4 |
Initialize Bench ( |
|
Engine Callback |
0 |
SequenceFilePreStep ( |
|
Model Callback |
1 |
PreUUT ( |
8.6. Sequence MainSequence
8.6.1. Requirements
REQ_001, REQ_002
8.6.2. Parameters
No objects of this type.
8.6.3. Steps
| Step | Description |
|---|---|
|
Call Initialize Bench("MyScopeRef", "MyDMMRef") in <Current File> |
|
Call MainSequence in Chapter1.seq |
|
Call MainSequence in Chapter2.seq |
8.6.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
8.7. Sequence Initialize Bench
Initialize Test Bench to put every instrument in the propoer state for tests.
8.7.1. Requirements
REQ_003, REQ_004
8.7.2. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
SCOPE (String) |
"" |
Resource Name of the SCOPE used for test |
0x4 |
DMM (String) |
"" |
Resource Name of the DMM used for test |
0x4 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
8.7.3. Steps
| Step | Description |
|---|---|
|
Action |
|
// Initialize the DMM |
|
// Initialize the SCOPE |
|
Call Get Bench Status(Locals.BenchStatus) in Common1.seq |
8.7.4. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
BenchStatus (Boolean) |
False |
0x0 |
|
ResultList (Array of Result[0..empty]) |
… |
0x400000 |
Translation of all flags used in Locals:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
8.8. Sequence SequenceFilePreStep
Executes before each steps
8.8.1. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
Step (Container) |
… |
0x84 |
|
Result (Container) |
… |
0x84 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x84 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. DontTypeCheckParameter (0x80) - Set this flag in a sequence parameter to disable type-checking for the parameter. |
8.8.2. Steps
No steps in this Sequence
8.8.3. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x0 |
8.9. Sequence PreUUT
Displays a dialog box in which the operator enters the UUTserial number. Override this in client file to change or replace this action.
8.9.1. Parameters
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ContinueTesting (Boolean) |
True |
0x4 |
|
UUT (UUT (Container)) |
… |
0x84 |
|
└─ SerialNumber (String) |
"" |
0x0 |
|
└─ UUTLoopIndex (Number) |
0 |
0x0 |
|
└─ CriticalFailureStack (Array of NI_CriticalFailureStackEntry[0..empty]) |
… |
0x0 |
|
└─ BatchSerialNumber (String) |
"" |
0x0 |
|
└─ TestSocketIndex (Number) |
-1 |
0x0 |
|
└─ PartNumber (String) |
"" |
0x0 |
|
└─ AdditionalData (Container) |
… |
0x200000 |
|
TestSocket (NI_SequentialTestSocket (Container)) |
… |
This data type exists for symmetry with the batch and parallel models. Currently it has no fields. |
0x84 |
ModelData (NI_SequentialModelData (Container)) |
… |
0x84 |
|
└─ ModelType (NI_ModelType (String)) |
"Sequential" |
Valid values for NI models are "Sequential", "Batch", or "Parallel" |
0x0 |
└─ EntryPoint (String) |
"" |
0x0 |
|
└─ ModelOptions (ModelOptions (Container)) |
… |
0x0 |
|
└─ NumTestSockets (Number) |
4 |
0x0 |
|
└─ HideExecutions (Boolean) |
False |
0x0 |
|
└─ TileExecutions (Boolean) |
True |
0x0 |
|
└─ DefaultBatchSync (Number) |
0 |
0x0 |
|
└─ SequentialBatchMode (Boolean) |
False |
0x0 |
|
└─ BringUUTDlgToFrontOnChange (Boolean) |
True |
0x0 |
|
└─ ParallelModel_ShowUUTDlg (Boolean) |
True |
0x0 |
|
└─ DiscardUnusedResults (Boolean) |
False |
0x0 |
|
└─ StationInfo (NI_StationInfo (Container)) |
… |
0x0 |
|
└─ StationID (String) |
"" |
0x0 |
|
└─ LoginName (String) |
"" |
0x0 |
|
└─ AdditionalData (Container) |
… |
0x200000 |
|
└─ StartTime (TimeDetails (Container)) |
… |
0x0 |
|
└─ Text (String) |
"" |
0x0 |
|
└─ Hours (Number) |
0 |
0x0 |
|
└─ Minutes (Number) |
0 |
0x0 |
|
└─ Seconds (Number) |
0 |
0x0 |
|
└─ Milliseconds (Number) |
0 |
0x0 |
|
└─ StartDate (DateDetails (Container)) |
… |
0x0 |
|
└─ Text (String) |
"" |
0x0 |
|
└─ ShortText (String) |
"" |
0x0 |
|
└─ Year (Number) |
0 |
0x0 |
|
└─ Month (Number) |
0 |
0x0 |
|
└─ MonthDay (Number) |
0 |
0x0 |
|
└─ WeekDay (Number) |
0 |
0x0 |
|
ModelPluginConfiguration (NI_ModelPluginConfiguration (Container)) |
… |
0x4 |
|
└─ Plugins (Array of NI_ModelPlugin[0..empty]) |
… |
0x0 |
|
└─ RuntimeVariables (NI_ModelPluginConfigurationRuntimeVariables (Container)) |
… |
0x0 |
|
└─ RunOrders (Container) |
… |
0x0 |
|
└─ Begin (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ PreBatch (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ BatchStart (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ PreUUT (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ UUTStart (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ OnTheFlyStepResults (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ UUTDone (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ PostUUT (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ BatchDone (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ PostBatch (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ End (Array of Object References[0..empty]) |
… |
0x0 |
|
└─ LastControllerUUT (Object Reference) |
Nothing |
0x0 |
|
└─ ControllerAndSocketSynchronizationManager (Object Reference) |
Nothing |
0x0 |
|
└─ OfflineProcessingResultLog (Object Reference) |
Nothing |
0x0 |
|
└─ PluginSequenceFileCache (Object Reference) |
Nothing |
0x0 |
|
└─ ModelDialogsEnabled (Container) |
… |
0x0 |
|
└─ BatchModelGetNextUUTs (Boolean) |
True |
0x0 |
|
└─ BatchModelShowStatus (Boolean) |
True |
0x0 |
|
└─ ParallelModelUUTInfoDialog (Boolean) |
True |
0x0 |
|
└─ SequentialShowSerialNumber (Boolean) |
True |
0x0 |
|
└─ SequentialShowStatus (Boolean) |
True |
0x0 |
|
└─ SequentialTestUUTsTerminationOption (NI_SequentialTestUUTsTerminationOptions (Enumeration)) |
[Prompt] (0) |
0x0 |
|
└─ CanDiscardResults (Boolean) |
False |
0x0 |
|
└─ CanDisableResults (Boolean) |
False |
0x0 |
|
└─ FirstAsynchronousError (Error (Container)) |
… |
0x0 |
|
└─ Code (Number) |
0 |
0x400000 |
|
└─ Msg (String) |
"" |
0x400000 |
|
└─ Occurred (Boolean) |
False |
0x400000 |
|
└─ AsynchronousThreadLimit (Number) |
0 |
0x0 |
|
└─ PerSocket (Array of NI_ModelPluginConfigurationPerSocketRuntimeVariables[0..empty]) |
… |
0x0 |
|
└─ OTF (Container) |
… |
0x0 |
|
└─ PostResultsCallbackInterval (Number) |
-1.5 |
0x0 |
|
└─ MaximumResultsPerPostResultsCallback (Number) |
500 |
0x0 |
|
└─ GUID (String) |
"" |
0x0 |
|
└─ RunOrder (Number) |
0 |
0x0 |
Translation of all flags used in Parameters:
| Flag Value | Description |
|---|---|
0x0 |
NoFlags (0x0) - No Flags |
0x4 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. |
0x84 |
PassByReference (0x4) - This flag allows a sequence to control how TestStand passes each parameter to it. Set this flag to pass the parameter by reference. Remove this flag to pass a copy of the parameter. DontTypeCheckParameter (0x80) - Set this flag in a sequence parameter to disable type-checking for the parameter. |
0x200000 |
UnstructuredProperty (0x200000) - This flag indicates that no type restrictions exist for the property. Separate instances of the property can contain objects of different types. |
0x400000 |
NotDeletable (0x400000) - Set this flag in any object to prevent the user from deleting the object in a sequence editor. |
8.9.2. Steps
| Step | Description |
|---|---|
|
// Call the current model for the default functionality. We don’t include the model specific steps in this sequence so the overridden callback works under all models after the user overrides it, copying its steps to their client file. |
8.9.3. Locals
| Name (Type) | Default Value | Comment | Flag |
|---|---|---|---|
ResultList (Array of Result[0..empty]) |
… |
0x0 |
9. Traceability
9.1. Requirement Matrix
| Requirement ID | Coverage |
|---|---|
REQ_001 |
TestSequenceFile.seq - MainSequence |
REQ_002 |
TestSequenceFile.seq - MainSequence |
REQ_003 |
TestSequenceFile.seq - Initialize Bench |
REQ_004 |
Chapter1.seq - MainSequence; TestSequenceFile.seq - Initialize Bench |
REQ_005 |
Chapter1.seq - MainSequence |
REQ_006 |
Chapter1.seq - Test 1; Chapter2.seq - Test 3 |
REQ_007 |
Chapter1.seq - Test 1; Chapter2.seq - Test 3 |
REQ_008 |
Chapter1.seq - Test 2 |
REQ_009 |
Chapter1.seq - Test 2 |
REQ_010 |
Common2.seq - Get Login Status |
REQ_011 |
Chapter2.seq - Test 4 |
REQ_012 |
Chapter2.seq - Test 5 |
REQ_020 |
Common2.seq - Get Power Status |
REQ_030 |
Common1.seq - Get Bench Status |
REQ_040 |
Common1.seq - Cleanup Instruments |
REQ_050 |
Chapter2.seq - MainSequence |
REQ_448 |
TestSequenceFile.seq |
REQ_485 |
Chapter2.seq |
REQ_493 |
TestSequenceFile.seq |
REQ_567 |
Chapter1.seq |
REQ_700 |
Test Workspace.tsw |
REQ_789 |
Chapter2.seq |
REQ_800 |
Test Workspace.tsw |










