NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

type does not have parent, error -17001

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

0 Kudos
Message 1 of 7
(3,718 Views)

Hi Peter!

Is it possible for you to attach the sequence so we can have a look at it?

Regards,

 Georg

0 Kudos
Message 2 of 7
(3,699 Views)

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?

0 Kudos
Message 3 of 7
(3,687 Views)

Yes of course. Here it is.

 

Thanks

Peter

0 Kudos
Message 4 of 7
(3,683 Views)

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

0 Kudos
Message 5 of 7
(3,652 Views)

That KB is a completely different error message and I don't think it applies to this case.

0 Kudos
Message 6 of 7
(3,648 Views)

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

 

0 Kudos
Message 7 of 7
(3,639 Views)