LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving and Reading Spectrometer data

Hi there,

 

I'm using Labview 2012 and a USB2000+ Spectrometer (from Ocean Optics). At the present time I am able to comunicate LabView with the Spectrometer, configure it and even display the reading in a XY graph.But I also need to save the acquired data so I can open it again later in a XY graph, but I'm failing at this.

What is the best way to save/read this kind of data? (a 2 Dimensional array, I believe).

I tried using Write to Spreadsheet File and it even saves a file, but I cannot open it afterwards. 

I will attach my program here so you can understand better what I tried to do.

 

Thanks in advance,

Liepo

 

PS: maybe to open the program you will need some VI's that are here :

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7833BD4A31DA1274E04400144FB7D2...

 

 

0 Kudos
Message 1 of 2
(2,978 Views)

You are correct, you have a 2D array.  

 

You should look at the Finite Measurement template that ships with LV 2012 (when LabVIEW first opens, you select the "Create Project" button on the left hand side to bring up the templates).

 

Once you create the project from the template, you will want to edit the Load Data, Save Data and Acquire states.  You will also need to edit the Data.ctl (to add your 2D array instead of the waveform currently used).

 

 

 

Kenny

0 Kudos
Message 2 of 2
(2,941 Views)