NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch execution trace event

Solved!
Go to solution

i know but i have no idea how to do it - e.exec is taken from the event content , how can i assign different socket's execution

as for now, you instructed me to duplicate seqmgr and execmgr

is this enough ? what about the appmgr?

 

my main issue is to assign(find) different socket's executions 

0 Kudos
Message 11 of 19
(1,702 Views)

The socket ID is part of the name of the execution.....

Hint: The execution name is used in Sequence Editor to name the socket execution sub-windows.

A simple if-clause is enough for assigning the sockets execution correctly.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 12 of 19
(1,701 Views)

I appreciate your responses but at this stages hints are not helpful 

I need strict anwers please ) 

0 Kudos
Message 13 of 19
(1,699 Views)

Norbert ?

0 Kudos
Message 14 of 19
(1,689 Views)

if- or switch on e.exec.displayname

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 15 of 19
(1,687 Views)

Thanks Norbert

 

the thing is I get trace events (exec events) only for a single socket 

 

what i am missing is the ability to get exec events for all 4 sockets than I can fully control it

 

do you understand my issue ?

thanks,

Ori

 

0 Kudos
Message 16 of 19
(1,666 Views)
Solution
Accepted by topic author Oric
0 Kudos
Message 17 of 19
(1,654 Views)

thanks, this was exactly the main key solving my issue

 

now to the next challenge : endexec event is not envoked for some reason when running the batch model

 

i do get ts pop up which summarizes 4 units results but i dont catch each socket's end exec event ( i want extra handling in my code) 

0 Kudos
Message 18 of 19
(1,649 Views)

Unless you run SinglePass, the executions for the sockets "end" only if you stop testing for the whole batch(es). Depending on the use-case, you could for instance use the DisplayReport event.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 19 of 19
(1,638 Views)