You cannot pass LabVIEW class references from LabVIEW code modules directly to TSM or from TSM to LabVIEW code modules. Use LabVIEW functional global variables instead of LabVIEW classes to share data between TSM and LabVIEW.