NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview-Actions are not running with teststand-operatorinterface

Hallo,

i have a working testplan that uses labview-teststeps.

In there are also some "action"-teststeps which have only one input "Sequence Context = This Context" and one output "Error out".

Inside of the labview-vi i am setting some StationGlobals to a numeric value, thats why i need the SequenceContext.

In Teststand the labview-adapter is set to "runtime engine". All Vis are mass-compiled.

 

When i execute the actions direclty in teststand then they execute normal.

But when i now open the Teststand-Userinterface in the Startmenue "Teststand -> UserInterfaces->Labview->Operator Mode" and select my sequence then all steps are executing but at the actions i get the attached error-popup.

Are the StationGlobals not available in the UserInterface?

 

What can i do here?

 

Thanks for help

0 Kudos
Message 1 of 14
(4,132 Views)

Hi,

 

could the following be your problem

 

http://forums.ni.com/t5/NI-TestStand/Error-18004-An-error-occurred-accessing-the-LabVIEW-Run-Time/m-...

 

 

Regards
Ray Farmer
Message 2 of 14
(4,125 Views)

Tanks for the idea but i think it is an other problem.

Here i am using LV 8.6 and Teststand 4.2.1.

The Sequence is nothing with reentrant or parallel-execution. The vi is directly in the main-sequence and a normal action.

When i delete all code inside this action then its running.

So the problem is somehow the VI "Teststand - Set property Value (numeric)" where Teststand means it is broken.

0 Kudos
Message 3 of 14
(4,123 Views)

Is it trying to pickup a TestStand VI from a different location?

Regards
Ray Farmer
Message 4 of 14
(4,122 Views)

Hm, are there to places to define the search-pathes? I think pathes are correct as it is executing when i switch to development and execute in UserInterface.

 

 

Current state is:

1. labview-adapter set to Runtime:

- Running in TestStand

- Not running in UserInterface

 

2. Adapter set to Development:

- Running in TestStand

- Running in UserInterface

 

Problem only when adapter is runtime AND executing in UserInterface

0 Kudos
Message 5 of 14
(4,121 Views)

did you say that when you delete a lot of code, it started to work?

Regards
Ray Farmer
Message 6 of 14
(4,115 Views)

Hi OnlyOne,

 

This behavior can Occur if the OI is not compiled in the same version of LabVIEW as your code module VI.  Try opening the source for the simple OI in LabVIEW 8.6 and rebuilding the EXE, and see if the error still occurs

Al B.
Staff Software Engineer - TestStand
CTA/CLD
Message 7 of 14
(4,101 Views)

> did you say that when you delete a lot of code, it started to work?

 

Yes, when i remove all code excpet the controls/indicators (which is only SequenceContext (In), and ErrorOut (out) then it works.

So the problem must be at the "SetProperty-vi that sets a valie in the StationGlobals This can be found in the vi.lib\addons

 

0 Kudos
Message 8 of 14
(4,092 Views)

> This behavior can Occur if the OI is not compiled in the same version of LabVIEW as your code module VI.

 

I am not using the simple-opui from labview. The opui is part of the Teststand-installation.

0 Kudos
Message 9 of 14
(4,091 Views)

>> This behavior can Occur if the OI is not compiled in the same version of LabVIEW as your code module VI.

> I am not using the simple-opui from labview. The opui is part of the Teststand-installation.

 

 

Ok, now i know what you meant.

First i mass-compiled all VIs in "C:\Documents and Settings\All Users\Documents\National Instruments"

Then i loaded the project in C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\UserInterfaces\Simple\LabVIEW\Build Script.lvproj to create a new TestExec.exe.

 

==> But i still have the same error/problem.

 

Is the Runtime 8.6.1 compatible to my Labview-Verion 8.6.0 ? Can there be a problem?

I tried to install additional Runtime 8.6.0 but this was not possible because "higher version already installed".

 

0 Kudos
Message 10 of 14
(4,089 Views)