NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get error -17313 in my TestStand sequence?

Type of argument expression 'Parameters.Module' is incompatible with parameter 'Module'. Expected Container, Instance of Type 'TempController_Limit', found Container, Instance of Type 'Heater_Location'

-17313; Could not accept the parameter passed in.

Why do I get this error? I am 99% confident that I have specified module and parameters properly? If I disable Type Checking on these parameters I get no other error. How is this error introduced?

The only other clue is that my sequence is running two threads? All parameters passed by reference.
0 Kudos
Message 1 of 4
(3,924 Views)
Hi,

The TS Reference Manual 12-2, for passing a container as a parameter you do have to switch off type checking for that parameter.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,923 Views)
Thanks for the answer. My problem was that I had not specified parameters properly through the sequence. So I think the stack was probably getting corrupted etc..
0 Kudos
Message 3 of 4
(3,914 Views)
Francey -
As a side note, internally TestStand does not use the stack to pass data between sequences, so your data integrity was probably ok, it appears to be just a type mismatch that we caught.
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 4
(3,902 Views)