VN0001 - Customizing Quick Reports

Technical Notes

Author Philip Van Baren & Matt Millard

Abstract

Download PDF

The standard Quick Report function can be modified to meet test profile needs and helps to increase test report efficiency.

PROBLEM

A customer called us with a cry for help: “I am running the following classical shock test: 3+ and 3‐ pulses in the three orthogonal axes on 20 test samples. I need to generate a report for my customer with the run name highlighted, the accelerometer location for each of the 21 channels, the test schedule details, and the accelerometer calibration details. One graph must display all the channels. Then, I need a report for each channel with the same test details.

Currently, I am creating one graph at a time. I edit the graph annotation to show the channel description, then use the standard Quick Report and select Active Graph, Test Schedule, and Accelerometer Details. I have to edit the .rtf document to remove the channels I don’t need and manually highlight the run name at the top. This process is going to take me days! How can I make it easier/faster?”

SOLUTION

In the Quick Report feature, any information that the user selects or adds is retained with the associated test profile. Using this feature, the customer can easily develop a custom Quick Report form to address the problem at hand.

To access the Quick Report feature, select the Report button in the main toolbar. Quick report button in VibrationVIEW

Step 1

In your local drive, navigate to C:\VibrationVIEW\Templates\Shock\QuickReports. If you are creating a report for another test mode, select the appropriate folder. Locate the files QuickReport.htm and QuickReport.rtf. The .htm file is the form and the .rtf file is the associated report.

Quick Reports folder in local disk

Step 2

Right-click on the .htm file and select Open with > Notepad to edit the current .htm file.

Step 3

Select File > Save As and name the file the same as your test profile. This will force the Quick Report feature to use your customer form.

Step 4

Edit the .htm file (example below). Be sure to change the name of the .rtf Quick Report template file you want to use (located at the bottom of the .htm file). Example: < input type=”hidden” name=”TEMPLATE” value=”QuickReports\RMTS_ShockReport.rtf”>.
QuickReport.htm screenshot

Step 5

Save the changes to the new custom .htm file.

Step 6

Under C:\VibrationVIEW\Templates\Shock\QuickReports double-click the file QuickReport.rtf.

Step 7

Select File > Save As and name the file the same as the .htm file in Step 4. Be sure to save this file as a .rtf file.

Step 8

Edit the report template. For more information on the PARAM and FORM field information, visit the VibrationVIEW Help Index and select Reports and Forms. Be sure to use the same naming scheme as your .htm file in order to recall the data into your report template (example below).RMTS_ShockReport.rtf file screenshot with [PARAM:RunName] highlighted

Step 9

Save the new .rtf file with the changes.

Step 10

Close the .rtf and .htm files.

Testing The Solution

The new Quick Report form and report are ready to be used.

Step 1

Open a data file for the new Quick Report form and report.

Step 2

Select Report and fill out your new form. Select the OK button at the bottom when you are finished.
VibrationVIEW Quick Report screenshot

Step 3

A report should automatically appear with your new report template that incorporates the information you filled out in the form.
Report template in Microsoft Word

How Can We Help You?

Contact Us