This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error 538179 Object Invalidated Method Called on Interface Class in TestStand

Updated May 15, 2023

Reported In

Software

  • TestStand

Issue Details

I am calling two VIs in TestStand and pass reference data from one to the other. I receive 
Error 538179 occurred at Transmission Data Unit.lvclass:Write ADU Packet.vi:1 
Possible reason(s): 
The object used has been invalidated. A method was called on an interface class. 


I am able to call these two VIs in succession outside of TestStand in LabVIEW and pass the reference from one to the other using wires without issue.

Solution

The likely cause of this error is due to how the VI is being called in TestStand and how the LabVIEW class reference is being stored in TestStand:

Additional Information

Look at the TestStand Using LabVIEW OOP Truck Example for a guide on how to pass LabVIEW Class References in a TestStand sequence.