04-05-2006 09:12 AM
Here is an explanation of my problem:
I am running TestStand 3.0, CVI 7.0.
I have created a TestStand sequence (call it TestUut) that performs functional testing on a UUT. TestUut is called from the MainSequence and has been completely debugged. All saved data is either local or globally thread-safe.
It is desireable to test multiple UUTs simultaneously. In order to accomplish this, we have added multiple sequence calls to TestUut in the MainSequence. Each call to TestUut uses a new thread for the execution.
I am having two problems (in priority order):
1) When multiple threads are used (e.g. 6), then not all threads are executed. The threads that execute, PASS the tests, but the threads that do not execute create an invisible TestStand error, which causes the overall test to FAIL.
2) If a thread is terminated before reaching the end, then TestStand does not save the test data generated up to the termination point (it does not appear in the Report). This is totally different from TestStand behaviour when only the main thread is running.
04-05-2006 11:44 AM
Hi Hurst,
In the menu, select "Configure" & "Station Options". Click on the "Model" tab.
What station Model are you using? Batch or Parallel?
JLV
04-06-2006 08:01 AM - edited 04-06-2006 08:01 AM
Message Edited by Tyler T. on 04-06-2006 08:02 AM
04-10-2006 07:17 AM
I am using the Sequential Model, and the problem was that the Wait(s) at the end of the multi-threaded were not always being executed. As NI explained it to me, the wait is where the thread report gets added to the main report.
Thanks, Hurst C.