01-07-2015 03:30 PM
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
01-08-2015 11:58 AM
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
01-08-2015 01:06 PM
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
01-09-2015 09:36 AM
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