02-10-2015 12:35 PM
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 :
02-11-2015 07:15 AM - edited 02-11-2015 07:17 AM
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).