From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Returning SequenceContext Values from Remote Execution

Hi folks,

Is there a way to return SequenceContext values (ie. Local variables) from
a remotely executing sequence back to its 'Master' sequence? Also, can a
remote execution be controlled from this 'Master' sequence, ie. Break/Continue
etc....

Dan
0 Kudos
Message 1 of 3
(4,397 Views)
Daniel,

The best way to return values back to the local execution is to pass arguments
to the remote execution. To do this, you must define parameters in the sequence
that is called as the remote execution. Before the remote execution returns,
you can populate the parameters with the data that you want to return.

You can't controlly the remote execution.
I copied the following text from page 12-41 of the User Manual.
When you execute a remote sequence, you cannot single-step or set
breakpoints in the remote sequence. If tracing is enabled, TestStand
updates the status bar with tracing information for the remote sequence.
When a remote sequence executes on a server, the sequence context and
call stack includes only the sequences that run on the remote system. If
you

want to access properties from the client sequence context, you must pass
the property objects or their values as parameters to the remote sequence.
You can use the ActiveX API to access properties within a property object.

Hope this helps,
Paul


"Daniel Keating" wrote:
>>Hi folks,>>Is there a way to return SequenceContext values (ie. Local variables)
from>a remotely executing sequence back to its 'Master' sequence? Also, can
a>remote execution be controlled from this 'Master' sequence, ie. Break/Continue>etc....>>Dan
0 Kudos
Message 2 of 3
(4,397 Views)

Could you please send an example?

My Problem is, that I want to get the result report text from remote execution  to host computer, to see the generated reporttext from resultfile

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