LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit test errror on RT target: VI under test is not broken!

Hello,

 

I'm using the Unit Test Framework (LabVIEW 2012 no SP) on an RT target (cRIO 9074).

 

All items are on RT target (lvtest, setup VI, teardown VI, VI under test).

 

When I run the test, UTF returns with an error saying that the VI under test is broken. But it's not!

 

It seems to be a random behaviour. The test works sometimes. Sometimes the "broken" VI is the setup or teardown, but they're all not broken.

 

Any idea?

 

Thanks,

 

Peter

0 Kudos
Message 1 of 5
(2,340 Views)

Is there any code in the targeted VI that uses conditional disable structures to turn off or change code based on the OS or platform its running on? I don't use the UTF, but have seen this cause similar problems.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,325 Views)

What error message do you see when you click on the broken arrow of the VI?

could you attached the Screenshot ?

0 Kudos
Message 3 of 5
(2,285 Views)

What error message do you see when you click on the broken arrow of the VI?

could you attached the Screenshot ?

0 Kudos
Message 4 of 5
(2,283 Views)

@ Mike: no platform specific code, no conditional disable structure.

 

@ ifnotdefine, itwilfried: again, the VI is not broken. UTF claims it's broken.

0 Kudos
Message 5 of 5
(2,256 Views)