10-21-2005 06:15 PM
The ExecutingCodeModulesInParallel example that came with Teststand 3.0 almost does exactly what I want. The example uses steps that run CVI. I am trying to create a LabVIEW equivalent of this example. Basically, I want a LabVIEW Display panel 1 to write to FileGlobals.Counter1 and a LabVIEW Display panel 2 to read from it during parallel execution.
Right now, I can’t seem to get the information to pass between the two displays.
Once I figure out how do this, I believe I will be able to apply it my specific task.
I’m a newbie when it comes to Teststand and LabVIEW. Any help would be greatly appreciated
10-22-2005 04:30 AM
Hi,
Can you post your example with your two vi's
Regards
Ray Farmer
10-24-2005 09:40 AM
Here is the code. Any help would be appreciated.
10-24-2005 10:05 AM
Hi,
The problems is your VI loops dont actual set the FileGlobals.Finish1 boolean and Counter1 until the stop buttons are press by which time you probably have missed them and like wise your other VI only reads the TestStand variables when the VI is launched.
You need to call the PropertyObject.SetValBoolean method either by using the appropiate VI from the Teststand palette or via the Invoke node. In the other VI you will have to call the PropertyObject.GetValBoolean method and GetValNumber method. This also means you will need to pass the SequenceContext to both VI's.
Have a look at the original example again and you will spot the relavant calls in the two C functions.
I will post you your modified VIs later today.
Hope this helps
Regards
Ray Farmer
10-24-2005 10:46 AM
I was just going to say the same thing. Thanks a lot Ray.
10-24-2005 10:54 AM
Hi Sam,
No problem.
regards
Ray Farmer
10-24-2005 12:54 PM
10-24-2005 12:56 PM