Extracting data from a spectrometer to Excel

Click For Summary

Discussion Overview

The discussion revolves around the challenges of extracting data from a spectrometer using Ocean View software, specifically focusing on the .ocv file format and its compatibility with Excel. Participants explore the differences in data extraction when using different light sources and the implications of file formats.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant reports difficulty converting .ocv files to Excel when using a laser beam with gelatine sheets, while successfully converting data with yellow light and a different solution.
  • Another participant suggests that .ocv may be a proprietary format and that successful import into Excel requires ASCII data, such as .csv.
  • A participant notes that the software only offers the .ocv format for export, questioning the consistency of the software's functionality across different light sources.
  • One participant mentions the possibility that the file may be compressed, indicated by a "PK" header, and suggests using compression software to open it.
  • Another participant agrees with the observation about the compressed file header and references the history of zip files.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the reasons for the differing outcomes when using different light sources. There is no consensus on the best approach to resolve the issue, and multiple hypotheses are presented.

Contextual Notes

Participants note limitations in the software's export options and the potential for file compression, but do not resolve these issues. The discussion remains focused on the challenges faced without definitive solutions.

Hayool
Messages
14
Reaction score
0
Good morning,

I used the Laser beam with HR4000 spectrometer with Ocean View software when saving the files it is saved by (.ocv) format. when trying to extract information to excel I get some unreadable data like (bkg thin sheet gel.png) attached. I used the same instrument and software with the yellow light but used solution of the mix not gelatine sheets, and i was able to convert it using excel but with the laser and gelatine sheet this is what I got I could not convert it.
This is the link i used to convert the data

Please help.
Thanks
 

Attachments

  • bkg thin sheet gel.png
    bkg thin sheet gel.png
    60.4 KB · Views: 676
Technology news on Phys.org
Just a guess, but .ocv sounds like "Ocean View," so it might be a proprietary file format from the company. To import into Excel, it has to be ASCII data, like the .csv (Comma Separated Values) mentioned in the link.
 
  • Like
Likes   Reactions: FactChecker
DrClaude said:
Just a guess, but .ocv sounds like "Ocean View," so it might be a proprietary file format from the company. To import into Excel, it has to be ASCII data, like the .csv (Comma Separated Values) mentioned in the link.
Hi Drclaude.
When I used the yellow light I was able to convert it to from .ocv format to excel from this link
https://www.chem.utoronto.ca/coursenotes/CHM317/pdfs/Import Spectrum to Excel.pdf
but when I used the laser beam I got this
213053-66087f6d9d1c248bf3b4f8d358006f23.png

So, I am confused why I was able to have the data when I used the yellow light but could not when using the laser beam
 

Attachments

  • 213053-66087f6d9d1c248bf3b4f8d358006f23.png
    213053-66087f6d9d1c248bf3b4f8d358006f23.png
    1.5 KB · Views: 1,270
You have to make sure that you are choosing the right file type when exporting from the spectroscopy software.
 
  • Like
Likes   Reactions: berkeman
DrClaude said:
You have to make sure that you are choosing the right file type when exporting from the spectroscopy software.
In the spectroscopy software I only have one option of(.ocv) format nothing else.
 
Last edited:
Hayool said:
In the spectroscopy software I only have one option of(.ocv) format nothing else.
If it worked for one it should work for the other - it's the same software, right? OceanView? On page 44 of the manual it has a picture of the dialog box, with "ascii" selected...
 
The PK at the beginning strongly suggests it is a compressed file. Have you tried opening it with a compression software?

BoB
 
  • Like
Likes   Reactions: harborsparrow, Nik_2213, FactChecker and 1 other person
rbelli1 said:
The PK at the beginning strongly suggests it is a compressed file. Have you tried opening it with a compression software?

BoB
Good catch! (I can't even read the screenshot!) That's the header for zip files; the initials of the inventor.
https://en.wikipedia.org/wiki/Zip_(file_format)#History
 
  • Like
Likes   Reactions: harborsparrow, rbelli1 and FactChecker

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K