Error 11 When Loading .trg2 Data Plugin Created in LabVIEW DataPlugin SDK 2020

Updated May 23, 2024

Reported In

Software

  • LabVIEW DataPlugin SDK 2020
  • DIAdem

Issue Details

After installing the data plugin created with LabVIEW DataPlugin SDK 2020 and load the data with DIAdem 2020 SP1, an Error 11 based on below screenshot occurred and the data could not be read.

"PathToFile.tdms" file has an invalid format (Error no.11)

PIC1.png

How to solve Error 11 to ensure the .trg2 data plugin can be load? 

Solution

If you are using the LabVIEW sample program Spreadsheet DataPlugin one shot.lvproj provided by the LabVIEW DataPlugin SDK, apply or modify the code in Adapt this to your file format only.
Do not apply or modify Don’t change this.
The reason is that if you apply or modify Don’t change this, the correct Read_data of Define VI Prototype in Function Name will be changed, which will cause Error 11 in DIAdem.
Pic2.png