Error 538179 Object Invalidated Method Called on Interface Class in TestStand

Updated May 15, 2023

Reported In


  • 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 
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.


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.