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

Step numbers in TestStand Report

$
0
0

I have found some discussion on this, but not sure I have found a "best practice" answer.  I'll keep issue brief for now, but I'm sure the first comment will be "need more details".  My quick version of the question is how do we in safest / cleanest way, keep the test # or step # from changing, then we update our PXI and code.  I am the system engineer trying to do this best way, but we have some SW folks were are doing the TestStand / LabWindows side of this.  More details below.....

 

We have a TestStand report from an automated test equipment that we are updating from many years ago.  Here is a tiny excerpt of the report:

 


No. Test Name         Unit Cmpr LL     Result   UL   P/F
-------------------------------------------------------
1   SetFunctionalTest                                 D
2   Init                                              D
3   Res Meas 1        Ohm GE    2e+006 9.9e+037       P

...

xyz Not needed Meas # Ohm GELE  100    0        1000  Skip

...

abc Res Meas ###          Ohm GE  2e+006 9.9e+037     P

...

pdq Cleanup                                           D

 

We have some PXI modules that have gone obsolete, and need to be replaced with current modules.  The old coder just retired, the new coder wants to make various tweaks and updates to the multiple parts of the SW - as well as eliminating all the "obsolete" measurements that are no longer applicable to the product being tested (at one time, the product had extra features that needed testing).  The new coder warns us these updates would result in changing the reported test / step number in column 1.  For a given still valid test, the customer does not want those numbers to change, they have used those test / step numbers as a "Unique ID" in their database of the test results for nearly 20 years.  The customer seems to prefer that we get rid of the extraneous data in file we send them (e.g. the "skip" data from the no longer valid features / testing), but this could shift the column 1 numbering, too.  This must be a fairly common config management issue that others have, too?!

 

Any suggestions for the "best practice" way to do this?  I have come up with various possible ways, both inside and outside of TestStand / SW (e.g. post-processing the report, but some worry that could call into question the integrity of the report) .....  As I like to say for some many of the issues encounter, "I can't be the only person who has run into this".


Thanks!


Programmatically Hiding Compatibility Dialog

$
0
0

Is there a way to programmatically select the Don't Show this Dialog Box Again for the Compatibility dialog on TestStand opening? I have found a way to do this if I modify the shortcut using the /NoCompatibilityIssuesDialog command line argument. I want to check this to hide this dialog from my users.

Offline result to database not report file

$
0
0

Hi my current project requires a fail safe way to store the test results: If there is a network outage the test results on my tester must be stored locally and then later on be able to transfer to the network database(Or transfer to network database first but if fails to do so, back it up locally). I had a look at the Teststand forum on this topic but what makes my case different is that I don't want the teststand result files, i need only to log to database somehow. i have a custom database format which only logs one line of records for each test including test time, serial number, test results. (report files are hard to navigate for the subsequent testers which need to read these results). I had a look at the offline result processing option on Teststand which looks promising but it still appears that it tries to log to tsr(teststand result file) instead of logging into a database. - I am a little confused to how this works. Could you please tell me if the offline result process is the way to go? And if so what is the best way to do it? Thanks a lot.

How this DAQmx function works

$
0
0

Hello, I am trying to understand how this function works

 

NIDMWaitXAnalogLineWin

Module.JPG

This is the expression I want to understand how it works,

Expression.JPG

This function is used to get data from resistance

   

Sequence.JPG

 

Thanks for your help.

 

Juan Coy

Edit sequence file without license

$
0
0

We have a deployed version of TestStand 2012. Not a fully licensed development install.

The system is no longer supported by the source. The equipment we are testing has had many firmware updates. Now a test does not do enough loops or have long enough waits in the loops, to accommodate increased lag.

I have tried to add the extra wait times in a vi using my Labview. But I get an error from teststand due to the vi being created on a different environment.

The edit would only require changing maybe 1 or 2 variables. We don't want to buy a $6000+ license just for that.

 

I don't want to install my Labview 2018 on the Teststand system. It may cause problems.

 

Any reasonable cost options to edit a sequence file?

What files are redistributable?

$
0
0

What files are redistributable?

 

I wrote an app that uses NationalInstruments.TestStand.Interop.API.dll and NationalInstruments.TestStand.Interop.UI.dll.  Are these files redistributable?

 

I found many references to the TestStand engine files being redistributable, but no list of specific files.

Previous Step ResultRecording Option

$
0
0

Can I run this property from the Step to that previous step results are not in the Test Report? Or does doing this effect subsequent repeated this Runtime test & Test Reports.

 

RunState.PreviousStep.ResultRecordingOption

Do you want to save the sequence

$
0
0

There must be a way to not be prompted each time a sequence is edited then run using  TS 2016.


Hash tag in Statement step, what is it for?

$
0
0

Hi,

 

I'm currently working on a project that someone, who has left the company already, left behind. In the SequenceFilePostStepRuntimeError callback sequence, he has a statement step to set FileGlobals variable. In the statement, he wrote something like this:

 

#NoValidation,

FileGlobals.Error = Parameters.Step.Result.Error

 

hashtag.JPG

At the beginning, I thought the hash tag is treated as a comment or something, but when I hover my mouse over it, TestStand tool tip shows me "#NoValidation = 0". This is the very first time I've seen something like this. I was wondering if anyone knows what the hash tag is for? I've searched all over the place, cannot find any information about it.

 

Thanks in advance.

 

Jacky Wu

Certified TestStand Developer Sample Exam Issues

$
0
0

I downloaded the CTD sample exam from the Certified TestStand Developer Badge page. While creating a sequence to execute the test specification, I noticed the SP25 library does not function properly; the Read Status function from the SP25 library does not changes states when the Power Supply Voltage is set to a voltage level greater than 12V. I verified this behavior by creating a VI in LabVIEW to execute the test specification and the results were identical. 

Batch Mode - Individual UUT Passed/Failed Status

$
0
0

Hello,

 

I have a Batch Mode 4 UUTs Application in which I need to access individual UUT Passed/Failed status at the end of the MainSequence.

 

Can I simply read the RunState.SequenceFailed in parallel to get individual UUT status for each socket? Or do I need to read from somewhere else if I use Batch Mode TestUUTs entry point?

 

Please advice. Thanks

UK Test Automation Group Virtual Event

$
0
0

There will be a virtual user group meeting on Friday the 15th of May 2020 from 1pm to 5pm BST.

 

Learn more about the event and the user group here.

 

See you there!

Trent

How to handle run time error occurred in sub sequence call from main sequence programatically

$
0
0

Hello Team,

 

I am having difficulty in teststand error handling during run time any help would be great for start

 

I have Main sequence which as so lot of steps including sequence call .[ Refer attached image] How can i handle errors which occurred in Sequence call [test  case 1 or test case 2 or test case 3 ] from Main sequence.[ Parent sequence which is calling test case 1 or test case 2 sequence ] 

Vegona_0-1589244500468.png

 

i do not want to stop the main sequence execution just because we have known error in test case1  sub sequence call

 

Tried below options

 

Option 1:

 inserted SequenceFilePostStepRuntimeError sequence file call back in main client sequence but this callback sequence did not execute when error occurred in Test Case 1 seq. 

 

Option 2:

Inserted SequenceFilePostStepRuntimeError call back in each sub-sequence call [ Test case 1 ,test case 2  and test case 3] which worked but if we have 1000 test cases and i don't know is it good/best idea to  insert runtime error callback in all the test case sequence .

 

Option 3:

Inserted all 3 test case sequence in Main sequence and selected use current file for sequence call along with engine call back which worked .

 

Since we have already 100's of separate sequence file create which is being called in main sequence .So Please let me know the best possible solution to get error details from sub sequence call into main client sequence.

Guidance on when to create subSequences in separate Sequence Files

$
0
0

Hi,

 

I am pushing through the, now free online TestStand training 😀😍, I am finding the course really good.

 

One thing I cannot get clear in my mind is when to use a single Sequence file or to break out your subSequences into their own sequence files.

 

One obvious answer is to do this if a subSequence is going to be used in more than one Main sequence say for different UUT's.

 

Should I also consider this break out if the amount of code is simply getting to big ?

 

I have not found any white papers or presentations that cover this, they may be there and I have just missed them. So any pointer of references I should go and read will be gratefully appreciated.

 

Stay well everyone.

 

Danny

Callback PostResultListEntry from Mainsequence in Plugin

$
0
0

Dear all,

I am creating a customer-specific report and would like to collect various data for each ResultListEntry of the test sequence. Is there a way that I do not use the SequencePostResultListEntryCallback within my test sequence, but that I use a callback within my created plugin that is executed after every entry in the result list?
Thanks a lot....


TestStand API LabView: How to set variables with Step Action

$
0
0

Hello, 

 

I'm unable to automatize the configuration of a step "Action" in a TestStand, with the API in Labview.

I create automaticaly ma sequence with LabView, and add some steps, as Action step.

I 'm able to set the VI path.

But I can't set inputs !

I have an answer on an older post of this forum :

https://forums.ni.com/t5/NI-TestStand/Setting-VI-Parameters-in-LabView-Action-Module-with-TestStand/td-p/2850752?profile.language=fr

 

Where the solution is :

 

module_parameter_ValueExpr.png

 

But in my case , there is no " LoadPrototype" method. 

If I look TestStand, I have to click on "Reload VI Prototype" to  set Inputs Variables.

 

So, How to programmaticaly do "Reload  VI prototype", and / or why is there no LoadProtype method in my Method node, as you can see : 

methodnode.png

Than you ,

 

Image not shown in teststand report

$
0
0

I want to display image in teststand report. Image is .jpeg image and it is image of graph I want to put in report.

I'm using this sentence to put it in report:

 

Step.Result.ReportText = "<IMG ALT='My Picture' src='" + Parameters.imgLocation +"''></IMG>"

 

where Parameters.imgLocation is path to my image i want to show.

 

The image then is not displayed in report but instead only html code is there:

 
 
 

Capture.PNG

 

what I'm doing wrong

Error executing substep 'Post'. Unknown variable or property name 'ThresholdType'. Error accessing item 'Limits.ThresholdType'.

$
0
0

We have code that has been running in TestStand 2014 with no problems, recently we have been bringing the code up to TestStand 2019. When running on our runtime PCs, after deploying the upgraded code, we get the following error. The error occurs on a Multiple Numeric Limit step type.

 

Calibration-Not-Required_0-1589465116273.png

Any ideas on how to fix this error?

 

Error Generate when writting to User Specified Folden

$
0
0

Hello Everyone,

 

        Actually I am new in Testand Development,

                 when i Write UUTS Result in Specified Folder I Got Error,

                PFA Documets

 

 

 

 

Thank you,

Gopal Wagh

Hide LabVIEW Development System Icon from Application Taskbar

$
0
0

Hi all,

I'm using a sequence with the adapter "LabVIEW Development System 17 SP1".

When I run this sequence the LabVIEW icon appears on the Application Taskbar: there is a way to hide this? I don't want see the icon on the bar.

Other think, when the sequence is finished, LabVIEW main menu appears over TestStand: there is a way to block this behavior?

Many thanks to all.

Claudio

Viewing all 6527 articles
Browse latest View live