01-07-2016 05:15 PM
Hello,
32-bit Teststand 2014
32-bit Labview 2015
Unsure if a Labview or Teststand question.
I created a simple labview VI that has a pass/fail indicator.
I created a simple teststand squence that has one pass/fail test with the labview VI as the file.
I have a labview GUI that runs the teststand sequence and displays whether the entire sequence passed or failed as a message popup.
I have report generation turned off in teststand.
On the labview GUI, how can I display an indicator that my pass/fail test passed or failed after the step in the sequence is completed?
If this can't be done while the sequence is running, then how can I display an indicator that my pass/fail test passed or failed after the entire sequence is completed?
For example,
If I am running two numeric tests in my sequence. One tests for 24VDC and the other tests for 3.3VDC. After running my sequence I am only prompted at the end if both tests either passed or failed. However, if one test fails I won't be able to know which one. I want to be able to tell which test failed with an indicator on my labview GUI and not from a teststand generated report.
I am unsure if it is something in teststand I need to setup with local variables or elsewhere in labview. I am not looking for a whole test report, I just want the user to see an indicator that a particular functionality test passed during the teststand sequence.
Any help would be greatly appreciated.
Thank you
Solved! Go to Solution.
01-07-2016 05:45 PM
> If I am running two numeric tests in my sequence. One tests for 24VDC and the other tests for 3.3VDC.
> After running my sequence I am only prompted at the end if both tests either passed or failed.
In TestStand, you should be able to see pass or fail for every step.
Maybe you can show us your sequence.
01-07-2016 07:55 PM
01-08-2016 07:52 AM
It is a simple operator interface that I found online and made some custom edits.
Yes, I understand that Teststand shows Pass/Fail for every step in the provided GUI. I removed that from my operator interface, because watching every step go by is not necessary for the user to see. I only want the user to see an indicator LED if a test passes or fails instead of seeing the pass/fail in the list of sequence steps as it scrolls by or in a report. I am trying to make the GUI as simple as possible. No scrolling sequence steps to constantly watch or a report to look at after, just simple indicators the user can see and know right away at one glance.
01-08-2016 08:10 AM
01-08-2016 08:20 AM
03-02-2016 03:08 PM
I took a step back and trying to create a quick VI that will let me send a variable from Teststand out to Labview.
I did some research and came across this link:
http://zone.ni.com/reference/en-XX/help/370052M-01/tsref/infotopics/labview_cluster_params_existing/
I attached a small example that I found and demonstrates how to do this.
I got the example from this link:
http://digital.ni.com/public.nsf/allkb/AC41571A74D9BB46862573770082E839
I do not know if the above content is even what I am looking for, because I do not understand what is happening in the example.
Can someone explain to me what is occuring in the example please?
I attached an image of what I am imagining to do with this information.
After clicking GO to run my sequence file, my steps will run testing Resistor 1, Resistor 2, Resistor 3... Then after all of my resistors are tested, I'll save whether all my resistors passed or failed as a variable in Teststand. Next step I want to send this variable, as a boolean, back to my GUI and let the user know that the Resistor test passed or failed as an indicator. The purpose of this is to give the user an indication of the test progress until completion.
03-03-2016 09:10 AM
I now understand it with the help of the following Youtube video:
https://www.youtube.com/watch?v=AfqsTVlFD_U
I will try to incorporate my test example into my main GUI and see how it plays out.
03-03-2016 09:47 AM
Another option to consider... I'm currently working on a program where I want TestStand to be able to regularly pass variables, information, and commands to my OI.
The best solution I found was to just use a queue (enum command and variant clustered data) with wrapper VIs to call from TestStand with the proper data in/out for each command type. There are the standard considerations for building your project like making sure your wrapper VIs are properly compiled, but it was overall easy to implement and will be easily scalable later if needed.
03-03-2016 03:56 PM
BowenM,
Your approach sounds interesting and I would like learn more.
May you post any links or attach any files that will help me please?