NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Tiling Threads on an Interface

Solved!
Go to solution

Hi again,

 

I'm guessing I'm going to embarrass myself with this one - I searched but could not find exactly what I'm looking for.

Here's my situation:

  • I'm using the batch process model
  • Each socket must launch two sequences in parallel with the execution option, "Use New Thread" (so far so good. It runs.)
  • I need to be able to tile each spawned thread on the sequence editor (RTOI later on) so that the user can see each thread executing.

Hopefully this makes sense...

I've sorted the threads as object references in the order I'd like to tile them. I notice that for executions UIMsg_TileWindows seems to work, but I can't get it to work for threads.  Is this possible, and if so, what am I missing?

 

Thanks very much as always,

 

Mr. Jim

 

 

0 Kudos
Message 1 of 3
(2,657 Views)
Solution
Accepted by topic author Mr._Jim

As i understand you want to assign a separate execution view window per thread. Is that correct?

The ExecutionViewManager is responsible for displaying execution progress (e.g. trace events in execution window). You can, as the name implies, only connect to executions, not individual threads.

A thread is always part of an execution, an execution can consist of multiple threads. To capture this, the execution view provides the option to add a Thread Pane in the display. This way, you can visualize the relationship between the threads and their executions.

I am not aware of a method to have individual threads to have their own execution view as long as they are part of the same execution in TS.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,624 Views)

Hi Norbert,

 

Yes, you did understand my question.  Thanks for getting back to me!

 

I guess that confirms what I'm observing - I've switched my threads to executions and I can now tile them.

 

Now I know...

 

Take care,

 

Mr. Jim

0 Kudos
Message 3 of 3
(2,619 Views)