What is a .dx file? JCAMP-DX or Agilent OpenLab, and how to tell
The extension .dx is used for two unrelated things. Spectrometers write JCAMP-DX spectra (IR, Raman, UV-Vis, NMR, mass spectra) with it, and Agilent's OpenLab CDS 2 uses it for each HPLC or GC injection. Both open in Nagura Lab, and you do not have to know which one you have.
The two kinds of .dx file
| JCAMP-DX | Agilent OpenLab CDS 2 | |
|---|---|---|
| What it holds | One or more spectra, as text | One chromatography injection: signals, manifest, run details |
| Comes from | Spectroscopy software: IR, Raman, UV-Vis, NMR, mass spectrometry | OpenLab CDS 2, from an HPLC or GC run |
| Inside | Plain text: header lines such as ##TITLE=, then a data table | A zip archive (it begins with the letters PK) |
| Other extensions | .jdx, .jcm | None; always .dx |
| Guide | Open a JCAMP-DX file | Open an OpenLab .dx file |
How to tell which one you have
- Where did it come from? From a spectrometer or its software: JCAMP-DX. From an Agilent chromatography run in OpenLab CDS 2: OpenLab.
- Open a copy in a text editor such as Notepad. Readable lines starting with
##mean JCAMP-DX. A wall of unreadable characters that starts withPKmeans a zip archive, so OpenLab. - Or just drop it into Nagura Lab. It recognizes the file by its contents, not its extension, so a JCAMP-DX file and an OpenLab file both open without you choosing anything.
Open it in your browser
- Open Nagura Lab and drop the
.dxfile on the page, or use Open data and pick Files. - A spectrum is plotted on the axis it was recorded on. A chromatography injection shows its signals, such as the DAD channels, named from the file's manifest.
- Download CSV gives the plotted data in columns, Download PNG gives the figure.
The file is decoded on your computer and never uploaded. If a .dx file is neither of the two, Nagura Lab says it cannot read it, and you can report it from the page.
More detail
- How to open a JCAMP-DX file: what the header and the compressed data table look like, and what is supported (multi-page NTUPLES files are not yet).
- How to open an OpenLab CDS 2 .dx file without OpenLab and how to export OpenLab data to CSV.