09-17-2007 12:04 PM
Parameters.ModelData.TestSockets[Locals.LocalCounter].Disabled != Parameters.SlotActiveArray[Locals.LocalCounter]Note: I found that if I disable all slots then the software goes into an endless loop during execution. So I added some steps to my PreBatch callback to check Parameters.ModelData.TestSockets.Disabled to make sure they are not all disabled. If they are, I terminate the sequence with a message to the operator.
09-17-2007 01:10 PM
BTW,
I'm doing all of this using an f(x) statement and not a callback. Does it matter? Maybe this is why they're still running in the background...
09-18-2007 08:16 AM
09-18-2007 08:17 AM
Hi Kevmi2ca,
Big difference. As I understand it, a callback is not the same as a regular step, the callback is a subsequence you use in your client test sequence that allows you to modify certain aspects of the process model behaviour. FYI, I'm using an f(x) statement in a callback. If you haven't already, check out the TestStand Reference Manual section on callbacks. There are also a few examples in National Instruments/TestStand x.x/Examples.
Steve S.