11-21-2011 05:52 AM
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
11-21-2011 06:28 AM
Hi,
could the following be your problem
11-21-2011 06:34 AM
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.
11-21-2011 08:23 AM
Is it trying to pickup a TestStand VI from a different location?
11-21-2011 09:02 AM
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
11-21-2011 10:42 AM
did you say that when you delete a lot of code, it started to work?
11-21-2011 04:07 PM
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
11-22-2011 02:12 AM
> 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
11-22-2011 02:13 AM
> 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.
11-22-2011 03:41 AM
>> 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".