LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.SPC file format from Galactic Industries (for spectroscopy files)

This is a quite useful piece of information and I have gone back and checked that this installer (NI USI 1.5.0) be included.  Thanks a lot for this.

 

Sincerely,

 

Don

0 Kudos
Message 31 of 34
(1,344 Views)

Great posts and all really helpful. 

 

I have 2 questions:

1) Does anyone have a way to read the rest of the information in the spc file?

- I opened it in a text editor and found it contains lots of information about the CCD settings and calibration used when capturing the spectrum.

2) Does anyone have any code to write an spc file?

- I would like the option to save my spectra to SPC file so that I can then open and analyse them in other software packages.

 

thanks

Stuart 

0 Kudos
Message 32 of 34
(1,231 Views)

Some additional information about what I am trying to read in.

The information below is at the end of the file and in text (not binary format)

I think it is the "Log Block" referred to in this pdf about SPC files http://www.adeptscience.co.uk/products/lab/grams32/instruments/gspc_udf.pdf

 

I've also attached a vi where I can read in this information as text, but I am unsure if this will cover all SPC files or just this example.

Does anyone have a better way? 

 

=== 

Grams_File_Name=c:\nasa\032008 data\000010 SN1.spc

SubFile_Number=1

HoloGRAMS_File_Name=c:\nasa\032008 data\000010 SN1.hol

Acquisition_Date_Time=3/20/2006 3:36:13 PM

Channel=1

Lambda=Low

Accuracy_Mode=High Speed

Dark_subtracted=Yes

Dark_File_Name=c:\nasa\032008 data\lastgood.drk

Auto_New_Dark_Curve=No

Background_subtracted=No

Background_File_Name=<None>

Intensity_Corrected=Yes

Intensity_Calibration_Available=Yes

Intensity_Correction_File=c:\hologram\calibration\Intensity\20060320aa.icl

Intensity_Correction_Threshold=1.00%

Intensity_Source_Correction=Yes

Intensity_Source_Correction_File=C:\HoloGRAM\Calibration\Intensity\HCA0154\03081

Comment=<None>

Cosmic_Ray_Filtering=No

Total_Cosmic_Count=0

Exposure_Length=500

Accumulations=10

Accumulation_Method=Summed

Calibration_File=c:\hologram\calibration\Wavelength\20060320ab.wcl

Comment=

Temperature_Status=At temperature

Temperature=-40.00

HoloGRAMS_File_Version=4.2

File_Type=Hol

Operator=unknown

WLInterval=0.04

CalInterval=0.30

FFTFillFactor=None

FFTApT=None

SamplingMethod=Cubic Spline

Has_MultiPlex_Laser=No

External_Trigger=No

Channel_1_Laser_Wavelength=784.6471

Channel_1_Default_Laser_Wavelength=784.6471

Channel_1_Laser_Tracking=False

Channel_1_Laser_Block_Active=No

Channel_1_Pixel_Fill_minimum=235

Channel_1_Pixel_Fill_maximum=1422

Channel_1_Binning_Start=4

Channel_1_Binning_End=16

Channel_1_NumPoints=6477

Channel_1_First=-30.600

Channel_1_last=1912.200 

=-==

 

thanks 

0 Kudos
Message 33 of 34
(1,217 Views)

You might want to consider contacting Galactic Industries and ask them.  I seem to remember that their files can have a variable format.

 

Don

0 Kudos
Message 34 of 34
(1,214 Views)