LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Processing .SPE files (from Princeton Instruments) with LabView

Hi,

 

has anybody here written a vi to import/read from SPE files with LabVIEW. This type of files is used for Princeton Instruments CCD cameras (e.g. PI MAX).

 

I am writing a LabVIEW program to perform dark current, flat field and other signal processing things.

At the moment I have to import the SPE files in Origin, save them as *.dat and feed them into LabVIEW. I am looking for an easier way to do it.

 

I am about to write it myself, but maybe somebody already did it? Is there an easier way around it?

 

Thanks in advance.

 

 

My LabVIEW Version: 8.2

0 Kudos
Message 1 of 33
(8,333 Views)

You could try reading from it as a binary file, I am not familiar with .SPE format, but depending how complex it is you should be able to extract what you need in this form and then convert the values to another data type. Otherwise, it will probably require converting to another format before using it in LabVIEW.

 

Anna K.

National Instruments
0 Kudos
Message 2 of 33
(8,304 Views)

If you are still working on this, here is the code I modified from another user to bring the files directly into a LabVIEW VI and save as a tab-delimited text file.

0 Kudos
Message 3 of 33
(8,031 Views)

Hello,I have downloaded your code.But my labview can't open these code.My version is lower than yours.Could you send me a lower version code.Thank you very much.This is my email (zls1110@tom.com).

0 Kudos
Message 4 of 33
(7,997 Views)

If there is an updated version may i have a copy as well? im tired of waiting for winview to convert to ascii!

syampols@gmail.com

0 Kudos
Message 5 of 33
(7,975 Views)

What version do you have?

0 Kudos
Message 6 of 33
(7,971 Views)

hello, my version is 8.6, which is lower than you too. Could you send me a lower version code please? My email is kworkhow@gmail.com. Besides,  I want to use Labview to completely control the Princeton Instruments CCD cameras, would you give me some advices or do you have the code?Thank you very much.

0 Kudos
Message 7 of 33
(7,840 Views)

Sent...check your email

0 Kudos
Message 8 of 33
(7,826 Views)

Received. Thanks a lot. And it works well. I am a beginner to learn the labview, so I want to ask whether the code is for single wavelength.

0 Kudos
Message 9 of 33
(7,820 Views)

I know nothing about activex (what it is, what it does, how it works, etc), unfortunately, and don't have time to learn much about it as I attempt to graduate, as much as I wish that I could use it to control my camera during experiments.  Can somebody whip up a vi from this that allows me to input the name of an already extant .spe file that I have previously generated with winspec and get out the spectrum stored in that file in the form of an array, ideally containing both the wavelength and the intensity values?  I would be most grateful.  Mwl. Jona

0 Kudos
Message 10 of 33
(7,744 Views)