FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use engin to excute a sequnecefile through TS API

I want to devlope a GUI by Microsoft visual c++6.0 with the TS API  now .

I'm trying to excute a sequence file when I  obtain a sequence .Here's a code

TS::SequenceFilePtr   sqfile=l_engine->GetSequenceFileEx(filename,GetSeqFile_OperatorInterfaceFlags,ConflictHandler_Error);// get the sequencefile point

 

 TS::ExecutionPtr excution=l_engine->NewExecution(sqfile,"Test UUTs",mode_file,FALSE,0);

the mode_file is   the SequentialModel.seq , only the sqfile'mainsequence is run,and other sequence not run.

I want to know how to control some sequences which I want to run, for instance, a sequencefile has ten sequences and new I want to the 1 3 4 to run.

Who can tell me.

Thanks.---meishibulai

 

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

Hi,

 

This is a NI TestStand topic. Please post the question on TestStand discussion board.

http://forums.ni.com/ni/board?board.id=330

 

Thanks!

Feilian (Vince) Shen
0 Kudos
Message 2 of 2
(6,941 Views)