01-30-2014 12:02 AM
Hi,
I need to create a library of multiple spectra together and perform spectral analysis and processing in a loop. What can be an efficient way in which the library can be generated. The spectra are available in text fromat initially with 2 columns of Wavenumbers and Counts. There needs to be a provision for adding and removing any spectra if required.
Is Database connectivity only the possible solution or I can implement something easier than that..?
Thanks in advance...!
01-30-2014 02:37 AM
Hi 555,
when the data is available in "text file" you can use the ReadSpreadsheetFile function to load them.
Depending on your requirements you don't need to use a database, it might be sufficient to put all those spectra files in one folder and scan that folder at program start…
01-30-2014 06:10 AM
Hi GerdW,
What do you exactly mean by 'Scanning' the folder at the start..? Will that save all the spectra in LabVIEW's memmory..?
Can you please attach an example .vi which can scan a folder containing multiple (2) text files...?
Thanks a lot..!
01-30-2014 08:40 AM
01-31-2014 02:04 PM
Thanks a lot, that worked fine for me...!