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

Is there an easy way to turn off numeric limit checking?

$
0
0

I am in the development phase of a test sequence and the limits for  my tests which are numeric limit tests are not fully locked down.  Is there a way I can disable limit checking so that I can run multiple sequence runs to collect data to use for actually locking down the limits?  Thanks!


Trying to close excel from TestStand

[TestStand] Simple_Text_Report_LabView customization shows in ReportColumns

$
0
0

Hi,

I'm new to TestStand and have been trying to create my own report generator to get the .csv format with delimited columns I want. I found from the forum some good leads to create what I need.

I was able to generate the report, specify the DisplayName and Key for each columns by modifying the ModelPlugin-Initialize in Simple_Text_Report_LabView.seq. Here are a few questions I have and thanks in advance if somebody can help me.

 

1. I was able to specify what goes into the report columns by using Additional Results for each test step in my test sequence. For example, TestNumber, Test Limits, Measurements etc...It's a pain to input for each test but they do work.However, for other test step which don't have the limits. It would show up as <MISSING> in the final report. Is there a way for me to get rid of this to make my report looks clean?

2. The report won't show UUT pass or fail until the end at the Create Footer callbacks. Is there a way for me to have UUT Status of test PASS/FAIL on the header instead?

 

Thank you!

Runstate.Report.All in batch mode different if breakpoint put in

$
0
0

I have a simple batch sequence with a numeric limit test (the data source is just the test socket number).

 

I have a dialog displaying the Runstate.Report.All text. The odd thing is that this text is different when I put a breakpoint on the dialog.

 

If I don't put the breakpoint, the result of the numerical test is omitted in the dialog but present in the ASCII report. Any idea why the full text of the report is missing when the breakpoint is not inserted?

 

TestStand ExitCode -1073740771: what could cause it?

$
0
0

Hi all

 

Anyone, any idea what could cause TestStand ExitCode -1073740771?

Is there any way to debug TestStand Engine and specially its ExitCode?

 

We execute TestStand sequence (Test UUTs entrypoint) from command prompt and let TestStand Engine return its exit code to %ERRORLEVEL%. The process has worked a long time (almost a year) without problems but now TestStand started to return -1073740771. The same exit code appears apart from sequence pass/fail status.

 

The problem appeared without any controlled change in the system. The only uncontrolled change could be if Windows has installed some updates. All TestStand and other NI critical updates has been installed. Versions are TestStand Engine Version 2016 F2 (16.0.0.193) 32-bit and Windows 10 Enterprise 64-bit.

 

That would sound quite simple if behaviour would be same with all sequences but that is not the case. I made a simple sequence including only one numeric limit step. For executing it from command prompt TestStand returns %ERRORLEVEL% 0 when passed and 2 when failed - as expected.

 

Big thanks for any help in advance!

 

 /jarnoe

IVI abort and Instrument handle close difference

$
0
0

I have been using the IVI steps for a NI DMM in Teststand 16 successfully. However when I want to use the digitiser function of the DMM via a Labview function (initialises, gets waveform, closes handle) the TestStand IVI step after this Labview function stops working and I get the error message that I cannot use the IVI DMM session. I also tried IVI DMM re-configuring and/or IVI DMM abort after this Labview function but still got the same error with either IVI step.

What is the difference between IVI abort and Instrument handle close?

How do I use a combination of TestStand IVI steps and Labview Instrument handles within TestStand successfully?

How To Document A Function In A Code Module Using TestStand

$
0
0

As a test engineer we use TestStand extensively.  We embrace the concept of a software architect.  I would like to document the functions I use in TestStand using Word or similar.  Would someone have an example I can use?  Some of the fields needed would be a parameter list, path to the .dll or .vi, description/use, which adapter to use, etc.  My vision is to have a half page or so to describe all my primary functions within TestStand.  Documenting this would assist newer test engineers who would support my test sequences.

Two Teststand sessions opened - Popup with changed StationGlobals

$
0
0

Hello,

i am running teststand in a custom GUI where a executing file is writing values to StationGlobals..

When i then open parallel the normal teststand-editor to simply edit another sequence (not the parallel running) then i get the attached popup.

I am not sure if this popup is coming from the:

a) running Teststand in the Gui which is executing a sequence or

b) from the not running "normal" teststand where only a sequence file is opened

 

What is the correct selection in the popup so that the running/executing teststand does not lose any values in StationGlobals? Is there a way to set this selection as default?

 

Thx


TestStand loading Vi's incorrectly, squashing controls

$
0
0

Hi All,

I'm new to TestStand (and LabView!) and am trying to create a Pre-Check Vi for the sequence I want to run. Here's what the Vi looks like when run in LabView:

 

Labview_Vi.png

 

It looks OK, and I'm happy with it.

 

Here's what it looks like when called from TestStand:

TestStand_Vi.png

 

Can anyone explain to me why this is happening and how I can fix it without a lot of trial and error moving things around?

 

Thanks

Programmatically disable result recording for skipped Steps or sequence calls

$
0
0

hii,

 

I want to  disable result recording for steps that are skipped (due to Precondition selection) .

 

I tried in SequenceFilePostResultListEntry callback  but did not find any elegant solution. I want to avoid using "SequenceFilePostStep"  callback.

 

any easy ideas  to implement the same.

 

regards,

Akshay Parab

 

TestStand Modal Window Hangs

$
0
0

Hi,

I am trying to prepare example how to use modal VIs in TestStand. But I myself do not know how to do it correctly Smiley Very Happy Actually everything works well until I launch message box with method TS_EngineDisplayMessageBox. I found that this hang is somehow expected: http://digital.ni.com/public.nsf/allkb/621F0957FAC5EA72862579A5006CC001.

The proposed solution is to make VI non-modal, but my VI must be modal! Setting "Always run in the LabVIEW Run-Time Engine" option also does not work...

Any idea how to fix it?

I have attached the example which I am preparing.

You can launch Modal Window Test.seq. PreBatch will show TestStand Example.vi modal front panel, and then you will see Modal Window.vi (also modal). If you will try to enter empty serial number you should see error message box. After you click ok in error, you will not be able to do enything more - it will be hanged.

Step requirements listed in an ATML report

$
0
0

I'd like to have a list of requirements as additional results in my ATML report (so Requirements Gateway can read them).  Anyone done this before, and can point me in the right direction?  I was thinking I could just add a post-step callback that adds them if they're there, but I'm wondering if there's a more efficient method...

TS ActiveX API, Get Currently Executing Step Name

$
0
0

I would like to, from LabVIEW, connect to TestStand, and retrieve the name of the currently Executing Step, without supplying a sequence file path such as if I were to use the GetSequenceFileEx method.

 

If there is no sequence file actively executing, it is ok if this returns an error.

TestStand Report is empty after generation

$
0
0

Hello everybody,

 

my actual problem is the following:

We use TestStand 2014 in our production test systems for several months now.

Sometimes it happens, that some reports contain no data after generation on the harddrive.

The file consist 0kb data, even with a text editor it is absolutely empty.

 

On our test machines we don't use the OTF Reporting.

If this problem occurs, the next file can be absolutely fine. It happens absolutely random and maybe 1-2 times per 100 tests. 

Further we only use the built in Report generation of teststand, that means no additional callback during execution.

 

Does someone has any idea what can cause this problem?

 

 

Thank you very much.

 

Update custom steptypes after change in type definition

$
0
0

Hello,

i created a custom step type by doing this:

New sequence

Select type .Net

Insert test NumericLimitTest

Open "Types"

Copy the NumeriLimitTest and renamed

Properties + DefaultModule -> select my DLL and function

Now all parameters of this functions are listed

Then is set the default values for all parameters (values or StationGlobal-variables)

In the sequence i insert my new test with rightclick + insert test

Now this teststep has my default parameters

 

Now the question:

Is i change in types value of a parameter -> How can i make a autochange if all already inserted teststeps of this type?

 

There is a checkbox "[ ] Apply changes in this DialogBox to all Loaded Steps of this type". But this is not working. There is no change.

I have to delete and re-insert the step to have the current default-parameters.

 

Can this be done?

Thx


How to re-enable tracing?

$
0
0

Hello,

when running a testplan then there was at the beginning a visible window with the testplan and you could see where the testplan currently executes. Also with the results, limits and PassedFailed.

But now i dont know what happenend. The Tracing is enabled in Configure+StationOptions+[X]Enable Tracing, but still nothing is shown in the execution window.

What is missing?

Thx

Proper steps when shutting down TestStand

$
0
0

Hi, 

I just want to discuss about like what's the proper procedure on how to close TestStand properly.

 

I initially found 2 relative post of closing/shutting down here and here, but it wasn't what I was looking for exactly.

 

I want to know how to shut down your engine/execution when exiting.

 

Currently I'm using the Process Cleanup CB to like power down the unit, close dlls/hw, etc, etc. however, I used to click File > Unload Modules every time before I start the software again.

 

I added the ActiveX/Com step to do the Unload Modules at the very end, but I'm asking if we need to like ShutDown first or Terminate, Close All Sequence, ..., etc.

 

Basically what's the chronological order that TestStand should take from when you exit the application.

 

Shutdown > Unload Modules

Terminate > Unload Modules

Abort ... ? can we even add a step to unload modules since it does not go to cleanup?

 

If anyone can chime in. I'm still fairly new in TestStand and want to find the best method.

Custom Step with Combination of String Value & Numeric Limit Test

$
0
0

Can someone help me with procedure to develop a custom step with Combination of String Value & Numeric Limit Test

Creat Matrix and  make a counter

$
0
0

hello everybody

I  work on a test bench that allows to test radio modules, I would like to add an option that is: ask the user to put a "Golden" module that verifies the validation of the bench every 5 days, the idea is to Make a matrix because it has 8 slot and putting the remaining time to ask for the golden.

Questions:

- Thé best way tô do: * Creat a file .ini or creat array 2D in teststand?  

-How could I create a time counter?

 

i accept other idea !

 

thank you!

Step Test Time

$
0
0

O am using TestStand 2016. I have several steps I need to execute that load firmware into the UUT by calling third party applications. Then only way I know if it succeeded is by the time it takes. If it succeeds it takes longer. I need to determine how long it took to execute the step. I have found several articles and posts that said to use the following:

 

Locals.ResultList[0].TS.TotalTime

 

I added a Statement step, and used the above to try to get the time for the step in question, but my sequence won't even execute. I get the error:  Unknown variable of property name 'Locals.ResultList[0].TS'. I noticed all the posts were from years ago, so maybe something has changed in more recent versions of TestStand.

 

How do I get the step execution time?

Viewing all 6241 articles
Browse latest View live


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