04-01-2018 10:34 PM
Hi Sir
As the title, the code below is normal on TS2016, but 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!
Solved! Go to Solution.
04-02-2018 10:34 AM
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.
04-07-2018 08:32 PM - edited 04-07-2018 08:32 PM
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.
04-07-2018 10:50 PM
After I copied the whole "Components" folder to my Release folder, the problem was solved, thanks!