Hi Aaron,
I have seen similar error in the past when using multithreaded / parallel executions that do not properly implement locking and syncronization. However, since you are executing using a batch model, this should not be an issue.
Does the seqence that you are executing contain steps that use the C/CVI Standard Prototype Adapter? If so, this error could relate to how you have configured the C/CVI Standard Prototype Adapter from within TestStand. When you configure the C/CVI Standard Prototype Adapter to execute
steps in an external instance of CVI, the adapter launches a copy of
LabWindows/CVI and loads an execution server project. The default
execution server project is TestStand\AdapterSupport\CVI\tscvirun.prj.
If this project's target type is set to something other than
"Executable" (i.e. DLL or Static Library), you will get Error -17004
when the adapter tries to run the project.
To eliminate this error you may do one of the following:
- Set the target type of the project to executable. To do this you must:
- Launch LabWindows/CVI and load TestStand\AdapterSupport\CVI\tscvirun.prj.
- Configure the project to create a debuggable executable by selecting Build»Target Type»Executable and then Build»Configuration»Debug.
- Close LabWindows/CVI (optional).
- Configure the C/CVI Standard Prototype Adapter to execute steps In-Process. To do this you must:
- From within TestStand, select Configure»Adapters
- Under "Configurable Adapters" highlight the LabWindows/CVI Standard Prototype Adapter and click "Configure"
- In the window that appears, select the second bullet, "Execute Steps In-Process".
Note:
If you select "Execute Steps In-Process" (option 2) you will not be
able to debug your code modules from within the TestStand environment.