DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Keyword "TDMS" is not in the list

I am getting the error: Keyword "TDMS" is not in the list when attempting to use the DataFileLoadRed command in DIAdem.  does this command not supprt the TDMS loader?

 

Any thoughts?

 

Thanks,

Ben

0 Kudos
Message 1 of 4
(4,852 Views)

Hi Ben,

 

It is supported.  Would you please submit the line of code that is throwing the error?

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 4
(4,822 Views)

Brad,

 

Thank you for your response. Hopefully I am missing something obvious not implementing it correctly.

 

The code:

 

If FileDlgShow(DataReadPath,"TDMS", "Select the data file(s) to analyze",1) = "IDOk" Then
  For i = 0 to UBound(FileDlgNameList)
    Call DataFileLoadRed(FileDlgNameList(i),"TDMS","Interval Count",100,1)

...

 

The files in FileDlgNameList are tdms files.  Perhaps the error is referring to the name list?

 

Thanks,

Ben

0 Kudos
Message 3 of 4
(4,817 Views)

Hi Ben,

 

You're missing the 3rd parameter "ImportSelection".  Just add another comma or specify the group/channel subset you want to load.

 

Call DataFileLoadRed(FilePath, "TDMS", "[1]/Temp_A", "IntervalWidth", 1, eInterFirstValue , SectionBegin, SectionEnd)

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 4
(4,798 Views)