NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Building a Sequence Using API - (XML) not possible

Solved!
Go to solution

Hello,

 

I try to open the file <TestStand Public>\Examples\TestStand API\Building a Sequence Using API\TestStand Expressions\Building a Sequence Using API - XML.seq from the manual Building a Sequence Using API - TestStand Expressions (XML) - NI

 

Once I open this, there is an error massage saying "Found Analysis Errors". If I press Continue Execution, this Error message is shown (see picture attached): 

error_Message.PNG

 The files mentioned should be there but I didnt find a fix online. Is this a known issue / is there a workaround or a fix ? 


Best Regards 

NI_JW

0 Kudos
Message 1 of 13
(270 Views)

Well, the error message states, that there seems to be a problem with LabVIEW Code Modules, which looks suspicously like a version problem.

 

Which LabVIEW Version(s) are you using?

 

Have you tried to open those VIs with LabVIEW only as the error message recommends?

 

0 Kudos
Message 2 of 13
(265 Views)

I am using Labview 2021 and Teststand 2016.

I opened the VI already. There is also an unknown error. I will attach the picture.

 

I am wondering: these files are all examples from 2017, why should there be an issue ?

error_Message2.PNG

0 Kudos
Message 3 of 13
(259 Views)

The error you are seeing here i due to running the VI not in its intendend environment.

 

But this means, that the file itself is executable.

 

CAn you share a screenshot of the LabVIEW Adapter Settings in TestStand?

0 Kudos
Message 4 of 13
(228 Views)

I attached a picture of the Labview Adapter Configuration.

error_Message3.PNG

EDIT: after changing the Labview Development Version from 2017 to 2021, the same error occur. 

0 Kudos
Message 5 of 13
(218 Views)

Let's try something else....

 

please open the example .seq file.

 

Select the Read Sequence Data from XML File step and go to step settings.

Please try to open the VI from the Step Settings Pane (Edit VI button) and check if the VI is broken 

0 Kudos
Message 6 of 13
(195 Views)

There seems to be an issue there. Also, in Teststand there are three red lines.

I will attach both images.

error message5.PNG

error_Message4.PNG

  

Download All
0 Kudos
Message 7 of 13
(179 Views)

 

OK, so there has been some kind of modification on the VI, hence the error message in LabVIEW.

It seems, this modification has caused TestStand to think, that the connector pane has changed, hence you have these red lines.

 

Those are easy to get rid off, but first you have to fix the error in the VI

 

Since the error messages complain about Cluster Operations, I guess this is the relevant part and what it should look like

 

Oli_Wachno_0-1737995544284.png

Maybe start checking those typedefs...

0 Kudos
Message 8 of 13
(160 Views)

I just checked - you are correct! Mine pane looks different. 

error_Message6.PNG

 

I didnt change these files (not that I know of) -> Is the original VI available somewhere ? 

 

0 Kudos
Message 9 of 13
(142 Views)

Repairing the TestStand installation might help... there might also be other stuff messed up

 

Guess your computer is rather not freshly installed, is it? Is there anything mission critical on your PC?

 

0 Kudos
Message 10 of 13
(135 Views)