04-06-2006 05:50 AM
04-06-2006 07:16 AM
Hi,
You are right in that its not a problem with the NI VI's and what should have been reported is the actual VI the NI VI's had a problem with, maybe this will get sorted out in a much later release of TestStand.
What, is usually the problem, is the version of the NI VI's and the version of your VI's are different and performing a mass compiling of all VI's and LLB to the version of the LabVIEW you are using generally does the trick. Don't forget to include the TestStand folders.
Hope this helps
Ray Farmer
04-06-2006 07:51 AM
04-11-2006 04:27 AM
Finally resolved the Build errors using the following 3 methods:
1. Mass compiled all VI's created as part of the project.
This highlighted problems by reporting some files as "Failed to save...." after
mass compiling.
Opening and saving the unsaved mass compiled files in Labview prevented
these errors.
This still did not clear all the Build error messages, however the next error message
relating to a 3rd party VI was easier to understand, and was cleared by correcting
the VI code.
Next Build attempt caused an Error Code 8 (File permission error) occurred - resolved
by removing Read Only directory/file attributes on project files.
Next Build attempt caused an Error Code 7 (File not found, path may be incorrect).
2. Checked Teststand paths.
Used the View\Paths option in the Sequence Editor to check any and all paths within
the project.
This showed up some errors, relating to code still called by sequence steps
but removed from project.
Corrected all references to missing code by editing erroneous sequence steps.
Performed Build process again - but still Error Code 7, followed by a long string
of references to Labview VI's which appear to be part of the Teststand system.
3. Created a simple project.
Rather than try Build the original project with all it's needs, a single sequence
containg a single step was added to a new workspace file.
By starting off with the simplest of Build processes, which included only the
simple workspace file but no \User files or Teststand Engine:
- there was a successful Build which provided an installer.
Next, selected to Install Test Engine and the Simple\Labview Operator Interface:
- this also proved to be a successful Build.
Next, selected to load \User files:
- this caused the Error Code 7 when another Build was performed.
The Build status log reported many references to associated VI's which could not be
opened in the \User directory.
All the files were related to the Teststand 2.0.1 Operator Interface (Old).
A check of the \Operator Interfaces\User directory showed that the
Operator Interfaces\NI directory had been copied, entirely, into the User area,
with the above files included.
This being normal practice while developing code based on original NI source.
Removing the copied ...\Operator Interfaces\User\NI\.. directory allowed a successful build.
I believe I am correct in saying that selecting the option to include
the \User code as part of the Build process, caused some incompatible
VI's (Teststand 2.0.1 Operator Interface (Old)) to be processed,
hence the Error Code 7.
In future I'll pay more attention to the \User areas.
regards,
Gary.
04-11-2006 05:55 AM