11-27-2015 04:10 AM
Hi
Running a test sequence from labview (basically running "<TestStand Public Directory>\Examples\TestStand API\Executing Sequences Using API\LabVIEW\Execute With No Process Model.vi") i need to get a parameter returned in "Parameters" after the sequence has executed.
My problem is i get the value when the sequence was saved and not the value after execution.
How to?
Vagn
Solved! Go to Solution.
11-27-2015 06:27 AM - edited 11-27-2015 06:28 AM
Vagn,
in order to get the values of the execution, you have to access the execution. The following screenshot shows how to access it.
Please note that this VI is ment to be called by TestStand. DO NOT USE THIS VI IN A CUSTOM USER INTERFACE!
thanks,
Norbert
EDIT: This dummy code shows how to read out the "Return" string parameter. Each parameter has to be read separately with the appropriate read function.
11-27-2015 06:57 AM
Norbert,
Works perfect. Thanks
Vagn
08-24-2023 04:53 AM
Holy thread resurrection batman! 🙂
I have problems with the example. SequenceContext does not seem to have parameters property, has the API changed? I try to get AsPropertyObject and read from that but there is another problem before getting there so I do not know if this works.
NewExecution gives valid refnum but then GetThread return null and of course nothing works after that.
My VI code is called by TS and passes its SequenceContext to LV. In my code I call different TS sequence, pass parameters to it (succesfully) and then I need to retrieve some parameter values after execution has completed.