You can start a data acquisition (DAQ) run in SpecLAB either by
First, you will be presented with a screen which asks for an experimental description (EXP) and your
name (MYNAME). Additionally, you can add a comment as a note. After clicking OK, a data acquisition
will start and some objects on the front screen are greyed-out.
Similarly, you can stop a DAQ run by
SpecLAB will generate a random spectrum every second on average during a DAQ run, as well as 3 parameters (a string, integer and floating point
number). All this data is stored in a TDMS data streaming file which is located in your default LabVIEW data directory - under Windows this
is normally C:\My Documents\LabVIEW Data. The actual file name is determined as follows:
MYNAME_DATE_EXP.tdms
Alongside with the binary TDMS data file, a TDMS_INDEX file is created with the same name, which describes, in XML, how the data in the TDMS file
is organised. Both files need to be retained in the same directory in order to open the TDMS data file successfully afterwards.
When you start another DAQ run and specify the same experimental description and name, SpecLAB will store the newly generated data in the same TDMS file, but as a new DAQ run. This is indicated by the automatic increment of the Run number, which is located on the top left hand corner. In case you specify another experimental description or name, SpecLAB will simply store the new DAQ run in a new file named accordingly.
After recording a DAQ run, there are several options to browse through the acquired data. The spectrum shown in the top graph is indexed by the Spectrum Number, which can be changed as follows:
The DAQ run which is displayed at any point in time is identified by the Run Number on the top left hand corner. By changing this number, you can load a new data set in memory, display and analyze it. You can change the Run Number by:
Please note that it is impossible to enter invalid Spectrum Numbers or Run Numbers. The minimal value is always 1, while the maximum number is determined by the DAQ run or DAQ file respectively.
Last but not least, it is also possible to change the DAQ file from which data is displayed. This can be done by:
Single spectra of a single DAQ run are displayed in the top graph of the Data tab. The bottom graph of the same tab represents the history of two spectral data points over the course of the currently displayed DAQ run, which are indicated by the yellow and red cursors on the top graph.
In the hardware subdirectory of the modules directory there is a LabVIEW detector.lvclass file which represents the LabVIEW Object Oriented Programming (LVOOP) class that controls the spectral detector. The following LabVIEW virtual instruments (VI’s) are implemented in SpecLAB to SIMULATE a detector:
Replace these functions with your own to record spectra with SpecLAB with your spectral instrument of choice.