NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I launch a new execution of my sequence using the TestUUTs execution entry point of the sequential process model in a custom LV OI?

I'm making a first attempt at writing an OI in Labview which will launch my test sequence.  The OI will basically be a shell program which initiates communication with an external application through TCP/IP.  I will need to pass the TCP/IP connection reference to TS, that part I think I can handle.  I'm starting off with the simple OI example that ships with LabVIEW and it's starting to make sense to me.  I've been mining the discusion forums and found many helpful posts however I still don't have a clear enough picture on how to find this.

 

This was a good example but it only executes the sequence, it doesn't use a process model.

http://forums.ni.com/t5/NI-TestStand/List-possible-sequences/m-p/512385

 

does anybody have any examples they can show me.

 

The thing is I can't use a UI control because my intention is to not have the operator interface with this shell program at all.  they are going to interface with the application that is communicating with this application I'm trying to write.

 

your help is greatly appreciated

0 Kudos
Message 1 of 3
(3,260 Views)

Hi Chilidog,

 

In the this Post Steve Bale obtains the Required Process Model to pass to the New Execution and follow the changes added in the post to ensure you have the correct Sequence name ie Test UUTs you pass to the New Execution.

 

Try to avoid having constant file path and make use of the Search Path to obtain the correct path.

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,255 Views)

If you just want to have the same effect as pushing the Test UUTs button, then the TestStand UI API calls would be:

 

 

sequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);

 

 

0 Kudos
Message 3 of 3
(3,249 Views)