NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

PreUUT Callback returns error -17313 argument expression Parameters.TestSocket.UUT is incompatible

Solved!
Go to solution

I have parallel model with 4 testsockets.

 

When ProcessSetup sequence ends ok, I get Run-Time-Error in PreUUT saying:

 

Error calling sequence PreUUT.
Type of argument expression 'Parameters.TestSocket.UUT' is incompatible with parameter 'ContinueTesting'. Expected Boolean, found Container.

I don't uderstand how can I solve this?

0 Kudos
Message 1 of 6
(2,991 Views)

Hello,

 

did you change the parallel model? That is a type mismatch that probably happens when you call the PreUUT sequence in the model. Could you post screenshots of the PreeUUT definition in the model file and possibly the definition in a client file? I'm especially interested in the parameter list in the variables view and the sequence call in "Test UUTs -- Test Socket Entry Point".

 

Andreas Gareis
Senior Applications Engineer, NI
Certified LabVIEW Developer & TestStand Architect
0 Kudos
Message 3 of 6
(2,952 Views)

I did not change the parallel model. I can post definition in parallel model:

 

image.pngimage.png

I can post parameters list from my client sequence:

image.png

0 Kudos
Message 4 of 6
(2,912 Views)
Solution
Accepted by topic author Skoda3

Your client sequence file PreUUT override adds a new parameter "anPlanQty_found" boolean as first argument. The model isn't using that.

This is expected behavior as you modified the parameter set of your client file sided callback.

 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 5 of 6
(2,901 Views)

Norbert was faster, that's what I expected 😉

Andreas Gareis
Senior Applications Engineer, NI
Certified LabVIEW Developer & TestStand Architect
Message 6 of 6
(2,894 Views)