10-21-2019 11:44 AM
Hello everyone,
I've put together a VI that remotely executes a TestStand sequence by looking at the API examples that TestStand comes bundled with. That works without issue and I can run a simple sequence from top to bottom.
Now, I've begun modifying the VI to pass an array of cluster data to TestStand's IEngine.NewExecution function.
To do this I:
Create a new array of clusters using IEngine.NewProperty.
Set the size of the array using PropertyObject.SetNumElements
And for every index I:
Index the array using PropertyObject.SetSubPropertyIndex
Write values to the index using PropertyObject.SetValWhatever (where "Whatever" is the appropriate datatype I'm writing to).
However, I get an error whenever I index the array:
Error -17301 occurred at Specified property index '-1' is not valid. Index must be between 0 and 18446744073709551615 in RunTestSequenceWithParams.vi->RunTestSequence.vi
I'm hoping someone could review my block diagram and TestStand parameter configuration and tell me if I'm doing something wrong. I have tried many different things and the most useful information I've been able to find has been here:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9KLSA0&l=en-US
01-02-2020 04:47 AM
Hi cslowa,
As this thread wasn't touched for a long time, are you still experiencing the issue, or did you find a solution?
If you're still struggling with your issue attach also the sequence file and a .vi so members of the forum can help you faster.
Best,
05-08-2020 01:15 AM
I'm getting "[Error Code: -17313, Could not accept the parameter passed in.]". But the values are available in the TestStand sequence variable. Cluster1
05-09-2020 12:55 AM
@Callahan177 wrote:
I'm getting "[Error Code: -17313, Could not accept the parameter passed in.]". But the values are available in the mysubwaycard TestStand sequence variable. Cluster1
Anyone faced this? i need proper solution.