Overview
Polls the NI TestStand result database (SQL Server) and imports test records into WATS as UUT reports.
and any integration-specific context not covered by the README. -->
Integration Details
| Property | Value |
|---|---|
| Category | WATS Client converter |
| Type | Database poller (Windows Forms tray app) |
| Source | NI TestStand result database (SQL Server) |
| Test type | General, Functional Test |
File Format Assumptions and Requirements
Examples: encoding (UTF-8/ASCII), line endings, required vs optional fields, field order constraints, supported file version(s) -->
- Input encoding: UTF-8
Hardcoded Values and Defaults
- Block designator prefix matching
^\d+%is parsed as socket index (multi-board fixture support)
WATS Step Type Mapping
For each matched record, ProcessMatchedLine creates the following WATS objects:
| Record / Field | WATS Step / UUT Field | Sub-measurements |
|---|---|---|
Numeric |
||
Units |
NumericLimitStep | |
Limits.Low |
NumericLimitStep | |
Limits.High |
NumericLimitStep | |
Comp |
NumericLimitStep PassFailStep |
|
numericlimittest |
NumericLimitStep PassFailStep StringValueStep [UUT] Status |
|
passfailtest |
NumericLimitStep PassFailStep StringValueStep [UUT] Status |
|
stringvaluetest |
NumericLimitStep PassFailStep StringValueStep [UUT] Status |
|
ni_multiplenumericlimittest |
NumericLimitStep PassFailStep [UUT] Status |
Known Limitations and Edge Cases
that operators should be aware of -->
Configuration Guidance
Parameters are configured in the WATS Client Configurator under the converter's Arguments XML. Example:
<Arguments>
<!-- TODO: paste a real example Arguments XML block here -->
</Arguments>
Getting Started
Installation
- Build the project:
dotnet publish -c Release - Copy the output folder to the target machine.
- Configure the WATS Client service on the target machine (server URL, API token).
- Run
NI_TestStand_DB.exeand configure database connection via Options. - Click Start (or enable Auto-start) to begin polling.
The converter stores its checkpoint in %LOCALAPPDATA%\WATS\NI_TestStand_DB\checkpoint.json and resumes from where it left off after restarts.
Comments
0 comments
Please sign in to leave a comment.