Questions tagged [teststand]

TestStand is a test management software by National Intruments.

Homepage: http://www.ni.com/teststand/

23 questions
2
votes
1 answer

Azure DevOps agent running an application with a dialog box

I am trying to run National Instruments TestStand Sequence Analyzer as part of a build in Azure DevOps using a Python script. Agent is running as a service. import subprocess command = '"%teststand%\Bin\AnalyzerApp.exe" MyAnalyzerProject.tsaproj…
2
votes
1 answer

Refresh environment variables in Azure Pipeline build

How to I refresh environment variables for later steps in the same build that indirectly changes those variables? Section of a the test YAML file that reproduces the described behavior. jobs: - job: welldone pool: name: noodle steps: -…
1
vote
5 answers

Export C functions for LabView with c++builder

I have a DLL that I have ported from VC2008 to C++ Builder XE2. The DLL is used in LabVIEW's TestStand. TestStand, when importing the VC2008 DLL, can see the function names and their arguments. When using the C++ Builder DLL, all its sees are the…
Gregor Brandt
  • 7,439
  • 34
  • 56
1
vote
0 answers

Update TestStand Socket Test status (Execution Annunciator) while test is running?

I am looking for a way to update the test socket test status (the color: Green, Yellow, Red etc) indicator while the test is running. What I am experiencing is that the red color would appear only at the end of the entire test sequence if any of the…
Rav
  • 31
  • 2
1
vote
2 answers

LabVIEW Search Multiple Strings

I am trying to search for multiple strings in a text log alltogether with the following pattern: s(n)KEY: some data s(n)Measurement: some data s(n)Units: some data Where s(n) is the number of spaces that varies. KEY will change at every…
Rav
  • 31
  • 2
1
vote
1 answer

Create NI TestStand Sequence file from Excel file

I have a Microsoft Excel file which have two columns and sixteen rows of Data. As image attached. Excel Reference Image to import sequence data to NI TestStand Please I need help to Import excel data to NI TestStand sequence file. This excel file…
1
vote
0 answers

Why .Net API function get stuck when executed in single pass in NI TestStand?

I have automated a Windows desktop tool using System.Windows.Automation namespace in .NET Framework 4.5. This desktop application is used as a configuration tool for an embedded hardware device. My automation API is scripted in NI TestStand and…
Shujat Ali
  • 11
  • 2
1
vote
1 answer

TestStand - Action Sequence using a C# - Dll - Can't instantiate Vector XL Driver Library

Since there might be very few people with Experience in TestStand and Vector XLDriver (here used for automotive CAN bus), I would really appreciate educated guesses ... TestStand 2014 64Bit I have an Action Step in a Sequence. It uses a function of…
Christian
  • 13
  • 5
1
vote
2 answers

gVim and 2D array

In my programming environment I have quite big 2D array. Its size is 90x40. I have to fill this array by loading the data from external file. The mechanism of loading the data consists of a binding file in which I have to do the binding in style…
user1146081
  • 153
  • 10
1
vote
1 answer

Programmatically Create an Array of Containers in TestStand

Problem I'm trying to create an array of containers in c# to pass back to TestStand as test results, and there doesn't appear to be an easy way to accomplish this task. Motivation In c# I have results contained in List>…
ben
  • 2,986
  • 3
  • 33
  • 49
0
votes
2 answers

Write TestStand results through a .net application to an external database

I'm looking into a solution where i have to write TestStand Tests' results to a database through a predefined API that can be accessed in the tests' sequence. Currently the way the test results are written to a database is through ODBC and by…
ken
  • 3,675
  • 6
  • 31
  • 45
0
votes
0 answers

how to manage where the Putty window is shown

I am using extraPutty for the automatization. The tool is using the putty as a GUI. I would like to manage where the windows could shown in the desktop. For example: When I open 10 puttys I want them to appear side by side. Is possible to do…
0
votes
0 answers

Weird exceptions when running a .NET DLL from NI TestStand, but in VS2019 it works smoothly

I'm trying to run my app which includes some SignalR connections and other async methods. As soon as the codes reaches connection.StartAsync(); I get this Error: System.TypeInitializationException: 'The type initializer for…
Israel
  • 1
0
votes
0 answers

If there is Fail, Retry the current iteration of looped sequence [TestStand]

I have created a sequence which turn 3 times (looped), my problem is when I put a retry, the retry is done only when all iterations have been executed. But in my case I want to retry the current failed iteration. Please, Find in attachment a…
Chakib
  • 23
  • 6
0
votes
2 answers

win32com Dispatch the 32 bit version of TestStand

I have a python script that connects to TestStand and retrieves certain data from a .seq (sequence) file. import win32com.client import pythoncom TestStandEngine = win32com.client.Dispatch("TestStand.Engine") Seqfile = TestStandEngine…
HaR
  • 687
  • 5
  • 19
1
2