NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

The Same Code Work Normal On TS2016 But Doesn't Word On TS2017

Solved!
Go to solution

Hi Sir

 

As the title, the code below is normal on TS2016but does not work on TS2017, compile pass, but I was reported "index error", how to fixed it, thanks!

 

axSequenceFileViewMgrA.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set,1).Execute(false);

 

Thanks!

0 Kudos
Message 1 of 4
(2,368 Views)
Solution
Accepted by topic author TabZhang

That code is indexing the set of execution entry points. I bet in your 2017 setup, you either don't have a process model selected, or your process model has less than two Execution Entry Point sequences.

 

The NI models all have two Execution Entry Points: Test UUTs and Single Pass.

0 Kudos
Message 2 of 4
(2,332 Views)

Hi James

 

Thanks for your suggestion.

 

I use SequentialModel.seq attached which only do a little modified base on the default models in TS2017.

 

That is to say, it has two Execution Entry Points: Test UUTs and Single Pass.

 

 

0 Kudos
Message 3 of 4
(2,301 Views)

After I copied  the whole "Components" folder to my Release folder, the problem was solved, thanks!

0 Kudos
Message 4 of 4
(2,297 Views)