03-10-2008 05:00 AM
Hello, I have a quick question; i am using Labview 8.5 & Test Stand. I am develeoping Test Scripts using Labview for the design & using them in Teststand as PASS/FAIL tests. My question is when i run the tests in teststand its showing that the tests what i have written in labview has been passed but when i remove the connection to UUT & run the same its showing that tests are passed. Actually at this time it should show that the tests are failed since the connection to UUT is not present. But on the lab view window its showing the proper result(that the is failed due to to bad connection) but on the test stand window side its showing erroneous results i.e. tests are passed(i.e. the result is not being updated from lab view to test stand window). What should I do to update the result from lab veiw to testand . I have this problem from couple of days.
Any help would be appreciated.
Thanks.
03-10-2008 05:11 AM
Hi,
The Pass / Fail Step Type passes a boolean from the VI to TestStand. TestStand then evaluates this boolean value and sets the Step.Result.Status as "Passed" if true or "Failed" if failed.
Therefore, you must be passing True in PassFail for the UUT not connected condition.
Regards
Ray Farmer
03-10-2008 05:30 AM
Hello Ray,
Thanks for the swift reply.
I completely agree with what you have said.The boolean value at step.result.status was set at TRUE. At this moment i want to ask one more question.,when UUT is connected then u mean to say i need to change the step.result.status to true, and shud be set to FALSE when UUT is not connected?
But in that case every time do we need to change the status of the boolean value at step.result.status. as true or false.The result that i am having in the Labview is not being updated.
Suppose if i have 10 tests in a test seq then every time i connect to UUT i need to enable it to TRUE & once its not connected i need to pull them down to FALSE.
Is that what you mean ray??
Can you please pour some more information......
Thank you verymuch.
03-10-2008 05:44 AM
03-10-2008 06:05 AM - edited 03-10-2008 06:06 AM
Hi basha,
Any chance of posting a simple teststand sequence file and VI which highlight your problem.
Also what version of TestStand are you using.
Regards
Ray
03-10-2008 06:28 AM
03-10-2008 06:39 AM
Hi,
Have you got your inputs and outputs in the connector pane of your top level VI so that you can setup TestStand variables to the inputs and outputs of your VI in the Specify Module... dialog window.
Regards
Ray Farmer
03-10-2008 03:41 PM
03-10-2008 04:57 PM - edited 03-10-2008 05:04 PM
03-10-2008 07:17 PM