03-22-2011 08:42 AM
Hi,
I'm trying to deploy a teststand based testsystem using the deployment utility.The deployment utility throws the following warning:
---------------------------------------
Warning: Cannot update VI
Path:
Step 'Close TestRack', sequence 'MeasureFixtureID', sequence
file 'C:\TS Deployment based on HCCP
WS\Image\TSPubDocs\Components\Callbacks\FrontEnd\FrontEndCallbacks.seq'
Step
'Measure Fixture ID', sequence 'MeasureFixtureID', sequence file 'C:\TS
Deployment based on HCCP
WS\Image\TSPubDocs\Components\Callbacks\FrontEnd\FrontEndCallbacks.seq'
Step
'Initialise TestRack', sequence 'MeasureFixtureID', sequence file
'C:\TS Deployment based on HCCP
WS\Image\TSPubDocs\Components\Callbacks\FrontEnd\FrontEndCallbacks.seq'
Step
'IdentifyUUT SerialNumber', sequence 'PreUUT', sequence file 'C:\TS
Deployment based on HCCP
WS\Image\TSPubDocs\Components\Callbacks\Station\StationCallbacks.seq'
+++++++++++++++++++++++++++++++++++++++
I've added a sub-sequence in the FrontEndCallbacks.seq which I call from the operator interface. This sub-sequence uses some labVIEW vi's who are found in a LabVIEW project. These same vi's are used inside other test sequences who are distributed without any problem. I also replaced the standard PreUUT subsequence inside StationCallbacks.seq with a version made in LabVIEW .
If I compare the FrontEndCallbacks.seq with the succcesfull deployed test-sequences I see that the vi-path -links are not replaced with the version of the deployed path (where the vi's are inside a packed library).
For some reason it's not possible for the deployment utility to replace the links inside FrontEndCallbacks.seq and StationCallbacks.seq ?
Thanks,
Roger
03-22-2011 04:03 PM
Roger -
Are there any other Warnings prior to these? For example, do you receive this Warning as well:
Warning: There is no relative path between the following files. You may need to add a path to your search directories.
I'm trying to reproduce the exact behavior you are seeing.
03-23-2011 07:19 AM - edited 03-23-2011 07:20 AM
Hi Manooch,
Thanks for the reply.
Indeed there are the following warnings:
Warning: There is no relative path between the following files. You may need to add a path to your search directories.
03-23-2011 10:08 AM
I have placed VIs in my FrontEndCallback.seq and it does not have any problems relinking to the VIs after the deployment, using TestStand 4.2 and LV 2010 The location of my VIs are in the <TestStand Public> directory after the deployment so that may make a difference.
Perhaps there is some issue with Packed Project Libraries and TestStand.
Thanks,
PH
03-23-2011 06:02 PM
Roger -
I have reproduced warnings similar to yours and informed R&D of this issue. I will post back to this forum once I have more information. Thank you for bringing this to our attention.
03-24-2011 04:15 AM
PH, Manooch,
Thanks for the replies. I'm curious to the cause and sollution.
Roger
04-05-2011 07:54 PM
Roger -
After looking into this further, the reason that you are seeing this behavior is because the FrontEndCallbacks.seq and StationCallbacks.seq reside in a different base directory than the VIs that they call. Thus the Deployment Utility is unable to resolve a relative path from the sequence file to the VI. We are investigating ways to improve the behavior in these types of situations in the future.
For the time being, you can use your above mentioned workaround or you can add a TestStand Search Directory that provides a base directory for the called VIs, then use a relative path from that directory when calling VIs in your sequence files. When you deploy, you would ensure that the same search directory exists on the target machine such that TestStand can resolve the relative path when calling these VIs.