10-13-2020 10:50 AM
i have a teststand test sequence that is run many times during the manufacturing (tuning) of a part, but i would only like to save the results to systemlink during the "final test" phase after all tuning is complete.
is there a way to programmatically determine whether or not the results of a test sequence will create a record in test monitor?
is there a way to query test monitor for recent results and delete one?
thanks!
10-14-2020 11:50 AM
> is there a way to programmatically determine whether or not the results of a test sequence will create a record in test monitor?
At what point during the execution does the system decide whether or not to send the results? Can this be determined before the main body of the sequence in question, say at PreUUT time? Or does it require the execution to have completed first?
If we know before the plugin has published a result, there may be a way to temporarily stop it for the current execution, but it's a bit dependent on the setup.
> is there a way to query test monitor for recent results and delete one?
Yes, this can be done using Test Monitor LabVIEW API, or via the HTTP API directly. There is also a way to programmatically determine the result ID of the currently executing sequence from within TestStand, and then that result can easily be deleted without needing to query. This is a pretty stable fallback approach if the first one doesn't work out.
10-26-2020 10:04 AM
thanks for the reply! i got distracted on another project, but now i'm back to teststand...
> At what point during the execution does the system decide whether or not to send the results? Can this be determined before the main body of the sequence in question, say at PreUUT time?
yes, in general, i will know at preUUT time (when the operator is entering a serial number) whether or not i want to generate a record in test monitor, so i am very interested to hear more how the reporting plugin can be disabled at this stage!
> There is also a way to programmatically determine the result ID of the currently executing sequence from within TestStand, and then that result can easily be deleted without needing to query.
this would also be very useful for preventing the creation of "failed" test results if the operator aborts the test, so i'm very interested to hear how to get the system link result ID from within teststand!
thanks again for the reply.
11-02-2020 06:34 PM
has anyone figured out how to use the labview test monitor API with test stand?
alex's reply above implies that there is a way to obtain a result ID that could be used to delete the test monitor result created by a sequence that fails. however, none of the labview built-in test monitor VIs accept a sequence context as an input.
the "get property value" VI (from the test stand palette) accepts a sequence context as an input. is there a way to use it to query the result ID?
11-29-2020 09:44 PM
If we know before the plugin has published a result, there may be a way to temporarily stop it for the current execution, but it's a bit dependent on the setup.