04-13-2007 08:53 AM
I am working on proving the high level design of a test system interface with TestStand 3.5 versus LabVIEW 8.20 only. We want side by side parallel executions with resource sharing locking. I have demonstrated that TestStand will quickly provide all of the information we want on the screen except for the side by side display of two separate executions. I am hoping for some quick information to link the separate viewers to the separate executions and demonstrate the interface with simulated test
I have seen some posts on the subject, but they stop before I see the answer I am looking for.
I am working with the LabVIEW Full-Featured Operator Interface as the starting point. So far I have ExecutionView0 and ExecutionView1 for TestSocket0 and TestSocket1, respectively, and they are tied into the Callback and Resize SubVIs. I have two Configure ExecutionView Managers, one for each ExecutionView, based on information I have seen in posts. It looks great and the information is there if you switch between the two executions in the listbar but the side by side duplicates the active execution.
Does anyone have a fairly quick answer to implement and tryout this configuration?
04-13-2007 10:09 AM
Hi,
Have a look at the MultiUUT example in the TestStand\examples folder. This displays four seperate executions. The example may help.
Regards
Ray Farmer
04-13-2007 10:26 AM
04-13-2007 03:18 PM
To clarify what I am trying to do... I want to run the same test sequence on two UUTs in side by side fixtures, "A" and "B". Most of the test equipment is duplicated for each side but two pieces are not, so I am using TestStand Locks. I want to operator to be able to scan, load and start "A"; then scan, load and start "B" while "A" is running. I want the test flow and results for each side displayed side by side live. So, if "A" locks "B" you can see it and when one side is done you can see which test failed if the unit failed. The sequence uses the parallel model with two testsockets allowed. Testsocket[0] will always be side "A" and testsocket[1] will always be side "B".
The batch model example is not the direction I am heading.
04-16-2007 04:29 PM
Hello Again,
I am so close to what I am looking for! Under just the right startup and control click process, I can see the two my two parallel threads running side by side! In the reverse left and right orientation of course. So I am working to control the Exection to Execution View links. If I am following James Grey's leads correctly, I will have to register a user event to trigger an event for the ApplicationMgr.DisplayExecution. Once I have this I need to determine which execution to assign to my ExecutionView0 Manger and assign the other to my ExectuionView1 Manager. Is this by Execution.Id? I have been digging through the properties and display values during runs to try to see the linkages. But it not very revealing so far.
Have a good day,
Mark Loy
04-17-2007 06:12 AM
04-17-2007 09:42 AM
Sorry JPA,
I work in a LabVIEW only world these days. I have not looked at VB in years and have ignored C# altogether. I would assume that LabWindows/CVI (which I have not used in aobut 8 years) would have carryover to any C based realm. Others would know more.
Have a good day,
Mark Loy
04-17-2007 10:29 AM
04-17-2007 03:46 PM
04-19-2007 06:49 AM
James: However, you do not have to use these models to create parallel executions. In any sequence you also can drop a sequence call step and configure the subsequence it calls to run in a new thread or a new execution.
As I'm a newbie om TestStand, what's the differens between calling a thread and a execution?
I want to do parallel tests on some UUT's using a C# interface (similar look as Neptunes). The executions/threads must run independently.
What's the best way to proceed?