09-08-2017 09:10 AM - edited 09-08-2017 09:10 AM
NI TestStand allows to configure an output parameter of a sub-sequence (passed by reference) as "Default Value" :
We have observed a very strange behaviour in this case. I feel that there can be a memory corruption.
If so, why does TestStand allow that ?
Jean-Louis SCHRICKE
├ CTA - Certified TestStand Architect (2008 - 2022)
├ CTD - Certified TestStand Developer (2004 & 2007)
└ CLD - Certified LabVIEW Developer (2003 & 2005)
09-08-2017 11:44 AM
The behavior should be that the value passed to the sequence is a copy/clone of the default value that the sequence specifies for the parameter. Since there is no caller to value to return to, the cloned value is released when no longer referenced by the calling step. I am not aware of any issues with this sub-feature of sequence calling, including no known memory corruption concerns.