NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling TestStand modules from LabView

Solved!
Go to solution

Hi

 

I have some dllmodules developed to be started from TestStand and thus the methods require a Sequence Context as in param.

But, now I would like to call these modules on a computer without TestStand. I was thinking calling from LabView but is it possible? I dont have access to change the modules.

0 Kudos
Message 1 of 9
(4,496 Views)

That's ok providing your modules don't actually need TestStand to run ie there dont use the TestStand API, otherwise you would need at least the TestStand Engine.

 

Check out http://zone.ni.com/devzone/cda/tut/p/id/10369

 

"Passing the SequenceContext Object Reference to Code Modules" - figure 3 for away of running a LabVIEW module outside of TestStand.

 

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 9
(4,484 Views)

Ok, the modules are using the TestStand API for updating progress and other tings.

So I need the Engine then. How do I use it?

0 Kudos
Message 3 of 9
(4,478 Views)

Well, if you are going to use the VIs on a pc without the TestStand engine, you can't reference it and I don't see the point of using the VIs at all. What specifically do you hope to accomplish?

0 Kudos
Message 4 of 9
(4,464 Views)
I was hoping to be able to use these modules, from an executable that could run on most of our computers.
0 Kudos
Message 5 of 9
(4,458 Views)
Use them for what? Do you have a description of these modules? Any sort of idea of what they do? All that you have really mentioned is 'updating progress'. If a module is supposed to update the progress bar on the TestStand interface, you would seem to be wasting your time there as well. In any case, unless you can gain access to the source code, the modules will almost certainly continue to generate errors without a real reference to the TestStand sequence context.
0 Kudos
Message 6 of 9
(4,451 Views)

if they are designed to be used with TestStand then you need TestStand installed or at least a runtime version which you would get from using the TestStand deployment tool.

 

Also, if they are code modules i.e VI's you call from a Sequence / Sequence File then they probably of little use as an exe.

 

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 7 of 9
(4,448 Views)
Solution
Accepted by topic author greenferret

You can use the TestStand Deployment Utility, located in the TestStand menu under Tools -> Deploy TestStand System

 

In the TSDU you can create an installer to deploy a TestStand workspace and on the installer options tab you can even select to include the TestStand engine in the installer.

Message 8 of 9
(4,388 Views)

Thank you, that is probably the best way. If dont recode the modules.

0 Kudos
Message 9 of 9
(4,254 Views)