NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

error occurred calling 'GetXML' in PropertyObject of NI TestStand API 3.1

First - let me admit that I am very new to TestStand.
 
We are having a few problems with system level exceptions.  However, one pops up more frequently than others, and it is making debugging our sequences (and the other exceptions) rather difficult. 
 
When our entire sequence finishes running, and it comes time to generate the report, we (at least 30% of the time) get a system exception with the following information:
     An error occurred calling 'GetXML' in 'PropertyObject' of 'NI TestStand API 3.1'
     error code: -17500: Operation failed
 
I know that I did not create a step to do this, so it must be part of TestStand's built-in cleanup and report generation.  What I don't know is why this exception occurs.  I searched the NI support site for GetXML (among other things) but have not come up with anything substantial.
 
Thanks in advance for your help
Jason
 
0 Kudos
Message 1 of 10
(4,062 Views)

Jason

I have a couple of questions to help debug this issue.

1. Does the error with 'GetXML' occur with simple sequence files ie try the computer mother board examples which ships with TestStand

2. When you get the error with 'GetXML' do you approximately know how many steps have executed?

3. Are you using the default process model or a modified version ( specifically are there any changes with regards to report generation)?

Thank you

Anand Jain

National Instruments.

0 Kudos
Message 2 of 10
(4,053 Views)
Anand,
I have not tried (1) yet.  Since the project is high priority, I will try it if/when I have time.
 
(2) my sequence consists of about 15 sub-sequences, some of which have if and for loops, so it is hard to count.  I'd estimate about 200 steps
 
(3) I have not made any process model changes; I have only created customized step types
 
Thanks,
Jason
0 Kudos
Message 3 of 10
(4,041 Views)

Hi Jmurray,

 

I have the exact problem.  Did you solve it?  Do you know what was causing it.  I'm using TestStand 3.5 and don't know how I get this message with 3.1 in it.

 

Thanks

Rafi

0 Kudos
Message 4 of 10
(3,830 Views)

Hi Anand,

 

I have the exact problem. 

 

Is there an explanation why API 3.1 is indicated when I'm using the 3.5 version.  I might had a 3.1 version installed on this pc before I installed the 3.5 (not sure about it...).  In any case, there is no TestSTand 3.1 directory but just  \TestStand\

I don't get this error with other sequences but just with this one.j

 

Regards

Rafi

0 Kudos
Message 5 of 10
(3,828 Views)
Hi
Can you please post the sequence file which gives you the error.

Thank you
Anand Jain
National Instruments
0 Kudos
Message 6 of 10
(3,827 Views)
Hi,
 
Sorry, I don't see how to do it....non of the icons indicates file link and cut & paste doesn't work either.
 
I have found traces of testStand version=3.1 in the registry.  Do you suggest I'll delete them and see what happens?
 
Regards
Rafi
 
 
0 Kudos
Message 7 of 10
(3,817 Views)

Hi Anand,

I was able to solve the problem, and it was due to a wrong parameter sends to a CVI module.

I'm still confused as the connection to the step where the error shows up (Report callback) and why is the indication to TestStand 3.1

Any suggestions?

Do you think I should "clean" the register from any trace of TestStand 3.1?

Regards

Rafi

0 Kudos
Message 8 of 10
(3,804 Views)
Hi

It looks like the version number in the error string was not updated to the new version. I do not think anything you installer or in the registry is causing this issue.

But I am curious how does passing an incorrect parameter in your module cause an error in GetXML.
Will it be possible to post your sequence file or a simple example that shows the error.

Regards
Anand Jain
National Instruments
0 Kudos
Message 9 of 10
(3,802 Views)
The attached picture shows where to click to attach files to your posts.
0 Kudos
Message 10 of 10
(3,796 Views)