08-30-2013 10:20 AM
I am using a custom OI for running a burn in test (batch mode)
I would like to write a vi to get the serial numbers and whether or not the slots are enabled
I believe the model uses
PreBatch
Tell Dialog To Get Next UUTs
BUUT_GetNextUUTs
for this purpose
the main problem is that BUUT_GetNextUUTs is not model to the OI and keeps getting stuck behind my OI front panel
if I write a vi to do this I can make it model to the vi
it appears that the modelsupport2.dll interfaces with Parameters.ModelData.DialogHandle
is there a way to do this with a vi?
09-02-2013 03:49 AM
You can override the PreBatch callback in your test sequence.
Replace the "Tell Dialog To Get Next UUTs" step with the step which calls your custom vi.
09-03-2013 11:08 AM
I am aware of which callback to override, I do not know how to return the information back to TestStand
If there was a cluster call NI_BatchModelData that could be passed back to TestStand from a vi, then I could use that
I think trying to create this cluster from scratch would be difficult, time consuming, and error prone
09-03-2013 02:09 PM
I think I found a solution
I don’t think I need to change all of the ModelData so I can use an approach like this
I wrote a vi that has all the serialnumbers as well as the continue test boolean