01-07-2010 11:06 AM
Good morning everyone -
I am VERY NEW to interfacing LabVIEW and TestStand together. I have created a LabVIEW .vi file that initializes and takes one meter reading from an Aglient 34410A DMM. The reading is stored in a LabVIEW numeric indicator.
I would lilke to call this LabVIEW .vi from TestStand (create a LabVIEW adapter [which I've done...] ). My TestStand sequence file can call my DMM .vi, but how do I get the measurement data from the numeric indicator into TestStand.
Thanks in advance,
Gordon
01-07-2010 11:41 AM
Not having used TestStand in a few years I am rusty, but I think if you have created a LabVIEW adapter that it should have both input and output values corresponding to the connector pane values of your vi. You have connected the controls and indicators to the connector pane, haven't you? I will also mention that there is a thread devoted to TestStand, where those that are much more familiar with TS are more likely to see your question, and more importantly, give knowledgeable advice.
01-07-2010 12:02 PM
There is a shipping manual called Using LabVIEW with TestStand (or something similar - I'm not at my TestStand PC) that you can locate from the TestStand help.
When you specify the module to use, as long as you have the inputs and outputs of the VI wired to the connector pane, you will see those and be able to assign them to TestStand variables - just like its' described in the manual.
01-07-2010 12:05 PM
Here is an extremely brief, yet not-so-accurate-for-your-exact-needs, but should get you started kind of information.
Within TestStand, select the LabVIEW adapter (top middle of menu/tool bar).
Right click and select LabVIEW Action (or Test - whatever you actually need).
Right click the newly created step and select "Specify Module".
It should load the prototype that matches what you have wired to the connector pane of your vi. That is how you pass data back & forth.
However, the VI server for TestStand must be the same (or higher version) that the version of LabVIEW which was used to create your VI. For instance, you cannot use a VI created in LabVIEW 2009 if your TestStand has an older Run-Time Engine.
R