09-05-2008 10:11 AM
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
01-13-2010 04:10 AM
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
01-13-2010 01:54 PM
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
01-13-2010 02:06 PM
You might want to consider contacting Galactic Industries and ask them. I seem to remember that their files can have a variable format.
Don