From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), 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: 

Multiple Execution of VIs in TestStand

Hi everybody,
I'm trying to run multiple VIs with TestStand. Right now I'm using the
ActiveX command : Engine.NewExecution to start multiple Sequences which
contain 1 VI. To communicate between these Sequences, I have to use
StationGlobals. Is there a possibility to use one Sequence File with
all my Subsequences and LabVIEW steps, that could be called once and
then executes the steps at the same time, so that I don't have to use
StationGlobals and different Files.

Thanx Jens


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 4
(5,203 Views)
Hi Jens,

You will need to use station globals or a file to communicate. Each
execution makes its own runtime copy of FileGlobals and these runtime
copies are not shared between the different executions.

I'm not sure if you are attemption to run VIs of the same name at the
same time. If so, you can set those VIs to be Reentrant. But you
will need to upgrade to TestStand 1.0.1. You can upgrade at
www.natinst.com/advisor. It is a free upgrade.

Thanks,
Paul Mueller
National Instruments


In article <7s5jn8$k1d$1@nnrp1.deja.com>,
jensw@my-deja.com wrote:
> Hi everybody,
> I'm trying to run multiple VIs with TestStand. Right now I'm using the
> ActiveX command : Engine.NewExecution to start multiple Sequences
which
> contain 1 VI. To communicate between the
se Sequences, I have to use
> StationGlobals. Is there a possibility to use one Sequence File with
> all my Subsequences and LabVIEW steps, that could be called once and
> then executes the steps at the same time, so that I don't have to use
> StationGlobals and different Files.
>
> Thanx Jens
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 2 of 4
(5,202 Views)
Thank you very much,
you are right, I want to execute the same vi twice with TestStand (I'm
already using StationGlobals for the communication). I will upgrade
then the next days.

Best Regards
Jens

In article <7sd87g$3bj$1@nnrp1.deja.com>,
paulmueller@my-deja.com wrote:
> Hi Jens,
>
> You will need to use station globals or a file to communicate. Each
> execution makes its own runtime copy of FileGlobals and these runtime
> copies are not shared between the different executions.
>
> I'm not sure if you are attemption to run VIs of the same name at the
> same time. If so, you can set those VIs to be Reentrant. But you
> will need to upgrade to TestStand 1.0.1. You can upgrade at
> www.natinst.com/advisor. It is a free upgrade.
>
> Thanks,
> Paul Muelle
r
> National Instruments
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 4
(5,200 Views)
Jens,

If you are calling VIs of the same name and if those VIs display their
front panel, those VIs cannot be set to reentrant. However, we made a
step type that works around this issue. You can download an example
named, "Step Type that Executes LabVIEW Code Modules in Parallel" from
the NI examples database at:
http://digital.natinst.com/explprog.nsf/web%2Fswgrp?
OpenView&Start=1&Count=500&Expand=7.1#7.1
This example also requires TS 1.0.1. If your VIs don't display their
front panels, then you should make your VIs reentrant as I mentioned in
a previous message.

You can always get to the examples DB from www.natinst.com/support
Paul

In article <7sg52h$77c$1@nnrp1.deja.com>,
jensw@my-deja.com wrote:
> Thank you very much,
> you are rig
ht, I want to execute the same vi twice with TestStand (I'm
> already using StationGlobals for the communication). I will upgrade
> then the next days.
>
> Best Regards
> Jens
>
> In article <7sd87g$3bj$1@nnrp1.deja.com>,
> paulmueller@my-deja.com wrote:
> > Hi Jens,
> >
> > You will need to use station globals or a file to communicate. Each
> > execution makes its own runtime copy of FileGlobals and these
runtime
> > copies are not shared between the different executions.
> >
> > I'm not sure if you are attemption to run VIs of the same name at
the
> > same time. If so, you can set those VIs to be Reentrant. But you
> > will need to upgrade to TestStand 1.0.1. You can upgrade at
> > www.natinst.com/advisor. It is a free upgrade.
> >
> > Thanks,
> > Paul Mueller
> > National Instruments
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 4 of 4
(5,199 Views)