07-19-2011 04:22 AM
Hello,
I made a sequence containing a lot of variables, containers etc. in its FileGlobals which are often needed as StationGlobals in our systems. Thus, someone missing a particular StationGlobal can load this sequence and copy it out of its FileGlobals.
I tried to load the sequence on a newly installed machine and got an error -17001 from TSAPI. stating "Type does not have parent!"
Where can this come from?
Regards
Peter
07-20-2011 09:08 AM
Hi Peter!
Is it possible for you to attach the sequence so we can have a look at it?
Regards,
Georg
07-20-2011 03:24 PM - edited 07-20-2011 03:27 PM
My initial thought was that you have a custom property type which isn't saved in that sequence file (instead in e.g., MyTypes.ini) but it looks like TestStand forces sequence files to include custom types that they use (as they should). Do you have other custom components that could be responsible?
07-20-2011 06:18 PM
Yes of course. Here it is.
Thanks
Peter
07-22-2011 09:40 AM
Peter,
I could open your file in Teststand 4.2.1.83 on a Windows 7 machine
without any error messages.
I found this knowledgebase
Receiving Error -17001 When Running TestStand Sequences
http://digital.ni.com/public.nsf/allkb/8ECEC93FD1B7348F86256BB900733494?OpenDocument
which indicates that the error might be related to a corrupt LabWindows CVI installation.
I suggest you try to repair LabWindows CVI and then try to open sequence again.
Regards,
Georg
07-22-2011 10:56 AM
That KB is a completely different error message and I don't think it applies to this case.
07-22-2011 02:37 PM
Would have been surprising anyway, as I am not using LabWindows/CVI at all.
Anyway, apparently there were some type conflicts before that confused TestStand somehow. Today, after a complete switch-off and restart cycle of the machine, the sequence was loadable.
Sorry to have bothered the forum with a self-healing problem. Things were somewhat hectic ...
Regards
Peter