Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3197

Load/Sort files like Windows - by name (there's a little difference)

$
0
0

If I try to load data via Code, i don't get the same sorting Result as in Windows (7 64bit).

The Data looks like:

18.01.2017_1.tdms

18.01.2017_2.tdms

...

18.01.2017_10.tdms

18.01.2017_11.tdms

 

and in DIAdem the Data is sorted like:

18.01.2017_1.tdms

18.01.2017_10.tdms

18.01.2017_11.tdms

...

18.01.2017_2.tdms

 

Here's the code:

 

  fileList =  DirListGet(Pfad_Daten_ + "Measfiles","*.tdms","filename","FullFilenames")
  If IsArray(fileList) Then
    For iCount = Lbound(fileList) to Ubound(fileList)
      Call DataFileLoad(fileList(iCount),"TDMS","Load")  'File laden
    Next
  End If

 

Also i don't know why the dot is also in the Packagename after import (ex: "18.01.2017_11." from file "18.01.2017_11.tdms")

 

Thanks for help


Viewing all articles
Browse latest Browse all 3197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>