NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
MMargaryan

Improve TestStand .NET API Documentation with Practical UI Development Examples

Status: New
Developing a custom TestStand .NET UI is challenging because the current API documentation (TestStand Programming Reference Manual - NI  )
is often slow, frequently returns Error 404, and does not offer an offline or PDF version.

 

Even when accessible, the documentation has several gaps from a development perspective:

  • The high‑level manuals describe syntax but do not clearly explain which API objects to use at runtime, when they become valid, or which callbacks/events should be handled.
  • Many runtime objects are COM‑based and not easily inspectable in debugging tools.
  • There is no clear guidance on:
    • Retrieving individual step results
    • Determining the overall sequence result (pass/fail, error details, termination reason)
  • Existing examples do not sufficiently illustrate object lifecycles, execution flow, or practical usage patterns needed for production UIs.

 

Proposed Improvements

 

  • Provide an offline/PDF version of the full TestStand API reference.
  • Improve the stability, performance, and reliability of the online documentation.
  • Add beginner‑friendly “Getting Started” guides for custom .NET UI development.
  • Include practical, end‑to‑end examples covering:
    • Runtime object usage (Execution, ResultList, ResultObject, etc.)
    • Retrieving results step‑by‑step and sequence‑level outcomes
    • Handling errors and execution completion states
    • Object lifetimes, callbacks, and event handling
    • Running selected steps or subsequences from a .NET application
  • Clearly document which objects are valid at each execution phase and how they relate to one another.