T O P I C R E V I E W |
Markus |
Posted - 06/19/2001 : 10:11:24 AM aarnts posted 07/27/2000: does anyone know how to import a jcamp datafile (*.dx) There was no response but I also think somebody should have solved the problem since *.dx is often used for spectrometer data. Thanks for any input Markus |
14 L A T E S T R E P L I E S (Newest First) |
Chris D |
Posted - 12/13/2017 : 1:37:11 PM Hi,
It is not possible to export from Origin into such specific file formats. However, you can export as various types of ASCII files (.txt,.csv, etc) from the File menu.
Thanks, Chris Drozdowski Originlab Technical Support
|
sektusempra |
Posted - 12/13/2017 : 12:20:14 PM Hello! could you say how it is possible to convert from Origin 9.0 to JCAMP-DX format (.dx)?
Thank you in advance |
Markus |
Posted - 07/06/2001 : 04:39:15 AM Hi Craig,
I sent you an email with an example of imported jcamp and imported ascii (converted by another program). I will also check the script. Mike: there is lot of information on the website from International Union of Pure and Applied Chemistry/Working party on spectroscopic data standards: http://www.isas-dortmund.de/projects/jcamp/index.html with protocol description and good links links to other sites.
Markus |
Mike Buess |
Posted - 07/05/2001 : 2:36:22 PM Markus and Craig,
OPK files were introduced with Origin 6.1. That doesn't necessarily mean that they won't work in earlier versions, but I have never successfully opened one (jcamp.opk included) in Origin 6.0.
BTW, have you come across anything about the NMR version (JCAMP-DX)? I'd be interested in learning about the data encoding methods used there. It seems to be different than that used for Markus' sample data.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 07/05/2001 14:43:28 |
CStorey |
Posted - 07/05/2001 : 2:17:26 PM Hi Markus,
Glad it works. What sort of problems with the X-axis scaling? Maybe post some other test files and I can examine them more closely. I recently found some information on the standard format of Jcamp-dx files. I will look into this a bit and see if there are ways to improve things.
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring |
Markus |
Posted - 07/05/2001 : 11:28:55 AM Hi Craig,
now with the script it works,thank you. I think there are only some scaling problems left in the x-axis. Concerning opk: I have a version of origin that is registered, but I think the possibility to enter the registration ID is only given in 6.1. I think my ID is only to give access to restricted downloads on the originlab-add-on site.
Markus
|
CStorey |
Posted - 07/03/2001 : 1:25:09 PM Hi Markus,
I believe that the problem you are having with OPKs is related to registering Origin. In order for an OPK to install sucessfully you must have completed the registration process. PLease do so and try again.
Try Downloading the Jcamp.zip file again. I updated it to include an OGS file and template needed to import the data. Transfer the jcamp_import.OGS and the *.OTW file to the path "{Origin Path}\DP\Jcamp\" and then run the following section in the Script Window.
run.section(%YDPJcamp\jcamp_impot.OGS,JcampStart);
This should start the Jcamp import script for you. You can then associate it with a button or menu if you wish.
Let me know how this works.
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring
Edited by - CStorey on 07/03/2001 16:09:16 |
Markus |
Posted - 06/29/2001 : 05:17:01 AM Hi Craig, I'm using 6.0 Prof. SR4 on NT4.0 and it doesn't work. I also have access to 5.0, maybe it's worth to try 5.0. Markus |
CStorey |
Posted - 06/25/2001 : 12:45:21 PM Hi Markus.
I think the OPK method only began in version 6.0. I'm currently using v6.1 but I know it does work with 6.0 as well. If you are using version 5 then I will need to modify things. Let me know.
Craig
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring |
Markus |
Posted - 06/25/2001 : 06:41:34 AM Hi Craig,
thank you for the script but I did not succeed installing the opk-file. I tried it in both ways (drag-drop on desktop and drag-drop into toolbar) with different versions, 5.0, 6.0 (I don't have 6.1). As a cross check I tried also to use the html-genie opk-file (which is specified on your web-site for 6.1 and on the originlab site for 6.0 ) which also failed. Version-Problems?
Markus |
CStorey |
Posted - 06/21/2001 : 8:03:32 PM Makus,
Please download the following and test if it imports Jcamp files properly.
http://www.genevalake.ca/origin/jcamp.zip
To install: Unzip to any directory. Drag the "jcamp.OPK" file onto the Origin icon on your desktop or in a folder. (Alternately you can drag it onto the Origin toolbar with Origin running.)
It should install a toolbar with 2 buttons. The "J" will import jcamp data. The other will take you to my web page incase it needs updating.
Craig
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring |
CStorey |
Posted - 06/19/2001 : 1:34:14 PM Markus,
Are there always 7 data point per line? Let me know if this varies too and I will test a few things and get back to you early next week.
Craig
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring
Edited by - cstorey on 06/19/2001 14:01:45 |
Markus |
Posted - 06/19/2001 : 11:24:05 AM Hi Craig, thanks for fast reply. The imported file should end up in a worksheet with two columns, x- and y-data, some of the header information (like sampling procedure and origin) in the y-column-label. Here is the content of such a dx-file:
##TITLE=e-ci01 ##JCAMP-DX=4.24 ##DATA TYPE=INFRARED SPECTRUM ##DATE=28/8/2000 ##TIME=9:52:8 ##SAMPLING PROCEDURE=ageing sample ##ORIGIN=project name ##DATA PROCESSING=no operation ##XUNITS=MICROMETERS ##YUNITS=REFLECTANCE ##RESOLUTION=16 ##FIRSTX=1.4918246 ##LASTX=16.945969 ##DELTAX=0.014483734 ##MAXY=0.89168733 ##MINY=0.038281925 ##XFACTOR=1 ##YFACTOR=8.3044854e-010 ##NPOINTS=1068 ##FIRSTY=0.34009403 ##XYDATA=(X++(Y..Y)) 1.492+409530527+409882592+411177088+419227488+408007584+408268384+420292032 1.593+404822144+423849440+415421632+420510432+412327456+424664800+424351392 1.695+427034048+429514944+438867488+447145568+455788832+463856544+472889312 1.796+482952576+494720736+504298944+521643936+535030208+543494208+557436096 1.897+572120128+583941248+597599296+608136192+618389888+632922752+642146880 1.999+653230016+662309696+669147456+681970304+690162176+697381760+712646912 2.100+718160640+725526272+730122112+737006080+740808896+748646144+756483200
......
16.584+1053381760+1053954816+1054558720+1055196032+1055891968+1056642624 16.671+1057438784+1058271360+1059131584+1060010368+1060899136+1061789056 16.758+1062671744+1063538496+1064388096+1065288448+1066241408+1067225792 16.845+1068220480+1069204416+1070157120+1071057984+1071886912+1072623680 16.931+1073248512+1073741824 ##END=
The data in the file is as follows: 1.49182 0.340094 1.50631 0.340386 1.52079 0.341461 1.53528 0.348147 1.54976 0.338829 1.56424 0.339046 1.57873 0.349031 1.59321 0.336184 1.60769 0.351985 1.62218 0.344986 1.63666 0.349212 1.65115 0.342417 1.66563 0.352662 1.68011 0.352402 1.6946 0.35463 1.70908 0.35669 1.72356 0.364457 1.73805 0.371331 1.75253 0.378509 1.76702 0.385209 1.7815 0.39271 1.79598 0.401067 1.81047 0.41084 1.82495 0.418794 1.83943 0.433198 1.85392 0.444315 1.8684 0.451344 1.88289 0.462922 1.89737 0.475116 1.91185 0.484933 1.92634 0.496275 1.94082 0.505026 1.9553 0.513541 1.96979 0.52561 1.98427 0.53327 1.99876 0.542474 2.01324 0.550014 2.02772 0.555693 2.04221 0.566341 2.05669 0.573144 2.07117 0.57914 2.08566 0.591817 2.10014 0.596395
.....
16.5404 0.873526 16.5549 0.873913 16.5694 0.874331 16.5839 0.874779 16.5984 0.875255 16.6128 0.875757 16.6273 0.876286 16.6418 0.876864 16.6563 0.877487 16.6708 0.878148 16.6853 0.87884 16.6997 0.879554 16.7142 0.880284 16.7287 0.881022 16.7432 0.881761 16.7577 0.882494 16.7722 0.883214 16.7866 0.88392 16.8011 0.884667 16.8156 0.885459 16.8301 0.886276 16.8446 0.887102 16.8591 0.887919 16.8736 0.88871 16.888 0.889459 16.9025 0.890147 16.917 0.890759 16.9315 0.891278 16.946 0.891687
Edited by - Markus on 06/19/2001 11:35:18 |
CStorey |
Posted - 06/19/2001 : 10:23:17 AM What's the format of these files? It should be easy to write a script to import them given the file format and what you expect the worksheet to look like. Maybe post a file or just the first few lines and detail what the expected worksheet should look like.
Craig Storey Origin WebRing Member - http://nav.webring.yahoo.com/hub?ring=originwebring
Edited by - cstorey on 06/19/2001 10:24:27 |