DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Import data from txt-file with reading column names

Solved!
Go to solution

Hello,

 

after changing the the export of my simulation programm I can't use the solution postet here, wich works well. (I branded the post as soluted thats why I start a ne post)

 

Can anybode please tell me how to adept the code to import the new type of txt file. Here the name of the columns are in the first line aof the columns, like this (with ignoring the first lines).

 

"TIME      "    "Sitzbasis_X"    "Sitzbasis_Y"    "Sitzbasis_Z"    "Achsklammer_Z"    "Antriebsachse_Z"    "Gegengewicht_Z"    "Lenkachse_Z"
0.000000e+000    -5.472285e+003    -1.886681e+002    1.812099e+004    4.539113e+004    -1.252936e+005    -1.499764e+004    -9.806650e+003
1.000000e-003    -1.722846e+003    -1.141275e+002    8.4434
19e+003    2.475389e+004    -7.533712e+004    -1.138092e+004    -9.624729e+003
2.000000e-003    -3.964053e+002    -7.694600e+001    3.186345e+003    1.399086e+004    -5.653730e+004    -9.956198e+003    -9.311346e+003

 

 

I added an example file

 

Thanks for Help

 

Gabriel

0 Kudos
Message 1 of 3
(3,735 Views)
Solution
Accepted by topic author fischerg

Hello Gabriel

 

You can use the DataPlugin Wizard (Navigator>>File>>DataPlugin Wizard) to define a new file import filter for your data. It will take only one minute.

 Please found the uri file I create for you. Copy the attached file to your disk, unpack it and double click the uri file.

Then you can open your file by using "open with".

 

Hope this help

Message 2 of 3
(3,732 Views)

Hello,

 

thanks for your very quick answer. I can't open install your uri-file because of your version seems to be newer. But I tried the Data Plugin Wizard by myself and it works. I didn't knew this function, seems to be new in Version 11 - but it's an great idea.

 

Thanks

Gabriel

0 Kudos
Message 3 of 3
(3,729 Views)