Have data in Simcenter Testlab (formerly called LMS Test.Lab) that you want to export to Excel? Have data in Excel that you want to import to Simcenter Testlab? Luckily, it’s easy!
Here are three methods: 1. Display Export to Excel 2. Import Data into Testlab 3. Data Block Editor 4. Simcenter Testlab Neo Excel Export
1. Display Export to Excel
To export data to Excel, right click on a curve, select “Copy Values” and then select “All”.
Figure 1: Copy the values directly from the plot.
Open Excel and paste the data. The first few dozen rows that are pasted contain header information: details like timestamps, weighting, and datatype etc. This is to preserve information about the data even if it is moved into Excel.
Figure 2: Paste the data into Excel.
Below the header is the numerical data.
Figure 3: In the Excel sheet, below the header information, is the numerical data.
It is also possible to copy multiple curves from a display. Select multiple curves, right click, “Copy Values”, and select “All”.
Figure 4: Copy multiple curves from a display.
To copy just a subset of the data instead of the entire curve, zoom in on a narrower frequency range, right click, “Copy Values”, and select “Between X Limits”.
Figure 5: Copy range of values instead of the whole curve.
You can also copy legend data that is calculated from a double X cursor.
Figure 6: Copy values from a cursor legend.
Save the Excel file. It is possible to browse to the data in the Excel file from Simcenter Testlab as described in the next section.
2. Import Data to Simcenter Testlab
Browse to the data in the navigator tree on the left side of the Navigator workbook. Select the Excel file saved in the previous section and the data block should populate in the middle pane. Drag the data block to the display to plot it (Figure 7).
Figure 7: Browse to the Excel file (and sheet) to view in Simcenter Testlab.
It is important that the Excel data you are importing has a header. The header has critical information about amplitude format, weighting, and more. Without the proper header information, the Excel data will not import into Testlab.
The export covered in the first section of the article makes a header. By exporting a similar block of data to what will be imported, it ensures the header is good. The numerical values in the file can then be edited while keeping the Excel header information the same.
NOTE: Simcenter Testlab Version 18 and higher has Excel Data driver functionality integrated into the software by default. Previous versions require turning on the "Excel Data Driver" in the "Add-in" list of Simcenter Testlab.
An alternative is to use the Data Block Editor as described in the next section.
3. Data Block Editor
The data block editor is another add-in (Tools -> Add-ins from main Testlab menu) that is included in the Desktop: no additional tokens are necessary.
Figure 8: Tools -> Add-ins -> Data Block Editor.
Go to the Data Block Editor workbook (Figure 9). Here, the user can set the appropriate information necessary when importing to Testlab from Excel.
Figure 9: Data Block Editor Workbook.
In the Data Block Editor, it is possible to set the function type, format, amplitude scaling, x-axis increment information, Point ID, point direction, y axis unit, and weighting. This is done in the upper left of the menu.
After setting these parameters the user can simply paste their data into the table on the right side of the screen and the picture filling the bottom half of the screen will populate with data.
To save this to your project, select “Add to Workspace” and then “Save workspace in active project” (both buttons on the right side of workbook).
Select the folder in which to save the data (or create a new folder) and select “OK” (Figure 10).
Figure 10: Saving the imported data to the project.
The data will be saved into the project in the specified folder as shown in Figure 11.
Figure 11: The data was saved into the project and can be plotted / processed as necessary.
The Data Block Editor can only be used to import one block of data at a time.