Quantcast
Channel: NI TestStand topics
Viewing all 6525 articles
Browse latest View live

step execution in teststand

$
0
0

hi ,

i excute a step in external instance of Labwindows CVI and i can't excute it in-process anyone help me please 

thank you


Regarding .dll file

$
0
0

How to create .dll file in NI teststand?

How to access Client Sequence Total Test Time from the Model Plugin - UUT done(Process Model)

$
0
0

Hello there,

 

I am a newbie to TestStand environment & I am trying to access the Total Time(TS.TotalTime) of the Client Sequence from the Model Plugin - UUT done(NI_SimpleTextReport_LabVIEW.seq), any suggestions are much appreciated.

 

Many thanks.

 

Calling Qt5 DLL from TestStand

$
0
0

Hi,

I have a c++ dll created in Qt5 library.

 

1-) How to use in TestStand?

2-) Is there a problem using stl container(vector, list, map etc...) as a function parameter?

3-) Should I try calling only static function(C++) from TestStand? 

4-) Is there a directory where it explains?

 

Thanks for any help

Looping

$
0
0

How to give loop conditions in control statements?

SQL Server reporting problems

$
0
0

PROBLEM 1

On my development laptop i can run the attached debug-seq and it will log data to my sql server database.

When deployed to a runtime environment it gives me the error below.

I can ping the server from the same pc.

I can retrieve data from the database via excel, on the same pc.

 

The database is working, the login is valid and the sequence is working on my development laptop.

What is the reason ?

An error occurred calling 'NewUUT' in 'ITSDBLog' of 'zNI TestStand Database Logging'An error occurred initializing a connection to a data link.Connection String: Provider=SQLNCLI11.1;Integrated Security="";Persist Security Info=False;User ID=Prod-R;Initial Catalog=PTA_COMMON;Data Source=db02;Initial File Name="";Server SPN=""Provider cannot be found. It may not be properly installed.Source: TSDBLog

 

PROBLEM 2

Where is the database user password stored ?

When i build the connection string i get the option to store the password, but where is it stored ?

When i build the connection string and store password via my old development laptop, the sql server reporting is working. If i do the same thing via my new development pc, it complains about invalid login. I exported a udl file from my old laptop, and then it was working on the new laptop also.

What is the reason ?

How to Read and Write TestStand Container in Database

$
0
0

HI All,

 

in my Teststand application, I need to store the Labview Cluster, 

Intermittent -17502; System Level Exception Batch Model LabVIEW Run-Time

$
0
0

I developed a batch sequence in TestStand 2014 that runs with 16 sockets over 20 hours.  The steps are written in LabVIEW 2015 and utilize the Run-Time engine. I am using the standard BatchModel.seq with PreBatch and PostBatch callbacks.   I have delivered the test system to the customer after a successful verification.  The customer has notified me that in 2 out of 6 runs, a single socket has had a -17502; System Level Exception Run-Time Error.  Both error occurrences were on different sockets and at different times in the sequence, but happened when calling the same VI.  The VI runs a simple loop to parse a particular measurement out of an array.  The input array has either 5 or 6 elements being passed in depending on where in the sequence it is being called.  The input array is saved in a previous step to a local variable.  The VI is set to "Preallocated clone reentrant execution" to allow all 16 sites to access the VI at the same time. I have looked through a lot of other posts regarding this error, but none of them seem to apply (no CVI, no DLLs, no ActiveX...).  I don't have the ability to login to the system or to check out the error as it is happening.  I also can't get the error to recur on a similar system that I do have access to.  Is the error generated by the VI, or is it generated by TestStand? I am looking for possible causes and potential solutions.  Any ideas would be appreciated. 

 

I have included the VI that is associated with the error, as well as a screenshot of the VI during a TestStand run and the test sequence.  


TestStand Database Viewer

$
0
0

Recently, one of our test engineers returned from one of our contract manufacturers.  Before he left I asked him to bring back the datalog files.  To my surprise the files were all .mdb or database files.  My hope was columnar data.  Is there a way to convert the .mdb files into .dat or .txt files?  I work exclusively in Excel to crunch data.  My tools are all in Excel.  

right click and paste into TestStand dialog box?

$
0
0

Hi, does anyone know if it is possible (using the mouse) to right click and paste data into a message popup or uut dialog box using TestStand?

 

 

 

Property loader usage from C#

$
0
0

Hello,

is it possible to use TestStand Property Loader directly from C# application? Does it have any API so that I can call its functions as standard DLL functions?

I have a test application which shall have many configurations for tests (CSV files - Project files). Each test configuration file (project file) contains test settings (voltage, current, timing, etc.) for specific UUT Part number.

We have custom C# user interface which allows operator to select the test project file, view test project settings or also create new project file or edit current project file.

The goal is to use TestStand Property loader to load all the project files into C#, edit current file from C#, create new file from C#. The project file name will be then passed to Teststand sequence, where the property loader step will load the settings data in the sequence. Is it possible to do it this way?

Or shall I rather use INI file (each test project will be INI section) and create custom data parser/editor in C#? - For this case the test settings will be passed to TestStand by variable values.

Thank you,

Petr

Final Sequence Checklist

$
0
0

We have a team of engineers who all write Teststand sequence files and there are a tad over a dozen of us.  Once we finish a sequence file and publish it, invariably each is slightly different in setup.  I would like the collective to show me what your checklists look like.  TestStand has almost an infinite number of ways it will configure.  I would like to present a checklist or groups of images to ensure we look the same. 

Passing arrays/containers from TestStand to custom C# application

$
0
0

Hello,

I have custom application in C#, which is running TestStand sequence. I am able to pass standard numeric/boolean/string variables from TestStand to C# using UI messages. Like:

double digitalInput = e.uiMsg.Thread.GetSequenceContext(callStack, out frameId).Locals.GetValNumber("digitalInput", 0);

 

How can I pass more complex data types (containers, arrays,..) from TestStand to C#? - Is it any similar easy way as with standard data types?

 

Thanks,

Petr

Synchronization without batch process model

$
0
0

I would like to sychronize paralell sequencenes without a Batch process model. We use a custom process model so I couldn't use the Batch test types. As in my example, I call threetimes the same sequence paralell. In our test bench I used to synchronize Rendezous test steps. But sometimes it seems that the Rendezous step will not be handled correctly an the main sequence is waiting at the Rendezous step although the paralell sequences might be finished.

Are there any other way to synchronize the paralell sequences without Batch process model. I tried also Batch Specification test step but I don't know how to use it exactly.

 

Thanks

Stefan

 

    

Log Additional Result to Specific Column in Database

$
0
0

I'm posting this as additional documentation to what I've found on the subject. There's a lot of information online about database logging, but nothing I've found directly addresses this question. As someone relatively new to TestStand, I had a very difficult time finding relevant documentation and even more difficult time bringing it together to achieve the desired result. Figuring out how to log additional values to an arbitray location in a database should be as easy as the solution. Adding this functionality is most easily done through the TestStand API. There are screenshots and attached source files to demonstrate.

 

Seq.PNG

 

option: 1 = PropOption_InsertIfMissing

 

MyColumn.PNG 

 

Relevant links

Storing Additional Information for UUTs and Test Stations in Process Models

SetValNumber Method


Message of failure in the end of the sequence

$
0
0

hello

I would like to include a message in he end of my sequence, this message will be display only if the UUT fail the test, I know how to check the status of the test (pass/fail), so the condition to display this message would be:

 

if RunState.SequenceFailed == True

"display message with the failure"

end if

 

my question is: where teststand store the variable with the steps that failed?

 

SALUDOS!!!!!

Detecting skipped sequences

$
0
0

Last year ~jiggawax~ gave me a method for removing sequence call from the results file, while leaving the results in those sequences in the results file.

https://forums.ni.com/t5/NI-TestStand/Sequence-step-results-in-Simple-Text-Report/m-p/3344148#M52553

This has worked fine, but now I find a problem.

Some of my sequence calls are dependent on preconditions, and if the sequence is not called I get an error in the "Move sub Results to Super Results" step in my sequential model.

"Unknown variable or Property name 'Parameters.Results.TS.SequenceCall'"

I think all I need to do is add to the precondition for that "Move sub Results to Super Results" step to detect if the sequence concerned has actual run.

What is the best way to detect this?

SQL database and "infinity"

$
0
0

Hello all,

  I have been working with an access database thus far for my TestStand project. I am at a point where I am migrating over to a SQL server and have hit a(nother) minor bump. 

 

  So, as a background I am using the "MultiNumeric" step type extensively. I configure the number of measurements, measurement names, and measurement limits at runtime so that I can use the same subsequence in many different tests. To make things easier for me I leave all measurements as "GELE". If I want a single ended test I just set one of my limits to infinity. For example, if a value must be less than 2 I test it to be between -inf and 2. This has been working fine up until this point. The access database accepts -inf and inf as valid entries. However, when I run it under an SQL database I get an error telling me the value is "not a valid instance of data type float".

 

 Is there anyway to modify that column's data type to be able to accept -infinity and infinity? Or must I accept that I can never use those again? It would be a shame if I can't use them because all the engineers in my group will have to remember not to use them even though TestStand recognizes them.

 

Thanks much,

Disable all the step type at one shot

$
0
0

Requirement 1 - Is there any parameter in Teststand ,where I can disable all the step type not to log the result at one shot .

Requirement 2 - I need to log the result only when the step type fail.

 

Please let me know for the above 2 how to perform .

 

Regards,

Prithviraj

Execute subsequences from LabVIEW and pass data between them

$
0
0
Hi All,
 
The idea is to run 2 different Teststand subsequences sequentially (that belongs to same sequence file) from LabVIEW and pass data from the first subsequence to the second subsequence. 
 
The method I tried - Used file global to transfer the data between subsequence. 
Issue - Once the first sequence finished execution file global losses the data. So, the second sequence runs with default file global data.
Solution -?
 
I have attached the sequence file with the action VI to simulate the issue. (LV2015+Teststand2014)
 
Thanks,
Navin S
CLA
 
Viewing all 6525 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>