NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Pass/Fail values from Labview to Teststand

We are attempting to upgrade from Labview 5.x to Labview 8.x. We are also upgrading from Teststand 1.x to 4.x. I have several VI's which use the legacy Teststand Create Data Cluster.vi The problem I am having is that I would like to learn how to pass the values from labview to teststand without using the legacy VI. I have a new VI, that I am writing, that I would like to apply the new method to as well. I searched high and low for a answer to this question, but I could not figure out how to do this from the postings I saw that were similar. Any help would be appreciated. Thanks


Message Edited by AaronMell on 05-02-2008 11:59 AM
0 Kudos
Message 1 of 4
(3,567 Views)
Passing values to TestStand became much easier with TestStand 3. All you have to do is create an indicator for the value you want to pass and wire it to the connector pane. Then, when you specify the LabVIEW VI in TestStand, you assign that connector to the TestStand variable (i.e. Step.Result.PassFail). There is a shipping document called 'Using LabVIEW with TestStand' that goes into all of the details.
0 Kudos
Message 2 of 4
(3,556 Views)
Thanks for the tip. I know I had seen that information somewhere. The problem was because I converted the VI's from 5.x upto 8.5, so I didnt have the pass/fail flag on those old modules.
0 Kudos
Message 3 of 4
(3,553 Views)

Hi Aaron,

I had the same problem with LV 6i.
At first I am not a LV crack (LV is not my first choise), so maybe there are other better solutions. But i got it running !

1.) Copy your stuff to a new folder
2.) MassCompile the folder it to 8.5

For switching between SRC(source Vis) and LLB via TestStands search path i did the next steps
(only working if you are using relativ pathes)

3.) Create a LV project and add your vi's to it.
4.) Create under build a new "Quellcode paket"
5.) Fillout the properties
a. Add path to LLB
b. Add vis
c. Uncheck LLB and set to directory (so you can switch between SRC and LLB vis)
d. Exclusions see attachment (all used stuff is copied to your LLB folder)
e. Bulid it

6.) Add your Folder to TS search dirctory

Hint:
I have a chosen special folder structure, because LV version are increasing more than one time a year!
for SRC it looks like:
..\LabView\MainVersion\SubVersion\SRC\Projectname\
for SRC for 8.5 and Tools
..\LabView\VAR_8\ED_5_00\SRC\Tools\
for LLB
..\LabView\VAR_8\ED_5_00\LLB\Tools\

Activating LLB in TS - Station
..\LabView\VAR_8\ED_5_00\LLB  

If there a new versions i can easly increase my structure, too
And test my stuff on development machine while production maschines are running under old version
Just one switch in TS Searchfolder will change to higher version.

Hope this helps

Greetings

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(3,527 Views)