没有合适的资源?快使用搜索试试~ 我知道了~
首页NI TestStand System and Architecture Overview
资源详情
资源评论
资源推荐
Execution Object Structure
Execution Object
Contains information TestStand needs to run a sequence,
its steps, and any subsequences it calls. You can suspend,
interactively debug, resume, terminate, or abort executions.
Thread Object
Represents an independent path of control flow.
Report Object
Contains the report text. The process model updates the Report
object, and the sequence editor or user interface displays it.
Call Stack
Lists the chain of active sequences waiting for nested
subsequences to complete. The first item in the call stack is the
most-nested sequence invocation.
Root SequenceContext Object
Represents the execution of the least-nested sequence
invocation that contains a list of steps and calls to other
sequences.
SequenceContext Object
Represents the execution of a sequence that another sequence
called.
Current Step
Represents the executing step of the currently executing
sequence in the call stack.
Architecture Overview
TestStand Sequence Editor
TestStand development environment for creating, modifying,
executing, and debugging sequences.
Custom User Interfaces
Customizable applications that, depending on mode,
edit, execute, and debug test sequences on a test
station. User interfaces are available in several
different programming languages and include full
source code, which allows you to modify them to meet
specific needs.
Process Models
Define the operations that occur for all test sequences,
such as identifying the UUT, notifying the operator of
pass/fail status, generating a test report, and logging
results. TestStand includes three fully customizable
process models: Sequential, Parallel, and Batch.
User Interface Controls
A powerful set of ActiveX controls and support APIs
for creating custom user interfaces.
TestStand Engine
A set of DLLs that provides an extensive ActiveX
Automation API for controlling and interacting with
TestStand. The TestStand Sequence Editor, User
Interface Controls, and user interfaces use this API.
Sequence File Executions
Created by the TestStand Engine when you execute a
test sequence using the sequence editor or a user
interface.
Adapters
Allow TestStand to call code modules in a variety of
different formats and languages. Adapters also allow
TestStand to integrate with various ADEs to streamline
test code generation and debugging.
Code Modules
Program modules, such as LabVIEW VIs (
.vi) or
Windows Dynamic Link Libraries (.dll), that contain
one or more functions that perform a specific test or
action. TestStand adapters call code modules.
Built-In Step Types
Define the standard behaviors for common testing
operations. Some step types use adapters to call code
modules that return data to TestStand for further
analysis. Other step types perform standard operations,
such as calling an executable or displaying dialog
boxes.
User-Defined Step Types
Define a set of custom step properties and default
behaviors for each step of that custom type. You can
also define data types.
Templates
Create custom sequences, steps, and variables to use
as templates to build sequence files.
OVERVIEW CARD
NI TestStand
TM
System and Architecture
NI TestStand is flexible test management software that offers the following major features:
• Out-of-the-box configuration and components
provide a ready-to-run, full-featured test
management environment.
• Numerous methods for modifying, configuring,
and adding new components, which provide
extensibility so you can create a test executive
that meets specific requirements without altering
the core TestStand Engine. You can upgrade to
newer versions of TestStand without losing your
customizations.
• Sophisticated sequencing, execution, and
debugging capabilities, and a powerful sequence
editor that is separate from the user interfaces.
• User interface controls for creating custom user
interfaces and sequence editors.
• You can also create your own user interface in
any programming language that can host ActiveX
controls or control ActiveX automation servers.
• Example user interfaces with source code for
National Instruments LabVIEW, National
Instruments LabWindows
™
/CVI
™
, Microsoft
Visual Basic .NET, C#, and C++ (MFC).
• An open language interface that provides
support for many application development
environments (ADEs). You can create code
modules in a variety of ADEs and call pre-
existing modules or executables.
• A comprehensive application programming
interface for building multithreaded test systems
and other sophisticated test applications.
• Integration with third-party source code control
packages.
• Deployment tools to aid in transferring a test
system from development to production.
TestStand
Sequence Editor
Code Modules
Results
Results Results Results
Results Results Results Results
Custom
User Interfaces
User Interface (UI)
Controls
Application Programming Interface (API)
TestStand Engine
Sequence File
Executions
User-Defined Step Types
Sequence File Executions
No Model
Test
Socket 0
Execution
UUT
UUT
UUT
Test
Socket 1
Execution
UUT
UUT
Test
Socket
n
Execution
UUT
UUT
UUT
UUT
UUT
UUT
UUT
UUT
Process Model Result Processing
Schema Definitions Database LoggerReport Generator
ADO/ODBC
Thread Object 0
Thread
Object
n
Sequence
File
Globals
Steps
Main Step
Group
Steps
Cleanup Step
Group
Parameters
Sequences
Local
Variables
Adapters
.VI
.DLL, .OBJ, .LIB, .C
.DLL
.DLL, .EXE
.DLL, .EXE
.PRG
.SEQ
LabVIEW Adapter
LabWindows/CVI Adapter
C/C++ DLL Adapter
.NET Adapter
ActiveX/COM Adapter
HTBasic Adapter
Sequence Adapter
Types
Sequence File
Parallel Process Model
Batch Process Model
Sequential
Process
Model
Process Model Sequence File Execution
Test
Socket
n
Execution
Test
Socket 1
Execution
Test
Socket 0
Execution
Oracle
. . .
SQL
Server
Report
Object
Execution Object
Call Stack
Root
SequenceContext
Object 0
SequenceContext
Object 1
SequenceContext
Object
n
Step Object 0
Step Object
n
. . .
Current Step
Microsoft
Access
Process
Models
. . .
. . .
XML
HTML
ASCII-
Text
. . .
Sequence File Execution Flow
Sequence File Executions
You can execute a sequence directly, or you can execute a
sequence file through a process model Execution entry point,
such as Test UUTs and Single Pass.
Process Model Sequence File Execution
When you start an execution through a process model
Execution entry point, the process model defines how to test
the UUTs. The Sequential model tests one UUT at a time. The
Parallel model tests multiple independent test sockets at the
same time. The Batch model tests a batch of UUTs using
dependent test sockets.
Process Model Result Processing
The TestStand Engine collects the results of each step that
executes into a result list. Process models use the result list
to generate reports and log data to databases.
Unit Under Test (UUT)
Device or component that you are testing.
Test Socket Execution
For each test socket, or fixture, in the system, the Parallel
and Batch models launch a separate test socket execution
that controls the testing of UUTs in that test socket.
Report Generator
The report generator traverses test results to create reports
in XML, HTML, and ASCII-text formats. You can fully
customize the reports.
Schema Definitions
Schema definitions define SQL statements, table definitions,
and TestStand expressions that define how to log results to a
database. You can fully customize the schemas.
Database Logger
The database logger traverses test results and exports data
into database tables using schema definitions.
Sequence File Structure
Sequence File
Contains any number of sequences, a set of data types and
step types the sequence file uses, and any global variables
that sequences in the sequence file share.
Sequences
Contain groups of steps, local variables, and parameters
used for passing data between steps and subsequences.
Types
Sequence files contain definitions of all data types and
step types that its sequences use. Variables and properties
in a sequence are instances of data types. Steps in a
sequence are instances of step types.
Sequence File Globals
Store data you want to access from any sequence or step
within the sequence file in which you define the sequence
file global variable.
Setup, Main, Cleanup Step Groups
TestStand executes the steps in the Setup step group first,
the Main step group next, and the Cleanup step group last.
By default, a sequence moves to the Cleanup step group
when a step generates an error in the Setup or Main step
group.
Local Variables
Store data relevant to the execution of the sequence.
You can access local variables from within steps and code
modules defined in a sequence.
Parameters
Use parameters to exchange data between calling and
called sequences.
Steps
Perform built-in operations or call code modules. A step is an
instance of a step type, which defines a set of step
properties and default behaviors for each step.
373457B-01 Apr07
. . . . . .
. . .
National Instruments, NI, ni.com, NI TestStand, and LabVIEW are trademarks of National Instruments
Corporation. Refer to the
Terms of Use
section on ni.com/legal for more information about
National Instruments trademarks. Other product and company names mentioned herein are trademarks
or trade names of their respective companies. For patents covering National Instruments products,
refer to the appropriate location: Help»Patents in your software, the patents.txt file on your CD, or
ni.com/patents.
© 2003–2007 National Instruments Corporation. All rights reserved. Printed in Ireland.
Steps
Setup Step
Group
Templates
Flow Control
Sequence Call
Statement
Label
Message Popup
Call Executable
Property Loader
FTP Files
Synchronization Steps
Database Steps
IVI-C Steps
LabVIEW Utility
Pass/Fail Test
Numeric Limit Test
Multiple Numeric Limit Test
String Value Test
Action
Built-In Step Types
jimi_chen
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0