Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

DIAdem Report Express VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Report Generation VIs

Requires: Base Development System (Windows)

Creates reports from LabVIEW data using DIAdem.

You can export the reports as HTML or PDF files, print the reports, and display the reports in DIAdem.

Note  You must have DIAdem 9.1 Service Pack 2 or later installed to use the DIAdem Report Express VI. Visit ni.com to download an evaluation version of DIAdem or purchase DIAdem.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
Select LayoutContains the following options:
  • Built-in layout template—Specifies the DIAdem report layout template to use. You can select templates with two or three graphs per page, with or without graph legends.
  • Custom layout—Specifies a custom report layout template to use. Click the Browse button to navigate to and select a template file. You can select a DIAdem report layout template and click the Edit layout button to customize the template.
  • Edit layout—Opens the report layout template specified in Custom layout in DIAdem so you can edit the template. After you edit the template and save changes, minimize the DIAdem window to return to LabVIEW. You cannot close DIAdem after editing the template.
Configure ReportAssigns the data to text and graphs in the report. Double-click a row to edit the data associated with the text and graphs. When you click a row, a blue frame highlights the associated data in the Preview graphs.
TargetContains the following options:
  • Output to file or device—Place a checkmark in the checkbox if you want to print the report, create a file from the report, or copy the report to the clipboard. You can select one of the following output options:
    • Printer—Sends the report to the default printer.
    • PDF File—Creates a PDF file from the report. Click the Browse button to navigate to and select the location of the file. You do not need Adobe Reader software to create a PDF file with this option.
    • Clipboard—Copies the report to the clipboard.
    • HTML File—Creates an HTML file from the report. Click the Browse button to navigate to and select the location of the file.
  • View report immediately—Place a checkmark in the checkbox if you want the default application for the option you select in Output to file or device to open and display the report when the VI runs. If you select Printer or Clipboard in Output to file or device, DIAdem opens to display the report when the VI runs. If you select PDF File or HTML File, the application associated with the file type, such as Adobe Reader or a Web browser, opens to display the report file.
PreviewDisplays graphs of the data using the settings you configure in the dialog box. Contains the following option:
  • Disable preview—Place a checkmark in the checkbox to disable the preview data graphs, which update whenever you change a setting in the dialog box. Disabling the preview can save time spent in waiting for updates of the graph.

Block Diagram Inputs

ParameterDescription
Report layout fileSpecifies a custom layout report template to use for the report. The input overrides the path you specify in Custom layout in the Configure DIAdem Report dialog box.
Output fileSpecifies the path and filename of an HTML or PDF file of the report. This input overrides the path you specify in Output to file or device in the Configure DIAdem Report dialog box.
Signals nSpecifies an XY graph object, which corresponds to the objects in the Configure report table in the Configure DIAdem Report dialog box.
error inDescribes error conditions that occur before this node runs.
Execution controlSpecifies areas of functionality in the VI that you want to disable.
  • Delete DIAdem contents—Specifies whether DIAdem deletes the contents of the report. The default is TRUE, which deletes the report.
  • Create new report page—Specifies whether DIAdem creates a new page in the report. The default is TRUE, which creates a new page.
  • Output report—Specifies whether DIAdem outputs a report. The default is TRUE. DIAdem uses the Output to file or device settings in the Configure DIAdem Report dialog box to determine the type of output.
  • View report—Specifies whether DIAdem opens the application associated with the output selected in Output to file or device in the Configure DIAdem Report dialog box. The default is TRUE, which opens the application.
  • Close DIAdem—Specifies whether DIAdem closes when the VI runs. The default is TRUE, which closes DIAdem.
Text valuesSets text and path values in the report. The array includes the names and values for the layout template you select.

Block Diagram Outputs

ParameterDescription
error outContains error information. This output provides standard error out functionality.

DIAdem Report Details

This Express VI connects to DIAdem via ActiveX. You can select from the following two ways of using DIAdem via ActiveX:

  • Instancing=0—If DIAdem is already running, LabVIEW uses the running DIAdem instance on your machine. Unsaved data and reports from the running DIAdem instance might be lost without warning.
  • Instancing=1—LabVIEW starts a new instance of DIAdem regardless of whether DIAdem is already running. If you are running several DIAdem Express VIs in parallel, there might be several instances of DIAdem running concurrently, which can slow execution time.

Instancing is a Windows registry key that you can change while DIAdem is not running. It must be changed in the following two registry keys:

  • HKEY_CLASSES_ROOT\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\StartParameter\Instancing
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\StartParameter

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit