The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 file import

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
OndrejMM Posted - 09/14/2008 : 9:16:03 PM
Hi Guys,

can you please try to import the following file?:

----
****************************************************************************
magnesium
******************************************************************************
0.00000 0.000 0.000 0.000 0.000 0.000
0.00000
0.00001 0.000 0.000 0.000 0.000 0.000
0.00000
0.00002 0.000 0.000 0.000 0.000 0.000
0.00000
0.00003 0.000 0.000 0.000 0.000 0.000
0.00000
0.00004 0.000 0.000 0.000 0.000 0.000
0.00000
0.00005 0.000 0.000 0.000 0.000 0.000
0.00000
0.00005 0.000 0.000 0.000 0.000 0.000
0.00000
0.00006 0.000 0.000 0.000 0.000 0.000
0.00000
0.00007 0.000 0.000 0.000 0.000 0.000
0.00000
0.00008 0.000 0.000 0.000 0.000 0.000
0.00000
0.00009 0.000 0.000 0.000 0.000 0.000
0.00000
0.00010 0.000 0.000 0.000 0.000 0.000
0.00000
0.00011 0.000 0.000 0.000 0.000 0.000
0.00000
0.00012 0.000 0.000 0.000 0.000 0.000
0.00000
0.00013 0.000 0.000 0.000 0.000 0.000
0.00000
0.00014 0.000 0.000 0.000 0.000 0.000
0.00000
0.00015 0.000 0.000 0.000 0.000 0.000
0.00000
0.00015 0.000 0.000 0.000 0.000 0.000
0.00000
0.00016 0.000 0.000 0.000 0.000 0.000
0.00000
0.00017 0.000 0.000 0.000 0.000 0.000
0.00000
0.00018 0.000 0.000 0.000 0.000 0.000
0.00000
0.00019 0.000 0.000 0.000 0.000 0.000
0.00000
0.00020 0.000 0.000 0.000 0.000 0.000
0.00000
0.00021 0.000 0.000 0.000 0.000 0.000
0.00000
0.00022 0.000 0.000 0.000 0.000 0.000
0.00000
0.00000 0.000 0.000 0.000 0.000 0.000
0.00000
0.00040 0.000 0.000 0.000 0.000 0.000
0.00000
0.00080 0.000 0.000 0.000 0.000 0.000
0.00000
0.00120 0.000 1.000 0.000 0.000 0.000
0.00140
0.00160 0.000 1.000 0.000 0.000 0.000
0.08682
0.00200 0.000 1.000 0.000 0.000 0.000
0.24921
0.00240 0.000 1.000 0.000 0.000 0.000
0.26246
0.00280 0.000 1.000 0.000 0.000 0.000
0.48578
0.00320 0.000 1.000 0.000 0.000 0.000
0.77569
0.00360 0.000 1.000 0.000 0.000 0.000
0.77582
0.00400 0.000 0.485 0.515 0.000 0.000
0.98710
0.00440 0.042 0.225 0.733 0.000 0.000
1.52457
0.00480 0.339 0.195 0.465 0.000 0.000
1.94646
0.00520 0.307 0.175 0.443 0.000 0.075
1.99546
0.00560 0.297 0.167 0.379 0.085 0.071
1.99571
0.00600 0.293 0.160 0.373 0.103 0.071
1.99573
0.00640 0.289 0.159 0.362 0.120 0.070
1.99573
0.00680 0.281 0.121 0.363 0.117 0.118
2.22497
0.00720 0.284 0.121 0.366 0.114 0.115
2.22996
0.00760 0.286 0.121 0.366 0.113 0.114
2.22997
0.00800 0.274 0.115 0.369 0.130 0.111
2.33780
0.00840 0.271 0.109 0.400 0.126 0.093
2.61637
0.00880 0.273 0.110 0.417 0.118 0.082
2.67075
0.00920 0.276 0.111 0.420 0.114 0.080
2.67076
0.00960 0.278 0.109 0.428 0.108 0.077
2.69360
0.01000 0.280 0.108 0.433 0.104 0.075
2.71608
0.01040 0.316 0.115 0.395 0.100 0.073
2.77282
0.01080 0.350 0.122 0.361 0.096 0.071
2.78278
0.01120 0.354 0.124 0.364 0.090 0.068
2.82655
0.01160 0.366 0.127 0.356 0.085 0.065
2.85181
0.01200 0.390 0.133 0.328 0.087 0.062
2.92975
0.01240 0.398 0.135 0.327 0.082 0.059
2.93082
0.01280 0.403 0.138 0.342 0.063 0.053
2.99483
0.01320 0.411 0.141 0.343 0.056 0.049
2.99489
0.01360 0.441 0.150 0.327 0.041 0.041
2.96221
0.01400 0.447 0.151 0.331 0.034 0.037
2.75221
0.01440 0.450 0.150 0.332 0.031 0.036
2.76586
0.01480 0.435 0.147 0.326 0.048 0.044
3.07480
0.01520 0.428 0.143 0.317 0.062 0.050
3.11911
0.01560 0.444 0.150 0.330 0.037 0.039
2.98764
0.01600 0.461 0.153 0.331 0.022 0.033
2.78966
0.01640 0.459 0.153 0.335 0.021 0.030
2.84111
0.01680 0.439 0.151 0.344 0.036 0.031
2.97028
0.01720 0.433 0.149 0.338 0.044 0.035
3.15794
0.01760 0.439 0.151 0.340 0.038 0.032
3.02302
0.01800 0.450 0.154 0.362 0.018 0.016
3.00914
0.01840 0.454 0.155 0.360 0.015 0.015
3.10735
0.01880 0.456 0.156 0.359 0.014 0.015
3.12110
0.01920 0.468 0.158 0.357 0.007 0.010
2.90657
0.01960 0.477 0.160 0.354 0.004 0.005
2.74615
0.02000 0.468 0.160 0.355 0.007 0.010
2.87742
0.02040 0.445 0.156 0.353 0.026 0.020
3.12416
0.02080 0.441 0.155 0.352 0.030 0.022
3.12414
0.02120 0.458 0.158 0.354 0.015 0.015
3.12426
0.02160 0.471 0.160 0.352 0.007 0.010
2.82391
0.02200 0.436 0.155 0.348 0.036 0.024
3.12451
0.02240 0.466 0.158 0.339 0.020 0.017
3.07263
0.02280 0.495 0.160 0.326 0.008 0.011
2.83903
0.02320 0.508 0.160 0.315 0.007 0.009
2.70555
0.02360 0.490 0.159 0.316 0.019 0.016
2.89107
0.02400 0.466 0.154 0.313 0.040 0.027
3.06357
0.02440 0.463 0.153 0.312 0.043 0.030
3.08876
0.02480 0.476 0.156 0.313 0.033 0.022
2.97725
0.02520 0.489 0.159 0.312 0.022 0.018
2.97724
0.02560 0.488 0.159 0.311 0.024 0.018
2.97725
0.02600 0.487 0.159 0.311 0.025 0.019
2.97723
0.02640 0.486 0.159 0.310 0.026 0.019
2.97722
0.02680 0.485 0.159 0.310 0.026 0.019
2.97723
0.02720 0.485 0.159 0.309 0.027 0.020
2.97723
0.02760 0.484 0.159 0.309 0.028 0.020
2.97724
0.02800 0.485 0.160 0.307 0.028 0.020
2.97957
0.02840 0.494 0.163 0.294 0.029 0.020
2.99772
0.02880 0.496 0.163 0.292 0.029 0.020
2.98807
0.02920 0.497 0.164 0.291 0.026 0.022
2.97725
0.02960 0.498 0.164 0.290 0.025 0.024
2.97725
0.03000 0.496 0.164 0.290 0.023 0.027
2.97986
0.03040 0.498 0.165 0.286 0.024 0.027
3.00567
0.03080 0.506 0.167 0.275 0.024 0.028
3.00624
0.03120 0.510 0.168 0.272 0.023 0.027
2.99511
0.03160 0.512 0.169 0.271 0.022 0.026
2.99255
0.03200 0.512 0.169 0.271 0.022 0.026
2.97854
0.03240 0.512 0.169 0.270 0.022 0.026
2.96959
0.03280 0.510 0.169 0.270 0.023 0.027
2.95544
0.03320 0.507 0.169 0.270 0.025 0.028
2.96770
0.03360 0.504 0.168 0.271 0.028 0.030
3.00069
0.03400 0.503 0.168 0.270 0.029 0.030
3.00624
0.03440 0.505 0.169 0.269 0.027 0.030
3.00071
0.03480 0.508 0.169 0.268 0.026 0.029
2.99745
0.03520 0.509 0.170 0.267 0.025 0.028
2.97745
0.03560 0.509 0.170 0.267 0.025 0.028
2.95743
0.03600 0.507 0.170 0.267 0.027 0.029
2.94759
0.03640 0.503 0.169 0.268 0.029 0.031
2.96632
0.03680 0.499 0.168 0.267 0.032 0.033
3.02757
0.03720 0.498 0.168 0.267 0.033 0.034
3.02458
0.03760 0.515 0.169 0.253 0.030 0.033
3.04208
0.03800 0.533 0.172 0.230 0.027 0.038
2.98618
0.03840 0.535 0.173 0.237 0.019 0.035
3.02479
0.03880 0.533 0.173 0.236 0.021 0.037
3.04998
0.03920 0.543 0.174 0.227 0.020 0.036
3.07769
0.03960 0.566 0.179 0.204 0.018 0.033
3.07227
0.23261 0.000 0.000 0.000 0.000 0.000
0.00000
0.22331 0.000 0.000 0.000 0.000 0.000
0.00000
0.21400 0.000 0.000 0.000 0.000 0.000
0.00000
0.20470 0.000 0.000 0.000 0.000 0.000
0.00000
0.19539 0.000 0.000 0.000 0.000 0.000
0.00000
0.18609 0.000 0.000 0.000 0.000 0.000
0.00000
0.17679 0.000 0.000 0.000 0.000 0.000
0.00000
0.16748 0.000 0.000 0.000 0.000 0.000
0.00000
0.15818 0.000 0.000 0.000 0.000 0.000
0.00000
0.14887 0.000 0.000 0.000 0.000 0.000
0.00000
0.13957 0.000 0.000 0.000 0.000 0.000
0.00000
0.13026 0.000 0.000 0.000 0.000 0.000
0.00000
0.12096 0.000 0.000 0.000 0.000 0.000
0.00000
0.11165 0.000 0.000 0.000 0.000 0.000
0.00000
0.10235 0.000 0.000 0.000 0.000 0.000
0.00000
0.09305 0.000 0.000 0.000 0.000 0.000
0.00000
0.08374 0.000 1.000 0.000 0.000 0.000
0.00042
0.07444 0.000 1.000 0.000 0.000 0.000
0.00140
0.06513 0.000 1.000 0.000 0.000 0.000
0.00173
0.05583 0.000 1.000 0.000 0.000 0.000
0.02074
0.04652 0.000 1.000 0.000 0.000 0.000
0.02886
0.03722 0.000 1.000 0.000 0.000 0.000
0.07857
0.02791 0.000 1.000 0.000 0.000 0.000
0.08682
0.01861 0.000 1.000 0.000 0.000 0.000
0.22988
0.00930 0.000 1.000 0.000 0.000 0.000
0.27514

---
the problem is that the 7th column is always in the next row as follows:

Col1 Col2 Col3 Col4 Col5 Col6
Col7
Col1 Col2 Col3 Col4 Col5 Col6
Col7

---
I was already recommended that I can handle this by post-import processing, but the problem is that Origin doesn't want to import this file at all,... I'm getting the Attention messages that "file.txt doe not seem to consist of columns of ASCII data",... and that is pretty much the end of the story I cannot import it,...

hope you can help me with this,…
thanks
ondrej


1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 09/18/2008 : 03:44:03 AM
Hi, ondrej

It is because ASCIMP structure can not be setup if data is organized in this way. But if you manually make up first 4 rows of data such as following


0.00000 0.000 0.000 0.000 0.000 0.000 0.00000
0.00001 0.000 0.000 0.000 0.000 0.000 0.00000
0.00002 0.000 0.000 0.000 0.000 0.000 0.00000
0.00003 0.000 0.000 0.000 0.000 0.000 0.00000
0.00004 0.000 0.000 0.000 0.000 0.000
0.00000
0.00005 0.000 0.000 0.000 0.000 0.000
0.00000
0.00005 0.000 0.000 0.000 0.000 0.000
0.00000
0.00006 0.000 0.000 0.000 0.000 0.000
0.00000
...

Then all the file can be imported.

Hope this workaround helps

Echo
OriginLab Corp

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000